|
106 | 106 | echo " |
107 | 107 | <h1>Account Settings</h1> |
108 | 108 | <hr> |
109 | | - <h5>Account Details</h5> |
| 109 | + <h2>Account Details</h2> |
110 | 110 | <table> |
111 | 111 | <tr> |
112 | 112 | <td>Username</th> |
|
122 | 122 | </tr> |
123 | 123 | </table> |
124 | 124 | <hr> |
125 | | - <h5>Account Status</h5> |
| 125 | + <h2>Account Status</h2> |
126 | 126 | "; |
127 | 127 |
|
128 | 128 | $isPI = $USER->isPI(); |
|
206 | 206 | } |
207 | 207 | echo "</form>"; |
208 | 208 | } |
209 | | -echo "<hr><h5>SSH Keys</h5>"; |
| 209 | +echo "<hr><h2>SSH Keys</h2>"; |
210 | 210 |
|
211 | 211 | $sshPubKeys = $USER->getSSHKeys(); |
212 | 212 |
|
|
218 | 218 | $CSRFTokenHiddenFormInput = UnityHTTPD::getCSRFTokenHiddenFormInput(); |
219 | 219 | echo |
220 | 220 | "<div class='key-box'> |
221 | | - <textarea spellcheck='false' readonly>" . $sshPubKeys[$i] . "</textarea> |
| 221 | + <textarea spellcheck='false' readonly aria-label='key box'>" . $sshPubKeys[$i] . "</textarea> |
222 | 222 | <form |
223 | 223 | action='' id='del-" . $i . "' |
224 | 224 | onsubmit='return confirm(\"Are you sure you want to delete this SSH key?\");' |
225 | 225 | method='POST' |
| 226 | + aria-label='delete key' |
226 | 227 | > |
227 | 228 | $CSRFTokenHiddenFormInput |
228 | 229 | <input type='hidden' name='delIndex' value='$i' /> |
|
236 | 237 | echo " |
237 | 238 | <button type='button' class='plusBtn btnAddKey'><span>+</span></button> |
238 | 239 | <hr> |
239 | | - <h5>Login Shell</h5> |
| 240 | + <h2>Login Shell</h2> |
240 | 241 | <form action='' method='POST'> |
241 | 242 | $CSRFTokenHiddenFormInput |
242 | 243 | <input type='hidden' name='form_type' value='loginshell' /> |
243 | | - <select id='loginSelector' class='code' name='shellSelect'> |
| 244 | + <select id='loginSelector' class='code' name='shellSelect' aria-label='Login Shell'> |
244 | 245 | "; |
245 | 246 | foreach (CONFIG["loginshell"]["shell"] as $shell) { |
246 | 247 | echo "<option>$shell</option>"; |
|
251 | 252 | <input id='submitLoginShell' type='submit' value='Set Login Shell' /> |
252 | 253 | </form> |
253 | 254 | <hr> |
254 | | - <h5>Account Deletion</h5> |
| 255 | + <h2>Account Deletion</h2> |
255 | 256 | "; |
256 | 257 |
|
257 | 258 | if ($hasGroups) { |
|
0 commit comments