Add a footer with some links to the Web pages.

This commit is contained in:
John "Elwin" Edwards 2014-01-02 13:58:05 -05:00
parent f272772dcb
commit 41eab38a58
13 changed files with 31 additions and 2 deletions

View file

@ -42,7 +42,13 @@ cell = ' <span class="sdata">{0}</span>\n'
rcell = ' <span class="sdatar">{0}</span>\n' rcell = ' <span class="sdatar">{0}</span>\n'
hcell = ' <span class="shdata">{0}</span>\n' hcell = ' <span class="shdata">{0}</span>\n'
tblend = '</div>\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 # This would be more useful if we had to do translation
headerbook = {"endt":"End time", "score":"Score", "name":"Name", "xl":"XL", headerbook = {"endt":"End time", "score":"Score", "name":"Name", "xl":"XL",

View file

@ -16,5 +16,6 @@ up and down levels.</p>
<p>The <a href="http://rogue.rogueforge.net/">Roguelike Restoration Project</a> updated the game to run on modern systems.</p> <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> <p>The Roguelike Gallery's version contains a few more bugfixes. <a href="/download.html">Download it here.</a></p>
</div> </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> </body>
</html> </html>

View file

@ -28,5 +28,6 @@
data is stored using <a href="http://www.postgresql.org/">PostgreSQL</a>.</p> 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> <p>The Web player was created with <a href="http://nodejs.org/">node.js</a>.</p>
</div> </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> </body>
</html> </html>

View file

@ -15,5 +15,6 @@ and distributed with BSD. This was the first widely-played version of Rogue.</p>
<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 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> <p>The <a href="/files/roguelike-r109-src.tgz">source code</a> can be downloaded.</p>
</div> </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> </body>
</html> </html>

View file

@ -15,5 +15,6 @@ and distributed with BSD. It is called V4 because it has more in common with the
<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 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> <p>The <a href="/files/roguelike-r109-src.tgz">source code</a> can be downloaded.</p>
</div> </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> </body>
</html> </html>

View file

@ -15,5 +15,6 @@ created for Unix.</p>
<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 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> <p>The source code is <a href="/files/roguelike-r109-src.tgz">available for download</a>.</p>
</div> </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> </body>
</html> </html>

View file

@ -16,5 +16,6 @@ final version, numbered 9.0, was completed in 1984.</p>
<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 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> <p>The source code is <a href="/files/roguelike-r109-src.tgz">available for download</a>.</p>
</div> </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> </body>
</html> </html>

View file

@ -25,5 +25,6 @@ wrong places, try making your terminal bigger. Unfortunately, ttyrecs don't tell
<span class="metavar">&lt;escape&gt;</span>[1;<span class="metavar">&lt;number of rows&gt;</span>r )</p> <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> <p>Note: if you are using ipbt, you must also tell ipbt what size terminal to use. Check ipbt's documentation.</p>
</div> </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> </body>
</html> </html>

View file

@ -358,5 +358,6 @@ else:
sys.stdout.write('<p>Or <a href="/ttyrecs/">browse all ttyrecs</a>.</p>') 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('<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() exit()

View file

@ -25,5 +25,6 @@ free MacBook and $100 for an Apple Developer account.</p>
<h2>Bugs?</h2> <h2>Bugs?</h2>
<p>If you find any problems, report them on <a href="https://bitbucket.org/ElwinR/rl/issues">Bitbucket</a>.</p> <p>If you find any problems, report them on <a href="https://bitbucket.org/ElwinR/rl/issues">Bitbucket</a>.</p>
</div> </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> </body>
</html> </html>

View file

@ -36,5 +36,6 @@ of historical roguelikes is being restored and made available for play on this s
<p><strong>Feb. 2, 2012</strong>: Everything should be recovered from the failed upgrade. Please report any problems.</p> <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> <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>
<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> </body>
</html> </html>

View file

@ -43,3 +43,15 @@ form div {
span.metavar { span.metavar {
font-style: italic; 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;
}

View file

@ -15,5 +15,6 @@
<li><a href="./players/">Explorers</a></li> <li><a href="./players/">Explorers</a></li>
</ul> </ul>
</div> </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> </body>
</html> </html>