Changeset 1211
- Timestamp:
- 01/02/13 17:56:28 (11 years ago)
- Location:
- trunk/LATMOS-Accounts-Web/root
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts-Web/root/html/groups/dpmt.tt
r1081 r1211 7 7 8 8 <div class="objectform" id="objectform"> 9 <div id="oform">10 9 11 10 <div style="margin: 2em; border: outset;"> … … 70 69 71 70 </div> 72 </div>73 71 [% END %] 74 75 76 -
trunk/LATMOS-Accounts-Web/root/html/groups/users.tt
r1166 r1211 10 10 11 11 <div class="objectform" id="objectform"> 12 <div id="oform">13 12 <table border=1> 14 13 <tr><th>Membres:</th><th>Ajouter:</th></tr> … … 77 76 </tr> 78 77 </table> 79 </div>80 78 81 79 </div> -
trunk/LATMOS-Accounts-Web/root/html/includes/form.tt
r1162 r1211 5 5 [% FOREACH attr = attributes %] 6 6 [% IF loop.first %] 7 <h2> 8 [% form.label | html %]: 9 </h2> 7 10 <form action="[% form_uri | html %]" method="POST"> 8 11 <table border=1> 9 <tr><th colspan=2>10 [% form.label | html %]11 </th></tr>12 12 [% END %] 13 13 <tr> -
trunk/LATMOS-Accounts-Web/root/html/login.tt
r971 r1211 1 1 <div id="login"> 2 2 <form action="[% c.uri_for('/login') %]" method="POST"> 3 <p>Vous devez vous connecter:</p>4 3 <input type="hidden" name="loguri" value="[% redirurl | html %]"> 5 4 <table border="0" align="center"> 6 5 <tr> 6 <tr><td colspan=2>Vous devez vous connecter:</td></tr> 7 7 <th>Login:</th><td><input type="text" name="username" value="[% c.req.param('username') | html %]"></td> 8 8 </tr> … … 10 10 <th>Password:</th><td><input type="password" name="password"></td> 11 11 </tr> 12 <tr><td></td><td><input type="submit"></td></tr> 12 13 </table> 13 <input type="submit">14 14 </form> 15 15 </div> -
trunk/LATMOS-Accounts-Web/root/html/nethosts/default.tt
r1162 r1211 11 11 form_uri = c.uri_for(nethostname) %] 12 12 13 <div class="oform">14 13 <table border=1> 15 14 [% IF c.model('Accounts').db.check_acl('netzone', 'name', 'r') %] … … 65 64 </table> 66 65 </div> 67 </div>68 66 69 67 [% END %] -
trunk/LATMOS-Accounts-Web/root/html/users/address.tt
r1188 r1211 7 7 8 8 <div id="objectform" class="objectform"> 9 <table border="0"> 9 <h2>Adresses postales:</h2> 10 <table border="0" id="user_address_list"> 10 11 [% FOREACH idaddress = user.get_c_field('otheraddress') %] 11 12 [% laddress = c.model('Accounts').db.get_object('address', idaddress) %] 12 13 <tr> 13 <!--- <td>[% IF laddress.get_c_field('isMainAddress') %] 14 Principale 15 [% END %]</td> 16 --> 17 <td> 14 <td class=user_address_cel> 18 15 16 [% loop.count %]: 19 17 [% IF address.id != idaddress %] 20 18 <a href="[% c.uri_for(username, subform, idaddress) %]"> … … 23 21 <span [% 'class="unexported"' IF laddress.get_c_field('unexported') %]> 24 22 [% "<b>" IF laddress.get_c_field('isMainAddress') %] 25 [% laddress.get_c_field('l') || idaddress| html %]23 [% laddress.get_c_field('l') || 'N/A' | html %] 26 24 [% IF laddress.get_c_field('physicalDeliveryOfficeName') %] 27 25 - [% laddress.get_c_field('physicalDeliveryOfficeName') | html %] … … 37 35 38 36 [% IF laddress.base.check_acl(laddress, '@DELETE', 'w') %] 39 <td>40 37 <form action="[% c.uri_for(username, subform) %]" method="POST" 41 38 style="display:inline"> … … 70 67 [% IF c.model('Accounts').db.check_acl(user, 'l', 'w') && 71 68 c.model('Accounts').db.check_acl('address', '@CREATE', 'w') %] 72 <tr><td colspan= 2align="center">69 <tr><td colspan=3 align="center"> 73 70 <form action="[% c.uri_for(username, subform) %]" method="POST"> 74 71 <input type="hidden" name="add_addr" value="1"> … … 82 79 83 80 [% IF address %] 84 <div id="oform">85 86 81 87 82 <form action="[% c.uri_for(username, subform, address.id) %]" method="POST"> … … 89 84 </form> 90 85 91 </div>92 86 [% END %][% # IF address %] 93 87 -
trunk/LATMOS-Accounts-Web/root/html/users/groups.tt
r1162 r1211 6 6 [% INCLUDE 'users/object_header.tt' %] 7 7 8 8 9 <div id="objectform" class="objectform"> 10 <h2>Appartenance aux groupes:</h2> 9 11 [% modallow = c.model('Accounts').db.check_acl(user, 'memberOf', 'w') %] 10 12 -
trunk/LATMOS-Accounts-Web/root/html/users/mail.tt
r1162 r1211 7 7 8 8 <div id="objectform" class="objectform"> 9 10 <h2>E-mails:</h2> 9 11 10 12 <form action="[% c.uri_for(user.id, 'mail') %]" method="POST"> -
trunk/LATMOS-Accounts-Web/root/html/users/my.tt
r1094 r1211 7 7 8 8 <div id="objectform" class="objectform"> 9 <div class="oform">10 9 11 10 [% FOREACH reqid = db.list_request_by_object('user', username) %] -
trunk/LATMOS-Accounts-Web/root/html/users/passwd.tt
r1151 r1211 14 14 15 15 <div id="objectform" class="objectform"> 16 <div id="oform"> 16 <h2> 17 [%- IF c.user.username != username -%]Changer le mot de passe de [% username -%] 18 [%- ELSE -%]Changer mon mot de passe 19 [%- END -%]: 20 </h2> 21 17 22 [% IF c.model('Accounts').db.check_acl(user, 'userPassword', 'w') %] 18 23 … … 31 36 </form> 32 37 33 <fieldset> 34 <legend>Mot de passe aléatoire</legend> 38 <p>Pas d'idée ?</p> 39 <p>Cliquez que générer pour obtenir un mot aléatoire. Il doit être taper et non 40 copier/coller. Pensez à le noter.</p> 41 35 42 [% c.prototype.form_remote_tag({ 36 43 update => 'randpasswd', … … 38 45 } ) %] 39 46 <input type=submit value="Générer !"> 40 <span id="randpasswd">Ici, votre mot de passe</span> 41 <br> 42 <input type=checkbox name=nonalpha value="1">Utiliser des caractÚres non 43 alpha-numérique<br> 44 <input type=checkbox name=syllables value="1">Utiliser des syllabes plutÃŽt que 45 des lettres<br> 47 <span id="randpasswd">----</span> 48 <ul id="randpasswd_options"> 49 <li><input type=checkbox name=nonalpha value="1">Utiliser des caractÚres non 50 alpha-numérique</li> 51 <li><input type=checkbox name=syllables value="1">Utiliser des syllabes plutÃŽt que 52 des lettres</li> 53 </ul> 46 54 </form> 47 </fieldset>48 55 49 56 [% ELSE %] … … 51 58 [% END %] 52 59 </div> 53 </div> -
trunk/LATMOS-Accounts-Web/root/static/struct.css
r1162 r1211 14 14 #mainbox { 15 15 width: 78%; 16 padding: 0 .2em;17 float: left;16 padding: 0em; 17 float: right; 18 18 } 19 19 -
trunk/LATMOS-Accounts-Web/root/static/style.css
r1168 r1211 77 77 padding: 0em; 78 78 background-color: #7DB4D8; 79 } 80 81 #mainbox { 82 margin-top: 0.2em; 83 margin-bottom: 0.2em; 79 84 } 80 85 … … 173 178 } 174 179 180 #user_address_list { 181 border: outset; 182 } 183 #user_address_list td { 184 padding-bottom: 0.5em; 185 padding-top: 0.5em; 186 } 187 #user_address_list td.user_address_cel { 188 padding-bottom: 0.5em; 189 padding-top: 0.5em; 190 padding-right: 1em; 191 } 192 193 /* box receiving random password */ 194 span#randpasswd { 195 padding: 0.3em; 196 margin: 0.3em; 197 border: inset; 198 font-family: monospace; 199 font-size: 1.5em; 200 background-color: black; 201 color: green; 202 } 203 204 /* Random password options list */ 205 ul#randpasswd_options { 206 list-style-type: none; 207 padding-top: 0.2em; 208 padding-left: 0em; 209 } 210 211 div#objectform { 212 padding-top: 1em; 213 padding-bottom: 1em; 214 } 215 216 175 217 /* 176 218 … … 197 239 margin: 0em; 198 240 } 199 */ 200 /* 201 202 div.objectform { 203 } 204 205 206 .oform ul { 207 padding: 0.5em; 208 } 209 210 .oform li { 211 list-style-type: none; 212 padding-left: 0.2em; 213 } 214 215 */ 216 /* 241 217 242 .inputvalidate img { 218 243 width: 1em;
Note: See TracChangeset
for help on using the changeset viewer.