changeset 34:86b616d88020

Add a footer with some links to the Web pages.
author John "Elwin" Edwards
date Thu, 02 Jan 2014 13:58:05 -0500
parents 25843238434a
children 6592cdd1fceb
files py/rlgall.py web/about/arogue5.html web/about/index.html web/about/rogue3.html web/about/rogue4.html web/about/rogue5.html web/about/srogue.html web/about/ttyrec.html web/archive.cgi web/download.html web/index.html web/main.css web/scoring/index.html
diffstat 13 files changed, 31 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/py/rlgall.py	Thu Jan 02 13:09:48 2014 -0500
+++ b/py/rlgall.py	Thu Jan 02 13:58:05 2014 -0500
@@ -42,7 +42,13 @@
 rcell = '  <span class="sdatar">{0}</span>\n'
 hcell = '  <span class="shdata">{0}</span>\n'
 tblend = '</div>\n'
-pend = "</body></html>\n"
+pend = """<div class="foot">
+<a href="/">rlgallery.org</a>
+<a href="/recent.cgi">Recent Games</a>
+<a href="/scoring/highscores.html">High Scores</a>
+</div>
+</body></html>
+"""
 
 # This would be more useful if we had to do translation
 headerbook = {"endt":"End time", "score":"Score", "name":"Name", "xl":"XL", 
--- a/web/about/arogue5.html	Thu Jan 02 13:09:48 2014 -0500
+++ b/web/about/arogue5.html	Thu Jan 02 13:58:05 2014 -0500
@@ -16,5 +16,6 @@
 <p>The <a href="http://rogue.rogueforge.net/">Roguelike Restoration Project</a> updated the game to run on modern systems.</p>
 <p>The Roguelike Gallery's version contains a few more bugfixes. <a href="/download.html">Download it here.</a></p>
 </div>
+<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
 </body>
 </html> 
--- a/web/about/index.html	Thu Jan 02 13:09:48 2014 -0500
+++ b/web/about/index.html	Thu Jan 02 13:58:05 2014 -0500
@@ -28,5 +28,6 @@
 data is stored using <a href="http://www.postgresql.org/">PostgreSQL</a>.</p>
 <p>The Web player was created with <a href="http://nodejs.org/">node.js</a>.</p>
 </div>
+<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
 </body>
 </html> 
--- a/web/about/rogue3.html	Thu Jan 02 13:09:48 2014 -0500
+++ b/web/about/rogue3.html	Thu Jan 02 13:58:05 2014 -0500
@@ -15,5 +15,6 @@
 <p>The Roguelike Gallery's version has been further modified to work with dgamelaunch and to log the results of all games.</p>
 <p>The <a href="/files/roguelike-r109-src.tgz">source code</a> can be downloaded.</p>
 </div>
+<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
 </body>
 </html> 
--- a/web/about/rogue4.html	Thu Jan 02 13:09:48 2014 -0500
+++ b/web/about/rogue4.html	Thu Jan 02 13:58:05 2014 -0500
@@ -15,5 +15,6 @@
 <p>The Roguelike Gallery's version has been further modified to work with dgamelaunch and to log the results of all games.</p>
 <p>The <a href="/files/roguelike-r109-src.tgz">source code</a> can be downloaded.</p>
 </div>
+<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
 </body>
 </html> 
--- a/web/about/rogue5.html	Thu Jan 02 13:09:48 2014 -0500
+++ b/web/about/rogue5.html	Thu Jan 02 13:58:05 2014 -0500
@@ -15,5 +15,6 @@
 <p>The Roguelike Gallery's version has been further modified to work with dgamelaunch and to log the results of all games.</p>
 <p>The source code is <a href="/files/roguelike-r109-src.tgz">available for download</a>.</p>
 </div>
+<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
 </body>
 </html> 
--- a/web/about/srogue.html	Thu Jan 02 13:09:48 2014 -0500
+++ b/web/about/srogue.html	Thu Jan 02 13:58:05 2014 -0500
@@ -16,5 +16,6 @@
 <p>The Roguelike Gallery modified Super-Rogue to work with rlgallery.org's system, fixed a few bugs which made winning easy, and added support for the arrow keys.</p>
 <p>The source code is <a href="/files/roguelike-r109-src.tgz">available for download</a>.</p>
 </div>
+<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
 </body>
 </html> 
--- a/web/about/ttyrec.html	Thu Jan 02 13:09:48 2014 -0500
+++ b/web/about/ttyrec.html	Thu Jan 02 13:58:05 2014 -0500
@@ -25,5 +25,6 @@
 <span class="metavar">&lt;escape&gt;</span>[1;<span class="metavar">&lt;number of rows&gt;</span>r )</p>
 <p>Note: if you are using ipbt, you must also tell ipbt what size terminal to use. Check ipbt's documentation.</p>
 </div>
+<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
 </body>
 </html> 
--- a/web/archive.cgi	Thu Jan 02 13:09:48 2014 -0500
+++ b/web/archive.cgi	Thu Jan 02 13:58:05 2014 -0500
@@ -358,5 +358,6 @@
 
 sys.stdout.write('<p>Or <a href="/ttyrecs/">browse all ttyrecs</a>.</p>')
 sys.stdout.write('<p><a href="/about/ttyrec.html">What are ttyrecs?</a></p>')
-sys.stdout.write("</div>\n</body>\n</html>\n")
+sys.stdout.write('</div>\n')
+sys.stdout.write(rlgall.pend)
 exit()
--- a/web/download.html	Thu Jan 02 13:09:48 2014 -0500
+++ b/web/download.html	Thu Jan 02 13:58:05 2014 -0500
@@ -25,5 +25,6 @@
 <h2>Bugs?</h2>
 <p>If you find any problems, report them on <a href="https://bitbucket.org/ElwinR/rl/issues">Bitbucket</a>.</p>
 </div>
+<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
 </body>
 </html> 
--- a/web/index.html	Thu Jan 02 13:09:48 2014 -0500
+++ b/web/index.html	Thu Jan 02 13:58:05 2014 -0500
@@ -36,5 +36,6 @@
 <p><strong>Feb. 2, 2012</strong>: Everything should be recovered from the failed upgrade. Please report any problems.</p>
 <p><strong>Feb. 4, 2011</strong>: Some updates to the website. The <a href="/archive.cgi">ttyrec finder</a> is now usable.</p>
 </div>
+<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
 </body>
 </html> 
--- a/web/main.css	Thu Jan 02 13:09:48 2014 -0500
+++ b/web/main.css	Thu Jan 02 13:58:05 2014 -0500
@@ -43,3 +43,15 @@
 span.metavar {
 	font-style: italic;
 }
+
+div.foot {
+	margin-top: 1em;
+	font-size: 0.8em;
+	background-color: #E0FFE0;
+	padding: 0.3em;
+	text-align: center;
+}
+
+div.foot a {
+	padding: 0 0.6em;
+}
--- a/web/scoring/index.html	Thu Jan 02 13:09:48 2014 -0500
+++ b/web/scoring/index.html	Thu Jan 02 13:58:05 2014 -0500
@@ -15,5 +15,6 @@
 <li><a href="./players/">Explorers</a></li>
 </ul>
 </div>
+<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
 </body>
 </html>