Skip to content

Commit 5f4b907

Browse files
committed
playground: Port to PF6
Restrict the hammer.gif size, as otherwise it would take the entire screen width.
1 parent e16b743 commit 5f4b907

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

pkg/playground/test.html

+13-13
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,34 @@
99
<script src="test.js"></script>
1010
</head>
1111
<body class="pf-v6-m-tabular-nums" hidden="true">
12-
<div class="pf-v5-c-page">
13-
<main class="pf-v5-c-page__main" tabindex="-1">
14-
<section id="internal" class="pf-v5-c-page__main-section pf-m-light">
15-
<img src="hammer.gif" id="hammer" />
12+
<div class="pf-v6-c-page">
13+
<main class="pf-v6-c-page__main" tabindex="-1">
14+
<section id="internal" class="pf-v6-c-page__main-section pf-m-light">
15+
<img src="hammer.gif" id="hammer" width="100" />
1616
<div id="nav"></div>
17-
<button class="pf-v5-c-button pf-m-secondary" id="go-down">Go down</button>
17+
<button class="pf-v6-c-button pf-m-secondary" id="go-down">Go down</button>
1818
<br/>
1919
<br/>
2020
<div class="cockpit-internal-reauthorize">
21-
<button class="pf-v5-c-button pf-m-secondary">Privileged Action</button>
21+
<button class="pf-v6-c-button pf-m-secondary">Privileged Action</button>
2222
<span></span>
2323
</div>
2424
<div class="super-channel">
25-
<button class="pf-v5-c-button pf-m-secondary">Superuser</button>
25+
<button class="pf-v6-c-button pf-m-secondary">Superuser</button>
2626
<span></span>
2727
</div>
2828
<div class="lock-channel">
29-
<button class="pf-v5-c-button pf-m-secondary">Lock /tmp/playground-test-lock</button>
29+
<button class="pf-v6-c-button pf-m-secondary">Lock /tmp/playground-test-lock</button>
3030
<span></span>
3131
</div>
32-
<button class="pf-v5-c-button pf-m-secondary" id="modify-file">Increment /tmp/counter atomically</button>
32+
<button class="pf-v6-c-button pf-m-secondary" id="modify-file">Increment /tmp/counter atomically</button>
3333
<div id="file-content"></div>
3434
<div id="file-error"></div>
3535
<br/>
3636
<div>
37-
<button class="pf-v5-c-button pf-m-secondary" id="load-file">Load /tmp/counter</button>
38-
<button class="pf-v5-c-button pf-m-secondary" id="save-file">Overwrite /tmp/counter</button>
39-
<button class="pf-v5-c-button pf-m-secondary" id="delete-file">Delete /tmp/counter</button>
37+
<button class="pf-v6-c-button pf-m-secondary" id="load-file">Load /tmp/counter</button>
38+
<button class="pf-v6-c-button pf-m-secondary" id="save-file">Overwrite /tmp/counter</button>
39+
<button class="pf-v6-c-button pf-m-secondary" id="delete-file">Delete /tmp/counter</button>
4040
</div>
4141
<textarea id="edit-file"></textarea>
4242
<br/>
@@ -54,7 +54,7 @@ <h2>fsreplace1 test</h2>
5454
<input id="fsreplace1-content" />
5555
<input id="fsreplace1-use-tag" type="checkbox" />
5656
<label for="fsreplace1-use-tag">Use existing tag</label>
57-
<button id="fsreplace1-create" class="pf-v5-c-button pf-m-secondary">Create file</button>
57+
<button id="fsreplace1-create" class="pf-v6-c-button pf-m-secondary">Create file</button>
5858
<div id="fsreplace1-error"></div>
5959
</div>
6060
</section>

0 commit comments

Comments
 (0)