source: trunk/template/yoga/admin/rating.tpl @ 1124

Last change on this file since 1124 was 1085, checked in by rub, 19 years ago

Step 7 improvement issue 0000301:

o can attribute status <= current user
o define mode adviser

=> buttons disabled (gray on IE, not on FF)
=> truncated actions
=> display info mode adviser

  • Property svn:eol-style set to native
File size: 2.3 KB
Line 
1<h2>{lang:Rating} [{NB_ELEMENTS} {lang:elements}]</h2>
2
3<form action="" method="GET" id="update">
4<fieldset>
5<legend></legend>
6<input type="hidden" name="page" value="rating" />
7<ul>
8
9<li><label>{lang:elements per page}: <input type="text" name="display" size="2" value="{DISPLAY}"></label></li>
10
11<li>
12<label>{lang:Sort by}:
13<select name="order_by">
14<!-- BEGIN order_by -->
15<option value="{order_by.VALUE}" {order_by.SELECTED}>{order_by.CONTENT}</option>
16<!-- END order_by -->
17</select>
18</label></li>
19
20<li>{lang:Filter}:
21<label>
22 <input type="radio" class="radio" name="display_filter" {DISPLAY_FILTER_ALL_CHECKED} value="all"/>
23 {lang:users} & {lang:guest}
24</label>
25<label>
26 <input type="radio" class="radio" name="display_filter" {DISPLAY_FILTER_USER_CHECKED} value="user"/>
27 {lang:users}
28</label>
29<label>
30 <input type="radio" class="radio" name="display_filter" {DISPLAY_FILTER_GUEST_CHECKED} value="guest"/>
31 {lang:guest}
32</label>
33</li>
34
35</ul>
36
37</fieldset>
38<p class="bottomButtons">
39<input type="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}/>
40</p>
41</form>
42<div class="navigationBar">{NAVBAR}</div>
43<table width="100%">
44<tr class="throw">
45  <td>{lang:File}</td>
46  <td>{lang:Number of rates}</td>
47  <td>{lang:Average rate}</td>
48  <td>{lang:Controversy}</td>
49  <td>{lang:Sum of rates}</td>
50  <td>{lang:Rate}</td>
51  <td>{lang:Username}</td>
52  <td>{lang:Rate date}</td>
53  <td></td>
54</tr>
55<!-- BEGIN image -->
56<tr valign="bottom">
57  <td rowspan="{image.NB_RATES_PLUS1}"><a href="{image.U_URL}"><img src="{image.U_THUMB}" alt="{image.FILE}" title="{image.FILE}"></a></td>
58  <td rowspan="{image.NB_RATES_PLUS1}"><strong>{image.NB_RATES}/{image.NB_RATES_TOTAL}</strong></td>
59  <td rowspan="{image.NB_RATES_PLUS1}"><strong>{image.AVG_RATE}</strong></td>
60  <td rowspan="{image.NB_RATES_PLUS1}"><strong>{image.STD_RATE}</strong></td>
61  <td rowspan="{image.NB_RATES_PLUS1}" style="border-right: 1px solid;" ><strong>{image.SUM_RATE}</strong></td>
62</tr>
63<!-- BEGIN rate -->
64<tr>
65    <td>{image.rate.RATE}</td>
66    <td><b>{image.rate.USER}</b></td>
67    <td><span class="date">{image.rate.DATE}</span></td>
68    <td><a href="{image.rate.U_DELETE}"><img src="{themeconf:icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{lang:delete}]"/></a></td>
69</tr>
70<!-- END rate -->
71<!-- END image -->
72</table>
73
74<div class="navigationBar">{NAVBAR}</div>
Note: See TracBrowser for help on using the repository browser.