From 9f94013ddc1b6ac7256b9cebcf8685949ce88c34 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 16 Jul 2017 23:31:22 +0200 Subject: Quick Action for running low --- templates/default-layout.cassius | 4 ++-- templates/inventoryListing.cassius | 4 +++- templates/inventoryListing.hamlet | 32 +++++++++++++++++++++++--------- 3 files changed, 28 insertions(+), 12 deletions(-) (limited to 'templates') diff --git a/templates/default-layout.cassius b/templates/default-layout.cassius index c622901..31389d8 100644 --- a/templates/default-layout.cassius +++ b/templates/default-layout.cassius @@ -1,4 +1,4 @@ -.main +main min-width: 20em .table, table display: table @@ -62,7 +62,7 @@ table table td, table table th, .table table td, .table table th li:first-child::before content: "" button - width: 6em + width: 8em display: inline-block .sepBelow, .sepAbove border: 2px none #ddd diff --git a/templates/inventoryListing.cassius b/templates/inventoryListing.cassius index 5116667..dc01471 100644 --- a/templates/inventoryListing.cassius +++ b/templates/inventoryListing.cassius @@ -26,4 +26,6 @@ div.itemId padding: 0 margin: 0 input - vertical-align: middle \ No newline at end of file + vertical-align: middle +.actions .td + width: 8em \ No newline at end of file diff --git a/templates/inventoryListing.hamlet b/templates/inventoryListing.hamlet index cc1c9ce..8eee3e7 100644 --- a/templates/inventoryListing.hamlet +++ b/templates/inventoryListing.hamlet @@ -36,12 +36,14 @@
$of DateKnown d #{dayFormat d} + $of DateNever
$case itemExpires $of DateNever
$of DateKnown d #{dayFormat d} + $of DateUnknown
$case itemOpened $of DateKnown d @@ -49,17 +51,29 @@ $of DateUnknown Yes $of DateNever -
-