diff --git a/add.html b/add.html index 369bed9..3dd96f5 100755 --- a/add.html +++ b/add.html @@ -56,29 +56,31 @@ Expires: $(LC_ALL=C TZ=GMT date +'%a, %d %b %Y %X %Z') "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> - IngRRD - Add data + IngRRD - $webuser - Add data + -
- +
+
- -
+ EOHTML diff --git a/index b/index index 94e1281..6495b66 100755 --- a/index +++ b/index @@ -60,6 +60,15 @@ fi if [ -z "$graph" ] then + if (( show_all )) + then + title="IngRRD - $webuser - History & Trend: All stats" + elif (( show_graphs )) + then + title="IngRRD - $webuser - History & Trend: Badges" + else + title="IngRRD - $webuser - Overview" + fi cat <<-EOHTML content-type: application/xhtml+xml Last-Modified: $( @@ -75,39 +84,40 @@ then "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> - IngRRD - Graph + $title + -
+
EOHTML if (( ! show_graphs )) then cat <<-EOHTML -
- +
- -