/[glsr]/trunk/templates/gentoo/admin/index.tpl
Gentoo

Contents of /trunk/templates/gentoo/admin/index.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 149 - (show annotations) (download) (as text)
Fri Sep 23 06:34:51 2005 UTC (9 years ago) by hadfield
File MIME type: application/vnd.groove-tool-template
File size: 1736 byte(s)
more adminpanel implementation. implemented the news db access module.
1 {INCLUDE header.tpl}
2
3 <table width="40%" class="standard_table">
4 <tr>
5 <td colspan="2" class="header">
6 Script Repository Statistics
7 </td>
8 </tr>
9
10 <tr>
11 <td class="sub_header">Statistic</td>
12 <td class="sub_header">Value</td>
13 </tr>
14
15 <tr>
16 <td class="skinny_cell">Number of scripts:</td>
17 <td class="skinny_cell">{SCRIPT_COUNT}</td>
18 </tr>
19
20 <tr>
21 <td class="skinny_cell">Number of users:</td>
22 <td class="skinny_cell">{USER_COUNT}</td>
23 </tr>
24
25 <tr>
26 <td class="skinny_cell">Database size:</td>
27 <td class="skinny_cell">{DBSIZE}</td>
28 </tr>
29
30 </table>
31
32 <br /><br />
33
34 <table width="40%" class="standard_table">
35 <tr>
36 <td colspan="4" class="header">
37 Who is Online
38 </td>
39 </tr>
40
41 <tr>
42 <td class="sub_header">Username</td>
43 <td class="sub_header">Log in</td>
44 <td class="sub_header">Last Updated</td>
45 <td class="sub_header">IP Address</td>
46 </tr>
47
48 {IF len(ONLINE_LOOP) == 0}
49 <tr>
50 <td colspan="4" class="standard_cell">
51 No Users Currently Logged In
52 </td>
53 </tr>
54 {!IF}
55
56 {LOOP ONLINE_LOOP}
57 <tr>
58 <td class="skinny_cell">{ONLINE_LOOP.username}</td>
59 <td class="skinny_cell">{ONLINE_LOOP.login}</td>
60 <td class="skinny_cell">{ONLINE_LOOP.last_updated}</td>
61 <td class="skinny_cell">{ONLINE_LOOP.ip_address}</td>
62 </tr>
63 {!LOOP}
64
65 </table>
66
67
68 {INCLUDE footer.tpl}

  ViewVC Help
Powered by ViewVC 1.1.20