1 <script type="text/javascript" src="include/pwdStrength.js"></script>
2 <p>
3 {t}To change the terminal root password use the fields below. The changes take effect during the next reboot. Please memorize the new password, because you wouldn't be able to log in.{/t}
4 </p>
5 <p>
6 <b>{t}Leave fields blank for password inheritance from default entries.{/t}</b>
7 </p>
9 <p>
10 {t}Changing the password impinges on authentification only.{/t}
11 </p>
13 <table summary="{t}System password change{/t}">
15 <tr>
16 <td><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
17 <td>
18 {factory type='password' id='new_password' name='new_password'
19 onkeyup="testPasswordCss(\$('new_password').value);" onfocus="nextfield='repeated_password';"}
20 </td>
21 </tr>
22 <tr>
23 <td><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
24 <td>
25 {factory type='password' id='repeated_password' name='repeated_password'
26 onfocus="nextfield='password_finish'"}
27 </td>
28 </tr>
29 <tr>
30 <td>{t}Password strength{/t}</td>
31 <td>
32 <span id="meterEmpty" style="padding:0;margin:0;width:100%;background-color:#DC143C;display:block;height:5px;">
33 <span id="meterFull" style="padding:0;margin:0;z-index:100;width:0;background-color:#006400;display:block;height:5px;"></span></span>
34 </td>
35 </tr>
37 </table>
39 <hr>
40 <div class="plugin-actions">
41 <button type='submit' id='password_finish'name='password_finish'>{t}Set password{/t}</button>
42 <button type='submit' id='password_cancel'name='password_cancel'>{msgPool type=cancelButton}</button>
43 </div>
46 <!-- Place cursor -->
47 <script language="JavaScript" type="text/javascript">
48 <!-- // First input field on page
49 nextfield= 'new_password';
50 focus_field('new_password');
51 -->
52 </script>