File: test.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 (48 lines) | stat: -rw-r--r-- 2,125 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
40
41
42
43
44
45
46
47
48
<!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-m-redhat-font" hidden>
    <div class="pf-c-page">
        <main class="pf-c-page__main" tabindex="-1">
            <section id="internal" class="pf-c-page__main-section pf-m-light">
                <img src="hammer.gif" id="hammer">
                <div id="nav"></div>
                <button class="pf-c-button pf-m-secondary" id="go-down">Go down</button>
                <br/>
                <br/>
                <div class="cockpit-internal-reauthorize">
                    <button class="pf-c-button pf-m-secondary">Privileged Action</button>
                    <span></span>
                </div>
                <div class="super-channel">
                    <button class="pf-c-button pf-m-secondary">Superuser</button>
                    <span></span>
                </div>
                <div class="lock-channel">
                    <button class="pf-c-button pf-m-secondary">Lock /tmp/playground-test-lock</button>
                    <span></span>
                </div>
                <button class="pf-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-c-button pf-m-secondary" id="load-file">Load /tmp/counter</button>
                  <button class="pf-c-button pf-m-secondary" id="save-file">Overwrite /tmp/counter</button>
                  <button class="pf-c-button pf-m-secondary" id="delete-file">Delete /tmp/counter</button>
                </div>
                <textarea id="edit-file"></textarea>
                <br/>
                Visibility: <label id="hidden"></label>
            </section>
        </main>
    </div>
</body>
</html>