Apply patches sent by Harlow Solutions -- for WebCit
[citadel.git] / webcit / static / t / summary / page.html
1 <div id="room_banner_override">
2 <table border=0><tr>
3 <td><img alt="" src="static/webcit_icons/essen/32x32/summary.png"></td>
4 <td><h1><?_("Summary page for ")>
5         <??("COND:LOGGEDIN", 1)><?CURRENT_USER("X")><??("X", 1)>
6         <?!("COND:LOGGEDIN", 2)><?SERV:HUMANNODE("X")><??("X", 2)>
7 </h1><h2><?TIME:NOW></h2></td>
8 </tr></table>
9 </div>
10 <?--("
11 * You guessed it ... were going to refresh using ajax.
12 * In the future we might consider updating individual sections of the summary
13 * instead of the whole thing.
14 ")>
15 <div class="service">
16         <table width="98%" cellspacing="3" cellpadding="0">
17                 <tr valign=top>
18                         <td width="33%">
19         <div class="box">       
20                 <div class="boxlabel">  
21                         <?_("Messages")>
22                 </div><div class="boxcontent">  
23                         <div id="msg_inner">
24                 <img alt="" src="static/webcit_icons/throbber.gif">
25         </div></div></div>
26                         </td>
27                         <td width="33%">
28         <div class="box">       
29                 <div class="boxlabel">  
30                         <?_("Tasks")>
31                 </div><div class="boxcontent">  
32                         <div id="tasks_inner">  
33                 <img alt="" src="static/webcit_icons/throbber.gif">
34         </div></div></div>
35                         </td>
36                         <td width="33%">
37         <div class="box">       
38                 <div class="boxlabel">  
39                         <?_("Today&nbsp;on&nbsp;your&nbsp;calendar")>
40                 </div><div class="boxcontent">  
41                         <div id="calendar_inner">
42                 <img alt="" src="static/webcit_icons/throbber.gif">
43         </div></div></div>
44                         </td>
45                         
46                 </tr><tr valign=top>
47
48                         <td colspan=2>
49         <div class="box">       
50                 <div class="boxlabel">  
51                         <?_("Who‘s&nbsp;online&nbsp;now")>
52                 </div><div class="boxcontent">
53                         <div id="who_inner">
54                 <img alt="" src="static/webcit_icons/throbber.gif">
55                         </div></div></div>
56                         </td>
57                         <td width="33%">
58         <div class="box">       
59                 <div class="boxlabel">  
60                         <?_("About&nbsp;this&nbsp;server")>
61                 </div><div class="boxcontent">  
62                         <div id="info_inner">   
63                                 <?_("You are connected to")> <?SERV:HUMANNODE><br>
64                                 <?_("Running:")> <?SERV:SOFTWARE> <?_("with")> <?PACKAGESTRING><br>
65                                 <?_("Server Build:")> <?SERV:REV_LEVEL><br>
66                                 <?_("Location:")> <?SERV:BBS_CITY><br>
67                                 <?_("System Administrator:")> <?SERV:ADMIN>
68         </div></div></div>
69                         </td>
70         </tr></table>
71
72 </div>
73
74 <script type="text/javascript">
75  new Ajax.PeriodicalUpdater('msg_inner', 'new_messages_html', { method: 'get', frequency: 60 }  );
76  new Ajax.PeriodicalUpdater('tasks_inner', 'tasks_inner_html', { method: 'get', frequency: 120 }        );
77  new Ajax.PeriodicalUpdater('calendar_inner', 'calendar_inner_html', { method: 'get', frequency: 90 }   );
78  new Ajax.PeriodicalUpdater('who_inner', 'do_template?template=who_summary', { method: 'get', frequency: 30 }   );
79 </script>