From b5e78e538941875bad9aa577581d218b470e5aeb Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 10 Jul 2015 11:51:32 +0200 Subject: [PATCH] =?UTF-8?q?Formatting,=20refactoring=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- accountant/frontend/templates/index.html | 152 ++++++++++++++++------- 1 file changed, 110 insertions(+), 42 deletions(-) diff --git a/accountant/frontend/templates/index.html b/accountant/frontend/templates/index.html index 4afac4e..672ed88 100644 --- a/accountant/frontend/templates/index.html +++ b/accountant/frontend/templates/index.html @@ -1,3 +1,4 @@ +{# vim: set tw=80 ts=2 sw=2 sts=2: #} {# This file is part of Accountant. @@ -16,6 +17,7 @@ #} {% extends "layout.html" %} {% block body %} +
@@ -32,69 +34,130 @@ - Date d'op. + Date d'op. Libellé de l'opération - Montant - Solde - Catégorie - Actions + Montant + Solde + Catégorie + Actions - - - - - [[entry.operation_date]] - + {# The new entry row. #} + + + - - - [[entry.label]] - + - - - - [[entry.value]] - + + - - - [[entry.sold]] - + + - - - - - [[entry.category]] - + + - -
- - -
+ + -
+ {# Row for an editing entry. #} + + + + + + + + + + + + + + + [[entry.sold]] + + + + + + + +
+ + + + + +
+ + + + {# Row for a displayed entry. #} + + + [[entry.operation_date | date:"yyyy-MM-dd"]] + + + + [[entry.label]] + + + + [[entry.value]] + + + + [[entry.sold]] + + + + [[entry.category]] + + + + {# Button group for a saved entry. #} +
@@ -103,21 +166,26 @@ -
-
+ {# Button group for an unsaved (scheduled) entry. #} +
-