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