]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/t/summary/page.html
Revert "serv_rssclient.c: style update"
[citadel.git] / webcit / static / t / summary / page.html
diff --git a/webcit/static/t/summary/page.html b/webcit/static/t/summary/page.html
new file mode 100644 (file)
index 0000000..6daa3be
--- /dev/null
@@ -0,0 +1,82 @@
+<div id="room_banner_override">
+<table border=0><tr>
+<td><img src="static/webcit_icons/essen/32x32/summary.png"></td>
+<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>
+</tr></table>
+</div>
+<?--("
+* You guessed it ... were going to refresh using ajax.
+* In the future we might consider updating individual sections of the summary
+* instead of the whole thing.
+")>
+<div class="service">
+  <table width="98%" cellspacing="3" cellpadding="0">
+    <tr valign=top>
+      <td width="33%">
+       <div class="box">       
+         <div class="boxlabel">        
+           <?_("Messages")>
+         </div><div class="boxcontent">        
+           <div id="msg_inner">
+               <img src="static/webcit_icons/throbber.gif">
+       </div></div></div>
+      </td>
+      <td width="33%">
+       <div class="box">       
+         <div class="boxlabel">        
+           <?_("Tasks")>
+         </div><div class="boxcontent">        
+           <div id="tasks_inner">      
+               <img src="static/webcit_icons/throbber.gif">
+       </div></div></div>
+      </td>
+      <td width="33%">
+       <div class="box">       
+         <div class="boxlabel">        
+           <?_("Today&nbsp;on&nbsp;your&nbsp;calendar")>
+         </div><div class="boxcontent">        
+           <div id="calendar_inner">
+               <img src="static/webcit_icons/throbber.gif">
+       </div></div></div>
+      </td>
+      
+    </tr><tr valign=top>
+
+      <td colspan=2>
+       <div class="box">       
+         <div class="boxlabel">        
+           <?_("Who‘s&nbsp;online&nbsp;now")>
+         </div><div class="boxcontent">
+           <div id="who_inner">
+               <img src="static/webcit_icons/throbber.gif">
+           </div></div></div>
+      </td>
+      <td width="33%">
+       <div class="box">       
+         <div class="boxlabel">        
+           <?_("About&nbsp;this&nbsp;server")>
+         </div><div class="boxcontent">        
+           <div id="info_inner">       
+             <?_("You are connected to")> <?SERV:HUMANNODE>,
+             <?_("running")> <?SERV:SOFTWARE> 
+             <?_("with")> <?PACKAGESTRING>, 
+             <?_("server build")> <?SERV:REV_LEVEL>
+             <?_("and located in")> <?SERV:BBS_CITY>.
+             <?_("Your system administrator is")> <?SERV:ADMIN>
+       </div></div></div>
+      </td>
+  </tr></table>
+
+</div>
+
+</div>
+
+<script type="text/javascript">
+ new Ajax.PeriodicalUpdater('msg_inner', 'new_messages_html', { method: 'get', frequency: 60 }  );
+ new Ajax.PeriodicalUpdater('tasks_inner', 'tasks_inner_html', { method: 'get', frequency: 120 }  );
+ new Ajax.PeriodicalUpdater('calendar_inner', 'calendar_inner_html', { method: 'get', frequency: 90 }  );
+ new Ajax.PeriodicalUpdater('who_inner', 'do_template?template=who_summary', { method: 'get', frequency: 30 }  );
+</script>