Changeset 1081 for trunk/LATMOS-Accounts-Web/root/html/sites
- Timestamp:
- 07/28/12 09:20:21 (12 years ago)
- Location:
- trunk/LATMOS-Accounts-Web/root/html/sites
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts-Web/root/html/sites/default.tt
r996 r1081 4 4 [% ELSE %] 5 5 6 [% INCLUDE 'sites/ menu.tt' %]6 [% INCLUDE 'sites/object_header.tt' %] 7 7 8 8 <div class="objectform" id="objectform"> -
trunk/LATMOS-Accounts-Web/root/html/sites/index.tt
r971 r1081 1 [% db = c.model('Accounts').db %] 2 <!-- $Id --> 3 <div style="float: right" id="filter"> 1 <!-- $Id$ --> 2 <div id="filter"> 4 3 [% INCLUDE 'includes/filter.tt' 5 4 formuri = c.uri_for() 6 otype = 'site'7 5 %] 8 6 </div> 9 7 10 <table border="0"> 11 <tr><td colspan="2">[% siteslist.size %] Sites</td></tr> 12 <tr><th>Nom</th><th>Ville</th></tr> 13 [% FOREACH sitename = siteslist %] 14 [% site = db.get_object('site', sitename) %] 15 <tr> 16 <td>[% sitename | html %]</td> 17 <td> 18 [% site.get_c_field('l') | html %] 19 <a href="[% c.uri_for('/sites', sitename) %]"> 20 <img src="[% c.uri_for('/static', 'icons', 'arrow-right.png') %]" 21 height="16" width="16" 22 alt="[% "edit " _ sitename | html %]"> 23 </a></td> 24 </tr> 25 [% END %] 26 </table> 8 <div id="list_objects"> 9 [% INCLUDE 'includes/list_objects.tt' %] 10 </div>
Note: See TracChangeset
for help on using the changeset viewer.