]> Nishi Git Mirror - mandshurica.git/commitdiff
add info page
authornishi <nishi@f982e544-4a7d-3444-ad1a-fde59a2a69f1>
Sat, 11 May 2024 02:05:27 +0000 (02:05 +0000)
committernishi <nishi@f982e544-4a7d-3444-ad1a-fde59a2a69f1>
Sat, 11 May 2024 02:05:27 +0000 (02:05 +0000)
git-svn-id: file:///raid/svn-main/nishi-mandshurica/trunk@81 f982e544-4a7d-3444-ad1a-fde59a2a69f1

Webroot/bar.html
Webroot/end.html
Webroot/info/index.html.tmpl [new file with mode: 0644]

index 4f2e15439986e80ded257a54ee4ed5327b7fe249..5b735f0e5346bfd76f8043d7ff55a9230487ed3b 100644 (file)
@@ -1,3 +1,3 @@
 <hr>
-<a href="/">Home</a>@if login@ | <a href="/manage">Manage</a>@endif@@ifnot login@ | <a href="/login">Login</a>@endif@@if login@ | <a href="/logout">Logout</a>@endif@
+<a href="/">Home</a>@if login@ | <a href="/manage">Manage</a>@endif@ | <a href="/info">Info</a> | @ifnot login@<a href="/login">Login</a>@endif@@if login@<a href="/logout">Logout</a>@endif@
 <hr>
index 7fb2bd61bf20fdc022eeaaff4aa91f4763fd9df2..becbb42b43cf4f04e72e9bfdd9fe836a061ac600 100644 (file)
@@ -1,2 +1,4 @@
+               <hr>
+               <i>Running Mandshurica version @version@</i>
        </body>
 </html>
diff --git a/Webroot/info/index.html.tmpl b/Webroot/info/index.html.tmpl
new file mode 100644 (file)
index 0000000..b75da9c
--- /dev/null
@@ -0,0 +1,10 @@
+<!--@chdir_webroot@
+vim: syntax=html
+-->
+@include head-start.html@
+<title>Mandshurica - Info</title>
+@include body-start.html@
+<h1>Mandshurica - Info</h1>
+@include bar.html@
+<a href="http://nishi.boats/mandshurica"><img src="/mandshurica.gif"></a> This is running Mandshurica, version @version@
+@include end.html@