diff --git a/app.py b/app.py index 006a6a8..0053970 100644 --- a/app.py +++ b/app.py @@ -265,7 +265,7 @@ def player_list(): ("hex_id", "Hex ID"), ], } - return render_template("players.html", model=model) + return render_template("player_list.html", model=model) @app.route("/drinks") @@ -278,7 +278,7 @@ def drink_list(): "columns": [("id", "ID"), ("name", "Drink Name"), ("vol", "Alcohol %")], "controls": [("edit", "Edit")], } - return render_template("drinks.html", model=model) + return render_template("drink_list.html", model=model) @app.route("/drinks//edit", methods=["GET"]) diff --git a/static/custom.css b/static/custom.css index 7fdf27c..4168bb2 100644 --- a/static/custom.css +++ b/static/custom.css @@ -51,6 +51,10 @@ a:hover { font-family: 'DarkSouls', serif; } +.btn-toolbar{ + padding: 5px 0; +} + .vertical-center { min-height: 100%; /* Fallback for browsers do NOT support vh unit */ min-height: 100vh; /* These two lines are counted as one :-) */ diff --git a/templates/drinks.html b/templates/drink_list.html similarity index 95% rename from templates/drinks.html rename to templates/drink_list.html index 1319efc..4cdf318 100644 --- a/templates/drinks.html +++ b/templates/drink_list.html @@ -5,7 +5,7 @@ {% block page %} {% if g.is_editor %} {% endif %} {% if not model.drinks %} diff --git a/templates/players.html b/templates/player_list.html similarity index 95% rename from templates/players.html rename to templates/player_list.html index 2bd3124..e70fbed 100644 --- a/templates/players.html +++ b/templates/player_list.html @@ -5,7 +5,7 @@ {% block page %} {% if g.is_editor %} {% endif %} {% if not model.player_list %}