added and revised templates
This commit is contained in:
@@ -32,11 +32,11 @@ def renderindex(template):
|
||||
|
||||
def main():
|
||||
template = ""
|
||||
with open("template.html", 'r') as fin:
|
||||
with open("templates/overview.html", 'r') as fin:
|
||||
template = fin.read()
|
||||
renderindex(template)
|
||||
maps = getmaps("db/cts.db")
|
||||
with open("template_map.html", 'r') as fin:
|
||||
with open("templates/map.html", 'r') as fin:
|
||||
template = fin.read()
|
||||
# for each map generate an html file.
|
||||
for game_map in maps:
|
||||
|
||||
Reference in New Issue
Block a user