085cfa3520779581af7ac57e590b1fa97db7e009
[citadel.git] / webcit / static / t / summary / page.html
1 <div id="Xroom_banner_override">
2 <table border=0><tr>
3 <td><img 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 id="content" 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               <?SUMMARY:NEWMESSAGES_SELECTION>
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               <?SUMMARY:TASKSSECTION>
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               <?SUMMARY:CALENDAR_SECTION>
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"><?=("who_summary")></div></div></div>
54       </td>
55       <td width="33%">
56         <div class="box">       
57           <div class="boxlabel">        
58             <?_("About&nbsp;this&nbsp;server")>
59           </div><div class="boxcontent">        
60             <div id="info_inner">       
61               <?_("You are connected to")> <?SERV:HUMANNODE>,
62               <?_("running")> <?SERV:SOFTWARE> 
63               <?_("with")> <?PACKAGESTRING>, 
64               <?_("server build")> <?SERV:REV_LEVEL>
65               <?_("and located in")> <?SERV:BBS_CITY>.
66               <?_("Your system administrator is")> <?SERV:ADMIN>
67         </div></div></div>
68       </td>
69   </tr></table>
70
71 </div>
72
73 </div>
74
75 <script type="text/javascript">
76  new Ajax.PeriodicalUpdater('msg_inner', 'new_messages_html',
77                             { method: 'get', frequency: 60 }  );
78  new Ajax.PeriodicalUpdater('tasks_inner', 'tasks_inner_html',
79                             { method: 'get', frequency: 120 }  );
80  new Ajax.PeriodicalUpdater('calendar_inner', 'calendar_inner_html',
81                             { method: 'get', frequency: 90 }  );
82  new Ajax.PeriodicalUpdater('do_template', 'template=who_summary',
83                             { method: 'get', frequency: 30 }  );
84 </script>