From 9b767ec1ea5a6e3e93141f68c4827e9f40a1fc76 Mon Sep 17 00:00:00 2001 From: joachim lusiardi Date: Fri, 13 Mar 2015 22:40:27 +0100 Subject: [PATCH] little design work --- app/static/main.css | 2 +- app/templates/newPitStopForm.html | 58 ++++++++++++------------------- app/templates/pitstops.html | 1 - app/templates/statistics.html | 1 - 4 files changed, 23 insertions(+), 39 deletions(-) diff --git a/app/static/main.css b/app/static/main.css index 29c3360..96dbdf5 100644 --- a/app/static/main.css +++ b/app/static/main.css @@ -19,7 +19,7 @@ td { } .error { - color: red; + color: #a94442; } .pitstop { diff --git a/app/templates/newPitStopForm.html b/app/templates/newPitStopForm.html index 4fc3212..e27139f 100644 --- a/app/templates/newPitStopForm.html +++ b/app/templates/newPitStopForm.html @@ -1,61 +1,47 @@ {% extends "layout.html" %} {% block navigation %} -
  • Home
  • Create Pitstop
  • Statistics
  • {% endblock %} {% block body %} -
    -
    - - - Create Pitstop + -
    - -
    - - {% if data.error['date'] %} -

    {{ data.error['date'] }}

    - {% endif %} -
    -
    - - -
    - -
    - - {% if data.error['odometer'] %} -

    {{ data.error['odometer'] }}

    - {% endif %} +
    + +
    + +

    {{ data.error['date'] }}

    -
    - -
    - - {% if data.error['litres'] %} -

    {{ data.error['litres'] }}

    - {% endif %} +
    + +
    + +

    {{ data.error['odometer'] }}

    +
    +
    + + +
    + +
    + +

    {{ data.error['litres'] }}

    -
    - +
    - +
    - -
    {% endblock %} \ No newline at end of file diff --git a/app/templates/pitstops.html b/app/templates/pitstops.html index 7517545..a6b77e3 100644 --- a/app/templates/pitstops.html +++ b/app/templates/pitstops.html @@ -1,7 +1,6 @@ {% extends "layout.html" %} {% block navigation %} -
  • Home
  • Create Pitstop
  • Statistics
  • {% endblock %} diff --git a/app/templates/statistics.html b/app/templates/statistics.html index d54b457..18f0eea 100644 --- a/app/templates/statistics.html +++ b/app/templates/statistics.html @@ -1,7 +1,6 @@ {% extends "layout.html" %} {% block navigation %} -
  • Home
  • Create Pitstop
  • Statistics
  • {% endblock %}