added and revised templates
This commit is contained in:
1 parent
7bf2881145
commit
4c6310343d
4 files changed
+51
-4
No files matched your search
+2
-2
@@ -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