Roll call system, and update forms to method=post
[hcoop/portal.git] / portal.mlt
index 0b4f014..0528e2f 100644 (file)
@@ -2,6 +2,31 @@
 val bal = Balance.lookupBalance (#bal you);
 @header [] %>
 
+<% if Group.inGroupNum 0 then %>
+<b><h3>Admin</h3></b>
+<a href="apps?cmd=approved">Approved applicants waiting for accounts</a><br>
+<a href="users">Members</a><br>
+<a href="groups">Groups</a><br>
+<a href="balances">Balances</a><br>
+<a href="kind">Contact kinds</a><br>
+<a href="roll">Roll call!</a><br>
+<% end %>
+
+<b><h3>Your account</h3></b>
+
+<a href="pref">Preferences</a><br>
+<a href="money">Financial</a><br>
+<a href="contact">Contact information</a><br>
+<a href="location">Your geographic locations</a><br>
+<a href="link">Public URL directory</a><br>
+
+<b><h3>Support requests</h3></b>
+
+<a href="domain">Request control of a domain with domtool</a><br>
+<a href="apt">Request Debian apt packages</a><br>
+<a href="list">Request a Mailman mailing list</a><br>
+<a href="support">Other support request</a><br>
+
 <h3><b><a href="money">Your recent account activity</a></b></h3>
 
 <table>
@@ -20,4 +45,40 @@ val bal = Balance.lookupBalance (#bal you);
 (<% Web.html (#starts pol) %> to <% Web.html (#ends pol) %>)</li>
 <% end %>
 
+<h3><b><a href="support">Open support issues</a></b></h3>
+
+<% foreach (name, issue) in Support.listOpenIssues (#id you) do %>
+<a href="user?id=<% #usr issue %>"><% name %></a>: <a href="issue?cat=<% #cat issue %>&id=<% #id issue %>"><% Web.html (#title issue) %></a>
+<% switch #status issue of
+         Support.NEW => %>(New)<%
+       | Support.PENDING => %>(Pending)<%
+       | Support.CLOSED => %>(Closed)<%
+end %>
+<br>
+<% end %>
+
+<h3><b>Statistics</b></h3>
+
+<a href="webbw">Apache bandwidth</a><br>
+<a href="quotas">Disk usage</a><br>
+
+<h3><b>Public pages</b></h3>
+
+<a href="http://hcoop.net/dyn/members.html">Member directory</a><br>
+<a href="http://hcoop.net/dyn/locs.html">Member location summary</a><br>
+<a href="http://hcoop.net/dyn/sites.html">URL directory</a><br>
+
+<h3><b>Miscellaneous</b></h3>
+
+<a href="apps">Review pending membership applications</a><br>
+<a href="dir">Contact information directory</a><br>
+<a href="poll">Polls</a><br>
+
+<h3><b>Other services</b></h3>
+
+<a href="/webalizer/">Webalizer</a><br>
+<a href="/mrtg/">MRTG statistics</a><br>
+<a href="/usermin/">Usermin</a><br>
+<a href="/squirrel/">SquirrelMail</a><br>
+
 <% @footer [] %>
\ No newline at end of file