From 299731a0cef7462dd8c17bde7ba1a4aeb6f211cd Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 15 Mar 2017 20:02:53 +0100 Subject: Implement inventory ids --- templates/default-layout.cassius | 10 +++++++++- templates/inventoryListing.hamlet | 4 ++++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/default-layout.cassius b/templates/default-layout.cassius index bd76a01..61a4046 100644 --- a/templates/default-layout.cassius +++ b/templates/default-layout.cassius @@ -31,6 +31,12 @@ text-align: center padding: 0.25em color: #aaa +.itemId + display: table-cell + text-align: left + padding: 0.25em + color: #aaa + font-family: monospace .table .table .td, .table .table .tc, .table .table .th, .table .table .kind padding: 0 table table td, table table th @@ -43,7 +49,7 @@ table table td, table table th font-weight: bold .formError color: #800 - .printSuccess + .printSuccess, .insertSuccess color: #080 button width: 6em @@ -94,3 +100,5 @@ label.checkbox vertical-align: middle span vertical-align: middle +.itemH + display: table-cell \ No newline at end of file diff --git a/templates/inventoryListing.hamlet b/templates/inventoryListing.hamlet index 3be43db..f0ff1e4 100644 --- a/templates/inventoryListing.hamlet +++ b/templates/inventoryListing.hamlet @@ -1,5 +1,6 @@
+
Item
Type
Bought @@ -9,6 +10,7 @@ $if isJust (preview insertForm =<< formState) $with Just InsertForm{..} <- formState
+
^{fsInsertForm}