diff --git a/app/templates/account.html b/app/templates/account.html index 43a0d33..e408636 100644 --- a/app/templates/account.html +++ b/app/templates/account.html @@ -5,7 +5,7 @@
Password
- + Change
@@ -13,7 +13,7 @@
Vehicles
@@ -40,11 +40,11 @@ {{ vehicle.consumables | length }} consumables - + edit {% if current_user.vehicles | length > 1 %} - + delete {% else %} @@ -59,7 +59,7 @@
Account
diff --git a/app/templates/admin.html b/app/templates/admin.html index 8bee9ef..5092c2e 100644 --- a/app/templates/admin.html +++ b/app/templates/admin.html @@ -16,7 +16,7 @@
Consumables
@@ -38,22 +38,16 @@ {% for consumable in consumables %} - - {{ consumable.name }} - - - {{ consumable.unit }} - - - {{ consumable.vehicles | length }} vehicles - + {{ consumable.name }} + {{ consumable.unit }} + {{ consumable.vehicles | length }} vehicles {% if not consumable.in_use %} - + delete {% endif %} - + edit diff --git a/app/templates/editConsumableForm.html b/app/templates/editConsumableForm.html index 97510d5..cea6d0e 100644 --- a/app/templates/editConsumableForm.html +++ b/app/templates/editConsumableForm.html @@ -5,7 +5,7 @@
-

Edit consumable

+

Edit consumable

{{ form.hidden_tag() }} {{ render_field_with_errors(form.name) }} diff --git a/app/templates/layout.html b/app/templates/layout.html index fc5929b..49a4383 100644 --- a/app/templates/layout.html +++ b/app/templates/layout.html @@ -1,15 +1,15 @@ {% macro navigation() -%} {% if current_user.email %} -
  • Create Pitstop
  • -
  • Statistics
  • -
  • Account
  • +
  • Create Pitstop
  • +
  • Statistics
  • +
  • Account
  • {% if current_user.has_role('admin') %} -
  • Admin
  • +
  • Admin
  • {% endif %} -
  • Logout
  • +
  • Logout
  • {% else %} -
  • Login
  • -
  • Register
  • +
  • Login
  • +
  • Register
  • {% endif %} {%- endmacro %}