Parent Directory | Revision Log
improvements, mostly in design.
1 | dpavlin | 6 | <div class="question_list"> |
2 | [% IF poll.questions -%] | ||
3 | <table id="zebra" cellspacing="0"> | ||
4 | <thead> | ||
5 | <th>var</th> | ||
6 | <th>question</th> | ||
7 | <th>edit</th> | ||
8 | <th>del</th> | ||
9 | </thead> | ||
10 | <tbody> | ||
11 | [% FOR que IN poll.questions -%] | ||
12 | [% IF que %] | ||
13 | <tr[% IF order == que.order %] class="selected"[% END %]> | ||
14 | <td><em>[% que.var %] </em></td> | ||
15 | <td>[% que.q %]</td> | ||
16 | <td> | ||
17 | <a href="[% self %]?do=edit_question;order=[% loop.index %]"><img src="/icons/small/text.png" alt="edit" title="edit" border="0"></a> | ||
18 | </td> | ||
19 | <td> | ||
20 | <a href="[% self %]?do=delete_question;order=[% loop.index %]" onClick="confirm('Are you sure that you want to delete question [% loop.index %]?');" ><img src="/icons/small/burst.png" alt="delete" title="delete" border="0"></a> | ||
21 | </td> | ||
22 | </tr> | ||
23 | [% END -%] | ||
24 | [% END -%] | ||
25 | </tbody> | ||
26 | </table> | ||
27 | [% END -%] | ||
28 | </div> | ||
29 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |