* Stats top frame now has styling so you can actually see the buttons.
* Redirect to the canonical_hostname page, so we actually go to the right place.
Updated MANIFEST.
Bumped version for release.
html/_css/markup.css
html/_css/print.css
html/_css/standard.css
+html/_css/stats.css
html/_css/tables.css
html/_css/users.css
html/_css/visualise_links.css
-cocanwiki (1.3.2-1) unstable; urgency=low
+cocanwiki (1.3.2-2) unstable; urgency=low
* Initial Release.
--- /dev/null
+/* $Id: stats_top.css,v 1.1 2004/10/23 16:34:58 rich Exp $ */
+
+body {
+ background: #fff;
+ color: #000;
+ font-family: trebuchet ms, palatino, georgia, arial, helvetica, sans-serif;
+}
+
+/* Menus. */
+ul.menu {
+ padding: 0px;
+ margin-left: 1em;
+ list-style: none;
+}
+
+ul.menu li {
+ display: inline;
+ border-left: 1px solid #666;
+ padding-left: 5px;
+}
+
+ul.menu li.first {
+ border-left: none;
+ padding-left: 0px;
+}
(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: stats.ml,v 1.2 2004/10/07 16:54:24 rich Exp $
+ * $Id: stats.ml,v 1.3 2004/10/23 16:34:58 rich Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
open Cocanwiki_template
open Cocanwiki_server_settings
-let run r (q : cgi) (dbh : Dbi.connection) hostid { hostname = hostname } _ =
+let run r (q : cgi) (dbh : Dbi.connection) hostid
+ { canonical_hostname = canonical_hostname } _ =
let template = get_template dbh hostid "stats.html" in
let page = q#param "page" in
template#set "page" page;
template#set "url" url;
template#set "hash" h;
- template#set "hostname" hostname;
+ template#set "hostname" canonical_hostname;
q#template template
(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: stats_top.ml,v 1.1 2004/09/23 15:16:21 rich Exp $
+ * $Id: stats_top.ml,v 1.2 2004/10/23 16:34:58 rich Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
open Cocanwiki_template
open Cocanwiki_server_settings
-let run r (q : cgi) (dbh : Dbi.connection) hostid { hostname = hostname } _ =
+let run r (q : cgi) (dbh : Dbi.connection) hostid
+ { canonical_hostname = canonical_hostname } _ =
let template = get_template dbh hostid "stats_top.html" in
let page = q#param "page" in
| Some s -> s in
template#set "stats_page" stats_page;
- template#set "hostname" hostname;
+ template#set "hostname" canonical_hostname;
template#set "page" page;
q#template template
<link rel="stylesheet" href="::theme_css_html_tag::" type="text/css" title="Standard"/>
<link rel="alternate stylesheet" href="/_css/easytoread.css" type="text/css" title="High contrast, big fonts"/>
</head>
-<frameset rows="10%, 90%">
- <frame src="/_bin/stats_top.cmo?page=::page_url::" name="top_frame"/>
+<frameset rows="5%, 95%">
+ <frame src="/_bin/stats_top.cmo?page=::page_url::" name="top_frame" scrolling="auto"/>
<frame src="::stats_page_html_tag::::hostname_html_tag::/::year::W::week::/page-::hash_html_tag::.html" name="stats_frame"/>
<noframes>
<title>Stats navigation frame</title>
<meta name="robots" content="noindex,nofollow"/>
<meta name="author" content="http://www.merjis.com/" />
-<link rel="stylesheet" href="::theme_css_html_tag::" type="text/css" title="Standard"/>
-<link rel="alternate stylesheet" href="/_css/easytoread.css" type="text/css" title="High contrast, big fonts"/>
+<link rel="stylesheet" href="/_css/stats_top.css" type="text/css" title="Standard"/>
</head><body>
<ul class="menu">