comparison py/rlgall.py @ 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
comparison
equal deleted inserted replaced
33:25843238434a 34:86b616d88020
40 rowend = '</div>\n' 40 rowend = '</div>\n'
41 cell = ' <span class="sdata">{0}</span>\n' 41 cell = ' <span class="sdata">{0}</span>\n'
42 rcell = ' <span class="sdatar">{0}</span>\n' 42 rcell = ' <span class="sdatar">{0}</span>\n'
43 hcell = ' <span class="shdata">{0}</span>\n' 43 hcell = ' <span class="shdata">{0}</span>\n'
44 tblend = '</div>\n' 44 tblend = '</div>\n'
45 pend = "</body></html>\n" 45 pend = """<div class="foot">
46 <a href="/">rlgallery.org</a>
47 <a href="/recent.cgi">Recent Games</a>
48 <a href="/scoring/highscores.html">High Scores</a>
49 </div>
50 </body></html>
51 """
46 52
47 # This would be more useful if we had to do translation 53 # This would be more useful if we had to do translation
48 headerbook = {"endt":"End time", "score":"Score", "name":"Name", "xl":"XL", 54 headerbook = {"endt":"End time", "score":"Score", "name":"Name", "xl":"XL",
49 "fate":"Fate", "rank":"Rank", "game":"Game", "class": "Class"} 55 "fate":"Fate", "rank":"Rank", "game":"Game", "class": "Class"}
50 # Queries for the games table 56 # Queries for the games table