File: react-patterns.html

package info (click to toggle)
cockpit 239-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 67,268 kB
  • sloc: javascript: 245,474; ansic: 72,273; python: 23,634; xml: 6,155; sh: 2,919; makefile: 923; sed: 5
file content (39 lines) | stat: -rw-r--r-- 1,405 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Cockpit React Patterns Usage</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="react-patterns.css" type="text/css" rel="stylesheet">
    <script src="../base1/cockpit.js"></script>
    <script src="react-patterns.js"></script>
</head>

<body class="pf-m-redhat-font">
    <div class="pf-c-page">
        <main class="pf-c-page__main" tabindex="-1">
            <section class="pf-c-page__main-section pf-m-light">
                <h3>Select file</h3>
                <div id="demo-file-ac"></div>
            </section>

            <section class="pf-c-page__main-section pf-m-light">
                <h3>Dialogs</h3>
                <button id="demo-show-dialog" class="pf-c-button pf-m-secondary">Show Dialog</button>
                <button id="demo-show-error-dialog" class="pf-c-button pf-m-secondary">Show Error-Dialog</button>
                <div id="demo-dialog-result"></div>
            </section>

            <section class="pf-c-page__main-section pf-m-light">
                <h3>OnOff Switch</h3>
                <div id="demo-onoff"></div>
            </section>

            <section class="pf-c-page__main-section pf-m-light">
                <h3>Cards</h3>
                <div id="demo-cards"></div>
            </section>
        </main>
    </div>
</body>
</html>