Changeset 251 for trunk/root/templates
- Timestamp:
- 12/05/09 15:31:04 (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
False
/branches/1 merged eligible
-
Property
svn:mergeinfo
set to
False
-
trunk/root/templates/default.tt
r227 r251 2 2 [% vote = c.model('Vote') %] 3 3 4 [% FOREACH id = vote.list_running_vote %] 5 [% IF loop.first %] 6 <div id="global_poll"> 7 <div id="open_poll"> 8 <h1>Vote en cours</h1> 9 <table> 10 <tbody> 4 <div style="float: right; width: 33%;" class="reminder"> 5 <form action="[% c.uri_for %]" method="POST"> 6 [% IF novoting %] 7 <p class="warning">Aucun vote en cours ne concerne [% novoting | html %].</p> 11 8 [% END %] 12 <tr> 13 <td><lu><li><a href="[% c.uri_for( '/vote', vote.poll(id).uid ) %]">[% c.model('Vote').poll(id).info('label') | html %]</a></lu></td></td> 14 <td>><a href="[% c.uri_for( '/ballot', vote.poll(id).uid ) %]"> Voter</a></td> 15 </tr> 16 [% IF loop.last %] 17 </tbody> 18 </table> 19 </div> 20 [% END %] 9 [% IF sendvoting %] 10 Un mail a été envoyé à [% sendvoting %] 21 11 [% END %] 22 12 23 [% FOREACH id = vote.list_comming_vote %] 24 [% IF loop.first %] 25 <div id="comming_poll"> 26 <h1>Vote à venir</h1> 27 <table> 28 <tbody> 29 [% END %] 30 <tr> 31 <td><lu><li><a href="[% c.uri_for( 'vote', vote.poll(id).uid ) %]">[% c.model('Vote').poll(id).info('label') | html %]</a></li></lu></td> 32 <td>><a href="[% c.uri_for( '/admin', vote.poll(id).uid ) %]"> Administrer</a></td> 33 </tr> 34 [% IF loop.last %] 35 </tbody> 36 </table> 13 <p>Pour retrouver les votes qui vous concerne, indiquez votre adresse mail:</p> 14 <input type="text" name="mailvoting" class="reminder"> 15 <input type="submit" class="reminder" value=">"> 16 </form> 37 17 </div> 38 [% END %]39 [% END %]40 41 42 [% FOREACH id = vote.list_closed_vote %]43 [% IF loop.first %]44 <div id="closed_poll">45 <h1>Vote Fermé</h1>46 <table>47 <tbody>48 [% END %]49 <tr>50 <td><lu><li><a href="[% c.uri_for( 'vote', vote.poll(id).uid ) %]">[% c.model('Vote').poll(id).info('label') | html %]</a></lu></td>51 </tr>52 [% IF loop.last %]53 </tbody>54 </table>55 </div>56 </div>57 [% END %]58 [% END %] -
trunk/root/templates/includes/footer.tt
r227 r251 1 1 <!-- $Id$ --> 2 <div id="footer" >2 <div id="footer" style="clear: both"> 3 3 <a href="http://forge.ipsl.jussieu.fr/epoll"> Epoll [% Vote.VERSION | html %]</a> 4 4 <a href="http://www.catalystframework.org/"><img src="[% c.uri_for('/static', 'images', 'btn_88x31_powered_shadow.png') %]"></a>
Note: See TracChangeset
for help on using the changeset viewer.