Changeset 1596 for trunk/LATMOS-Accounts-Web
- Timestamp:
- 01/06/16 16:02:29 (9 years ago)
- Location:
- trunk/LATMOS-Accounts-Web
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/I18N/fr.po
r1549 r1596 17 17 "Content-Transfer-Encoding: 8bit\n" 18 18 19 #: root/html/includes/wrapper.tt:47 19 #: root/html/includes/sidebar.tt:16 20 msgid "Change my password" 21 msgstr "Changer mon mot de passe" 22 23 #: root/html/includes/sidebar.tt:9 24 msgid "Connected as" 25 msgstr "Connecté en tant que" 26 27 #: root/html/includes/sidebar.tt:28 28 msgid "Create" 29 msgstr "Créer" 30 31 #: root/html/includes/wrapper.tt:48 20 32 msgid "IT management" 21 33 msgstr "Gestion informatique" 34 35 #: root/html/includes/sidebar.tt:21 36 msgid "Logout" 37 msgstr "Se déconnecter" 38 39 #: root/html/includes/sidebar.tt:40 40 msgid "Tools" 41 msgstr "Outils" 42 43 #: root/html/includes/sidebar.tt:65 44 msgid "View" 45 msgstr "Voir" -
trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/I18N/messages.pot
r1546 r1596 16 16 "Content-Transfer-Encoding: 8bit\n" 17 17 18 #: root/html/includes/wrapper.tt:47 18 #: root/html/includes/sidebar.tt:16 19 msgid "Change my password" 20 msgstr "" 21 22 #: root/html/includes/sidebar.tt:9 23 msgid "Connected as" 24 msgstr "" 25 26 #: root/html/includes/sidebar.tt:28 27 msgid "Create" 28 msgstr "" 29 30 #: root/html/includes/wrapper.tt:48 19 31 msgid "IT management" 20 32 msgstr "" 33 34 #: root/html/includes/sidebar.tt:21 35 msgid "Logout" 36 msgstr "" 37 38 #: root/html/includes/sidebar.tt:40 39 msgid "Tools" 40 msgstr "" 41 42 #: root/html/includes/sidebar.tt:65 43 msgid "View" 44 msgstr "" -
trunk/LATMOS-Accounts-Web/root/html/includes/sidebar.tt
r1481 r1596 1 1 2 [% IF c.user.username %] 2 3 <form action="[% c.uri_for('/search') %]"> … … 4 5 <input type="image" name="" src="[% c.uri_for('/static', 'images', 'gtk-find.png') %]" height="16" width="16"> 5 6 </form> 7 <span> 8 <a href="[% c.uri_for('/users', c.user.username) %]"> 9 [% l('Connected as') %] 10 [% c.model('Accounts').db.get_object('user', c.user.username ) %] 11 </a> 12 </span>, 13 [% IF c.model('Accounts').db.check_acl('user', 'userPassword', 'w') %] 14 <span> 15 <a href="[% c.uri_for('/users', c.user.username, 'passwd') %]"> 16 [% l('Change my password') %] 17 </a> 18 </span>, 19 [% END %] 20 <span> 21 <a href="[% c.uri_for('/logout') %]">[% l('Logout') %]</a> 22 </span> 23 6 24 <ul id="menu"> 7 8 <li>Mon compte:9 <ul>10 11 <li> <a href="[% c.uri_for('/users', c.user.username) %]">Ma page</a></li>12 13 [% IF c.model('Accounts').db.check_acl('user', 'userPassword', 'w') %]14 <li><a href="[% c.uri_for('/users', c.user.username, 'passwd') %]">Changer mon mot de passe</a></li>15 [% END %]16 17 <li><a href="[% c.uri_for('/logout') %]">Se déconnecter</a></li>18 </ul>19 </li>20 25 21 26 <li><a href="[% c.uri_for('/search', 'adv') %]">Recherche avancée</a></li> 22 27 23 <li>Outils: 28 <li>[% l('Create') %] 29 <ul> 30 [% FOREACH obj = c.model('Accounts').db.list_supported_objects.sort %] 31 [% label = c.model('Accounts').obj_to_label(obj) %] 32 [% NEXT IF NOT label %] 33 <li><a href="[% c.uri_for('/create', obj) %]"> 34 [% label | html %] 35 </a></li> 36 [% END %] 37 </ul> 38 </li> 39 40 <li>[% l('Tools') %] 24 41 <ul> 25 42 [% IF c.config.features.offices_list %] … … 35 52 [% IF loop.first %] 36 53 <li><a href="[% c.uri_for('/stat') %]">Statistiques</a>: 37 <ul>38 54 [% END %] 39 55 <li><a href="[% c.uri_for('/stat', stat) %]">[% ostat.get_attributes('description') || stat | html %]</a></li> 40 56 [% IF loop.last %] 41 </ul>42 57 </li> 43 58 [% END %] … … 47 62 </li> 48 63 64 65 <li>[% l('View') %] 66 <ul> 49 67 [% FOREACH obj = c.model('Accounts').db.list_supported_objects.sort %] 50 68 [% label = c.model('Accounts').obj_to_label(obj) %] 51 69 [% NEXT IF NOT label %] 52 <li>[% label | html %] 53 <ul> 54 <li><a href="[% c.model('Accounts').obj_to_uri(obj) %]">Listes</a></li> 55 <li><a href="[% c.uri_for('/create', obj) %]">Créer...</a></li> 56 <li><a href="[% c.uri_for('/search/adv', { 'otype' => obj }) %]">Rechercher...</a></li> 57 </ul> 70 <li><a href="[% c.model('Accounts').obj_to_uri(obj) %]">[% label | html %]</a></li> 71 [% END %] 72 </ul> 58 73 </li> 59 [% END %]60 74 61 <ul>62 75 <li><a href="[% c.uri_for('/admin') 63 76 %]">Gestion...</a></li> … … 66 79 <script> 67 80 $(function() { 68 $('#menu').menu();69 }); 81 $( "#menu" ).menu({ position: { my: "left top", at: "left-1 top+35" } }); 82 }); 70 83 </script> 71 84 [% END %] -
trunk/LATMOS-Accounts-Web/root/static/struct.css
r1585 r1596 1 1 /* $Id$ */ 2 2 3 .ui-menu:after { 4 content: "."; 5 display: block; 6 clear: both; 7 visibility: hidden; 8 line-height: 0; 9 height: 0; 10 } 11 12 #menu>.ui-menu-item { 13 border: 1px solid #A6C9E2; 14 width: auto; 15 } 16 17 .ui-menu .ui-menu-item { 18 display: inline-block; 19 float: left; 20 margin: 0; 21 padding: 0; 22 } 23 3 24 #header { 4 width: 100%;25 width: auto; 5 26 padding: 0.2em; 6 27 } 7 28 8 29 #sidebar { 9 width: 180px;10 padding: 0.1em;11 float: left;12 30 font-size: 0.9em; 13 31 } … … 17 35 } 18 36 37 #sidebar form { 38 display: inline-block; 39 } 40 41 #sidebar>span { 42 padding-left: 20px; 43 } 44 19 45 #mainbox { 20 width: 78%;21 padding: 0em;22 float: left;46 width: auto; 47 padding: 1em; 48 border: groove 10px; 23 49 } 24 50
Note: See TracChangeset
for help on using the changeset viewer.