Add new style and fix up HTML to avoid boilerplate
[hcoop/zz_old/portal.git] / header.mlt
index 12510cc..25dc60a 100644 (file)
@@ -1,11 +1,82 @@
-<html><head>
 <% val title =
        case $"title" of
                  "" => "HCoop Portal"
                | t => ("HCoop Portal: " ^ t) %>
+<html><head>
+<link rel="stylesheet" type="text/css" href="http://hcoop.net/hcoop.css" />
 <title><% Web.html title %></title>
 </head><body>
 
-<a href="portal">Return to main page</a>
+<div class="main">
+
+<div class="title">
+<img class="globe" src="http://hcoop.net/globe.gif" />
+<h1><% Web.html title %></h1>
+</div>
+
+<div class="break"></div>
+<div class="sidebar">
+
+<% if Group.inGroupNum 0 then %>
+<div class="sbgroup">
+Admin<br />
+<li> <a href="apps?cmd=approved">Approved applicants waiting for accounts</a></li>
+<li> <a href="users">Members</a></li>
+<li> <a href="groups">Groups</a></li>
+<li> <a href="balances">Balances</a></li>
+<li> <a href="kind">Contact kinds</a></li>
+<li> <a href="roll">Roll call!</a></li>
+</div>
+<% end %>
+
+<div class="sbgroup">
+Your account<br />
+<li> <a href="pref">Preferences</a></li>
+<li> <a href="money">Financial</a></li>
+<li> <a href="sec">Security settings</a></li>
+<li> <a href="contact">Contact information</a></li>
+<li> <a href="location">Your geographic locations</a></li>
+<li> <a href="link">Public URL directory</a></li>
+</div>
+
+<div class="sbgroup">
+Support requests<br />
+<li> <a href="domain">Request control of a domain with domtool</a></li>
+<li> <a href="apt">Request Debian apt packages</a></li>
+<li> <a href="list">Request a Mailman mailing list</a></li>
+<li> <a href="support">Other support request</a></li>
+</div>
+
+<div class="sbgroup">
+Statistics<br />
+<li> <a href="webbw">Apache bandwidth</a></li>
+<li> <a href="quotas">Disk usage</a></li>
+</div>
+
+<div class="sbgroup">
+Public pages<br />
+<li> <a href="http://hcoop.net/dyn/members.html">Member directory</a></li>
+<li> <a href="http://hcoop.net/dyn/locs.html">Member location summary</a></li>
+<li> <a href="http://hcoop.net/dyn/sites.html">URL directory</a></li>
+</div>
+
+<div class="sbgroup">
+Miscellaneous<br />
+<li> <a href="apps">Review pending membership applications</a></li>
+<li> <a href="dir">Contact information directory</a></li>
+<li> <a href="poll">Polls</a></li>
+</div>
+
+<div class="sbgroup">
+Other services<br />
+<li> <a href="/webalizer/">Webalizer</a></li>
+<li> <a href="/mrtg/">MRTG statistics</a></li>
+<li> <a href="http://nms.interserver.net/cac/nms.php?server_name=bmV3Lmhjb29wLm5ldA==">InterServer bandwidth statistics</a></li>
+<li> <a href="/usermin/">Usermin</a></li>
+<li> <a href="/squirrel/">SquirrelMail</a></li>
+<li> <a href="/passwd">Change vmail passwords</a></li>
+</div>
+
+</div>
 
-<h2><b><% Web.html title %></b></h2>
+<div class="main2">