Skip to content

Commit 9d2e132

Browse files
committed
test: Hack login page class names to PF6
This doesn't put things into PF6 style but just makes everything match until we do
1 parent 6d3fef1 commit 9d2e132

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

pkg/static/login.html

+17-17
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,30 @@
1414
</head>
1515

1616
<body class="login-pf">
17-
<div id="banner" class="pf-v5-c-alert pf-m-info pf-m-inline dialog-error" aria-label="inline info alert" hidden="true">
18-
<div class="pf-v5-c-alert__icon">
17+
<div id="banner" class="pf-v6-c-alert pf-m-info pf-m-inline dialog-error" aria-label="inline info alert" hidden="true">
18+
<div class="pf-v6-c-alert__icon">
1919
<svg fill="currentColor" viewBox="0 0 448 512" aria-hidden="true">
2020
<path d="M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z" />
2121
</svg>
2222
</div>
23-
<span id="banner-message" class="pf-v5-c-alert__description"></span>
23+
<span id="banner-message" class="pf-v6-c-alert__description"></span>
2424
</div>
2525

2626
<span id="badge"></span>
2727

2828
<div class="container" id="main">
2929
<h1 id="brand" class="hide-before"></h1>
3030

31-
<div id="error-group" class="pf-v5-c-alert pf-m-danger pf-m-inline dialog-error noscript" aria-label="inline danger alert">
32-
<div class="pf-v5-c-alert__icon">
31+
<div id="error-group" class="pf-v6-c-alert pf-m-danger pf-m-inline dialog-error noscript" aria-label="inline danger alert">
32+
<div class="pf-v6-c-alert__icon">
3333
<svg fill="currentColor" viewBox="0 0 512 512" aria-hidden="true">
3434
<path d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h28.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z" />
3535
</svg>
3636
</div>
37-
<p class="pf-v5-c-alert__title">
38-
<span id="login-error-title" class="pf-v5-screen-reader"></span>
37+
<p class="pf-v6-c-alert__title">
38+
<span id="login-error-title" class="pf-v6-screen-reader"></span>
3939
</p>
40-
<div class="pf-v5-c-alert__description">
40+
<div class="pf-v6-c-alert__description">
4141
<p id="login-error-message">
4242
<span class="noscript" translate="yes">Please enable JavaScript to use the Web Console.</span>
4343
</p>
@@ -63,7 +63,7 @@ <h3 translate="yes">Or use a bundled browser</h3>
6363
</div>
6464
</div>
6565
<details id="login-override">
66-
<summary class="pf-v5-c-expandable-section">
66+
<summary class="pf-v6-c-expandable-section">
6767
<svg height="16" width="16" viewBox="0 0 16 16" id="option-caret" class="caret caret-right" aria-hidden="true">
6868
<polygon fill="#ffffff" points="4,0 4,14 12,7"></polygon>
6969
</svg>
@@ -73,23 +73,23 @@ <h3 translate="yes">Or use a bundled browser</h3>
7373
</details>
7474
</div>
7575

76-
<div id="info-group" class="pf-v5-c-alert pf-m-info pf-m-inline dialog-error" aria-label="inline info alert" hidden="true">
76+
<div id="info-group" class="pf-v6-c-alert pf-m-info pf-m-inline dialog-error" aria-label="inline info alert" hidden="true">
7777
<svg fill="currentColor" viewBox="0 0 512 512" aria-hidden="true">
7878
<path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z" />
7979
</svg>
80-
<h2 id="login-info-message" class="pf-v5-c-alert__title"></h2>
80+
<h2 id="login-info-message" class="pf-v6-c-alert__title"></h2>
8181
</div>
8282

8383
<div id="login" class="login-area" hidden="true">
8484
<form onsubmit="return false">
8585

8686
<div id="hostkey-group" class="form-group" hidden="true">
8787
<h1 id="hostkey-title"></h1>
88-
<div id="hostkey-warning-group" class="pf-v5-c-alert pf-m-warning pf-m-inline dialog-error" aria-label="inline warning alert" hidden="true">
89-
<div class="pf-v5-c-alert__icon">
88+
<div id="hostkey-warning-group" class="pf-v6-c-alert pf-m-warning pf-m-inline dialog-error" aria-label="inline warning alert" hidden="true">
89+
<div class="pf-v6-c-alert__icon">
9090
<svg fill="currentColor" viewBox="0 0 576 512" aria-hidden="true"><path d="M569.52 440.01c18.46 32-4.71 71.99-41.58 71.99H48.05c-36.93 0-60-40.05-41.57-71.99L246.42 24c18.47-32.01 64.72-31.96 83.16 0L569.52 440zM288 354a46 46 0 100 92 46 46 0 000-92zm-43.67-165.35l7.41 136A12 12 0 00263.74 336h48.54a12 12 0 0011.98-11.35l7.42-136A12 12 0 00319.7 176h-63.38a12 12 0 00-11.98 12.65z"/></svg>
9191
</div>
92-
<span translate="yes" class="pf-v5-c-alert__description">Changed keys are often the result of an operating system reinstallation. However, an unexpected change may indicate a third-party attempt to intercept your connection.</span>
92+
<span translate="yes" class="pf-v6-c-alert__description">Changed keys are often the result of an operating system reinstallation. However, an unexpected change may indicate a third-party attempt to intercept your connection.</span>
9393
</div>
9494
<p id="hostkey-message-1"></p>
9595
<p translate="yes">To ensure that your connection is not intercepted by a malicious third-party, please verify the host key fingerprint:</p>
@@ -110,7 +110,7 @@ <h1 id="hostkey-title"></h1>
110110
<label for="login-password-input" class="control-label" translate="yes">Password</label>
111111
<div class="password-with-toggle">
112112
<input type="password" class="form-control" id="login-password-input" autocomplete="current-password" />
113-
<button type="button" id="login-password-toggle" class="pf-v5-c-button pf-m-control login-password-toggle" aria-label="Show password">
113+
<button type="button" id="login-password-toggle" class="pf-v6-c-button pf-m-control login-password-toggle" aria-label="Show password">
114114
<svg fill="currentColor" aria-hidden="true" viewBox="0 0 640 512">
115115
<path class="password-show" d="M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"/>
116116
<path class="password-hide" d="M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"/>
@@ -145,7 +145,7 @@ <h1 id="hostkey-title"></h1>
145145
</div>
146146

147147
<div class="form-group login-actions">
148-
<button class="pf-v5-c-button pf-m-primary login-button" id="login-button" type="submit">
148+
<button class="pf-v6-c-button pf-m-primary login-button" id="login-button" type="submit">
149149
<span class="spinner"></span>
150150
<span id="login-button-text" class="button-text" translate="yes">Log in</span>
151151
</button>
@@ -161,7 +161,7 @@ <h1 id="hostkey-title"></h1>
161161

162162
<div id="login-fatal" hidden="true">
163163
<div id="login-fatal-message"></div>
164-
<a id="login-again" class="pf-v5-c-button pf-m-primary" href="#" translate="yes" hidden="true">Try again</a>
164+
<a id="login-again" class="pf-v6-c-button pf-m-primary" href="#" translate="yes" hidden="true">Try again</a>
165165
</div>
166166
</div>
167167

0 commit comments

Comments
 (0)