Updates all styles save for the tooltip and tracker, which are forthcoming. I just really wanted to commit all these changes.

This commit is contained in:
Chris Wilson
2020-11-30 21:15:47 -05:00
parent 7891c2761f
commit bd3b419de0
38 changed files with 300 additions and 131 deletions

View File

@@ -55,7 +55,7 @@ def uploads():
for patch in patches:
patch.seed = seed
return redirect(url_for("view_seed", seed=seed.id))
return redirect(url_for("viewSeed", seed=seed.id))
else:
flash("No multidata was found in the zip file, which is required.")
else:
@@ -66,12 +66,12 @@ def uploads():
else:
seed = Seed(multidata=multidata, owner=session["_id"])
commit() # place into DB and generate ids
return redirect(url_for("view_seed", seed=seed.id))
return redirect(url_for("viewSeed", seed=seed.id))
else:
flash("Not recognized file format. Awaiting a .multidata file.")
rooms = select(room for room in Room if room.owner == session["_id"])
return render_template("uploads.html", rooms=rooms)
return render_template("hostGame.html", rooms=rooms)
def allowed_file(filename):
return filename.endswith(('multidata', ".zip"))
return filename.endswith(('multidata', ".zip"))