File: test.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 (69 lines) | stat: -rw-r--r-- 3,276 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Cockpit playground</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link href="test.css" type="text/css" rel="stylesheet" />
    <script src="../base1/cockpit.js"></script>
    <script src="test.js"></script>
</head>
<body class="pf-v6-m-tabular-nums" hidden="true">
    <div class="pf-v6-c-page">
        <main class="pf-v6-c-page__main" tabindex="-1">
            <section id="internal" class="pf-v6-c-page__main-section pf-m-light">
                <img src="hammer.gif" id="hammer" width="100" />
                <div id="nav"></div>
                <button class="pf-v6-c-button pf-m-secondary" id="go-down">Go down</button>
                <br/>
                <br/>
                <div class="cockpit-internal-reauthorize">
                    <button class="pf-v6-c-button pf-m-secondary">Privileged Action</button>
                    <span></span>
                </div>
                <div class="super-channel">
                    <button class="pf-v6-c-button pf-m-secondary">Superuser</button>
                    <span></span>
                </div>
                <div class="lock-channel">
                    <button class="pf-v6-c-button pf-m-secondary">Lock /tmp/playground-test-lock</button>
                    <span></span>
                </div>
                <button class="pf-v6-c-button pf-m-secondary" id="modify-file">Increment /tmp/counter atomically</button>
                <div id="file-content"></div>
                <div id="file-error"></div>
                <br/>
                <div>
                  <button class="pf-v6-c-button pf-m-secondary" id="load-file">Load /tmp/counter</button>
                  <button class="pf-v6-c-button pf-m-secondary" id="save-file">Overwrite /tmp/counter</button>
                  <button class="pf-v6-c-button pf-m-secondary" id="delete-file">Delete /tmp/counter</button>
                </div>
                <textarea id="edit-file"></textarea>
                <br/>
                Visibility: <label id="hidden"></label>
                <div class="user-channel">
			<p>cockpit.user() information</p>
			<div id="user-info" />
                </div>
                <br/>
                <div id="fsreplace1-div">
                    <h2>fsreplace1 test</h2>
                    <p>new filename</p>
                    <input id="fsreplace1-filename" />
                    <p>text content</p>
                    <input id="fsreplace1-content" />
                    <input id="fsreplace1-use-tag" type="checkbox" />
		    <label for="fsreplace1-use-tag">Use existing tag</label>
                    <p>user/group</p>
                    <input id="fsreplace1-user" placeholder="For example, admin" />
                    <input id="fsreplace1-group" placeholder="For example, admin" />
                    <p>file mode</p>
                    <input id="fsreplace1-mode" type='number' placeholder="For example, 644" />
                    <button id="fsreplace1-create" class="pf-v6-c-button pf-m-secondary">Create file</button>
                    <div id="fsreplace1-error"></div>
                </div>
            </section>
        </main>
    </div>
</body>
</html>