File: react-patterns.html

package info (click to toggle)
cockpit 355-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 311,568 kB
  • sloc: javascript: 774,787; python: 40,655; ansic: 35,157; cpp: 11,141; sh: 3,512; makefile: 580; xml: 261
file content (50 lines) | stat: -rw-r--r-- 1,854 bytes parent folder | download | duplicates (8)
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
40
41
42
43
44
45
46
47
48
49
50
<!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-v6-m-tabular-nums">
    <div class="pf-v6-c-page">
        <main class="pf-v6-c-page__main" tabindex="-1">
            <section class="pf-v6-c-page__main-section pf-m-light">
                <h3>Select file</h3>
                <div id="demo-file-ac"></div>
                <div id="demo-file-ac-preselected"></div>
            </section>

            <section class="pf-v6-c-page__main-section pf-m-light">
                <h3>Typeahead</h3>
                <div id="demo-typeahead"></div>
            </section>

            <section class="pf-v6-c-page__main-section pf-m-light">
                <h3>Multi Typeahead</h3>
                <div id="demo-multi-typeahead"></div>
            </section>

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

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

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