Attempt to replicate the navbar as html template. Removed "default" section, since...
authorich <the_mgt@uncensored.citadel.org>
Wed, 18 Aug 2010 00:47:10 +0000 (00:47 +0000)
committerich <the_mgt@uncensored.citadel.org>
Wed, 18 Aug 2010 00:47:10 +0000 (00:47 +0000)
webcit/static/t/navbar.html [new file with mode: 0644]

diff --git a/webcit/static/t/navbar.html b/webcit/static/t/navbar.html
new file mode 100644 (file)
index 0000000..00be34b
--- /dev/null
@@ -0,0 +1,150 @@
+<div id="navbar"><ul>
+       <li class="ungoto">
+               <a href="ungoto">
+                       <img src="static/ungoto2_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("Ungoto")></span>
+               </a>
+       </li>
+
+<?!("COND:THISROOM:CURR_VIEW", 10, #"VIEW_BBS")>
+       <li class="newmess">
+               <a href="readnew">
+                       <img src="static/newmess2_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("Read new messages")></span>
+               </a>
+       </li>
+<??("X", 10)>
+
+<?!("COND:THISROOM:CURR_VIEW", 20, #"VIEW_ADDRESSBOOK")>
+       <li class="viewcontacts">
+               <a href="readfwd">
+                       <img src="static/viewcontacts_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("View contacts")></span>
+               </a>
+       </li>
+       <li class="addnewcontact">
+               <a href="display_enter">
+                       <img src="static/addnewcontact_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("Add new contact")></span>
+               </a>
+       </li>
+<??("X", 20)>
+
+<?!("COND:THISROOM:CURR_VIEW", 30, #"VIEW_CALENDAR")>
+       <li class="staskday">
+               <a href="readfwd?calview=day">
+                       <img src="static/taskday2_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("Day view")></span>
+               </a>
+       </li>
+       <li class="monthview">
+               <a href="readfwd?calview=month">
+                       <img src="static/monthview2_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("Month view")></span>
+               </a>
+       </li>
+       <li class="addevent">
+               <a href="display_enter<?BSTR:FORWARD("year", "U")><?BSTR:FORWARD("month", "U")><?BSTR:FORWARD("day", "U")>">
+                       <img  src="static/addevent_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("Add new event")></span>
+               </a>
+       </li>
+<??("X", 30)>
+
+<?!("COND:THISROOM:CURR_VIEW", 40, #"VIEW_CALBRIEF")>
+       <li class="monthview">
+               <a href="readfwd?calview=month">
+                       <img src="static/monthview2_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("Calendar list")></span>
+               </a>
+       </li>
+<??("X", 40)>
+        
+<?!("COND:THISROOM:CURR_VIEW", 50, #"VIEW_TASKS")>
+       <li class="taskmanag">
+               <a href="readfwd">
+                       <img src="static/taskmanag_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("View tasks")></span>
+               </a>
+       </li>
+       <li class="newmess">
+               <a href="display_enter">
+                       <img  src="static/newmess3_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("Add new task")></span>
+               </a>
+       </li>
+<??("X", 50)>
+
+<?!("COND:THISROOM:CURR_VIEW", 60, #"VIEW_NOTES")>
+       <li class="viewnotes">
+               <a href="readfwd">
+                       <img src="static/viewnotes_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("View notes")>
+                       </span>
+               </a>
+       </li>
+       <li class="enternewnote">
+               <a href="add_new_note">
+                       <img  src="static/enternewnote_24x.gif" "
+                       "alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("Add new note")></span>
+               </a>
+       </li>
+<??("X", 60)>
+        
+<?!("COND:THISROOM:CURR_VIEW", 70, #"VIEW_MAILBOX")>
+       <li class="readallmess">
+               <a id="m_refresh" href="readfwd">
+                       <img src="static/readallmess3_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("Refresh message list")></span>
+               </a>
+       </li>
+       <li class="readallmess">
+               <a href="readfwd">
+                       <img src="static/readallmess3_24x.gif" "alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("Read all messages")></span>
+               </a>
+       </li>
+       <li class="newmess">
+               <a href="display_enter">
+                       <img  src="static/newmess3_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("Write mail")></span>
+               </a>
+       </li>
+<??("X", 70)>
+
+<?!("COND:THISROOM:CURR_VIEW", 80, #"VIEW_WIKI")>
+       <li class="readallmess">
+               <a href="wiki?page=home">
+                       <img src="static/readallmess3_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("Wiki home")></span>
+               </a>
+       </li>
+       <?!("COND:WIKI:PAGE", 82, #"home")>
+               <li class="newmess">
+                               <a href="display_enter<?BSTR:FORWARD("page", "U")>">
+                                       <img  src="static/newmess3_24x.gif" alt="" width="24" height="24">
+                                       <span class="navbar_link"><?_("Edit this page")></span>
+                               </a>
+                       </li>
+       <??("X", 82)>
+               <li class="newmess">
+                       <a href="wiki<?%("COND:WIKI:TYPE", 84, "wiki_history", "wut?", "", "_history")><?BSTR:FORWARD("page", "U")>">
+                               <img  src="static/newmess3_24x.gif" alt="" width="24" height="24">
+                               <span class="navbar_link"><?%("COND:WIKI:TYPE", 86, "wiki_history", "wut?", '_("Current version")', '_("History")')></span>
+                       </a>
+               </li>
+<??("X", 80)>
+       
+       <li class="skipthisroom">
+               <a href="skip" title="<?_("Leave all messages marked as unread, go to next room with unread messages")>">
+                       <img  src="static/skipthisroom_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><?_("Skip this room")></span>
+               </a>
+       </li>
+       <li class="markngo">
+               <a href="gotonext" title="<?_("Mark all messages as read, go to next room with unread messages")>">
+                       <img  src="static/markngo_24x.gif" alt="" width="24" height="24">
+                       <span class="navbar_link"><_("Goto next room")></span></a>
+       </li>
+</ul></div>