Changeset 2006 for trunk/LATMOS-Accounts-Web/root
- Timestamp:
- 04/28/17 10:54:50 (7 years ago)
- Location:
- trunk/LATMOS-Accounts-Web/root/html
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts-Web/root/html/includes/sidebar.tt
r1993 r2006 91 91 </li> 92 92 93 <li>[% l('Tools') %] 94 <ul> 95 [% IF c.model('Accounts').db.check_acl('user', 'userPasswd', 'w') %] 96 <li><a href="[% c.uri_for('/tools', 'loadpasswd') %]"> 97 [% l('Load Password') %] 98 </a></li> 99 [% END %] 100 </ul> 101 </li> 102 93 103 <li><a href="[% c.uri_for('/about') %]"> 94 104 [% l('About') %]</a></li> -
trunk/LATMOS-Accounts-Web/root/html/tools/loadpasswd/index.tt
r2003 r2006 1 1 <form action="[% c.uri_for('/tools', 'loadpasswd') %]" method="post" 2 2 enctype="multipart/form-data"> 3 4 <p>[% l('The file format must similar to UNIX standard password, only the two 5 first column are used.') %]</p> 6 7 <pre> 8 username1:password1:.... 9 username2:password2:.... 10 </pre> 3 11 4 12 <p>[% l('When password are encrypted they are injected only in … … 8 16 <input type=checkbox name=crypt> 9 17 <br> 18 <label for=crypt>[% l('Dont check for weak passord') | html %]</label> 19 <input type=checkbox name=force> 20 <br> 10 21 <label for=file>[% l('You can load a existing file...') | html %]</label> 11 22 <br> … … 14 25 <input type="submit"> 15 26 </form> 27 28 [% FOREACH res = Pass %] 29 [% IF loop.first %] 30 <p>[% l('Results:') %]</p> 31 <table border=1> 32 <tr> 33 <td>[% l('Username') | html %]</td> 34 <td>[% l('Results') | html %]</td> 35 </tr> 36 [% END %] 37 <tr> 38 <td>[% res.u | html %]</td> 39 <td>[% res.r | html %]</td> 40 </tr> 41 [% IF loop.last %] 42 </table> 43 [% END %] 44 [% END %]
Note: See TracChangeset
for help on using the changeset viewer.