Browse Source

Add dummy backend

marches
Josh Gordon 3 years ago
parent
commit
b576b08142
  1. 6
      app/routes.py

6
app/routes.py

@ -64,7 +64,11 @@ def marches():
@app.route("/marches/worlds/<world>")
def marchWorld(world):
worldDir = "../Worlds/"+world
return render_template("marchWorld.html",worldname=world)
#copy <worldname>.png from world.png into static
player_list = ["INVALID1","INVALID2","INVALID3"]
image_map = [(10,20,35),(50,40,20)] #(x,y,r)
log_list = [("5/3/19",[("Josh Gordon","bottom text"),("Anthony Rinaldo","lorem ipsum")])] # :: [(Date,[(CharacterName,String)])]
return render_template("marchWorld.html",worldname=world,players=player_list,imap=image_map,logs=log_list)
def bucket_route(uri, dir, sing=None):
if sing is None:

Loading…
Cancel
Save