From 8853dc25f1be62f1f8b8bdc88b1a14796c5faa62 Mon Sep 17 00:00:00 2001 From: mlabusch Date: Wed, 10 May 2017 18:23:29 +0200 Subject: [PATCH] [Task]: Minor changes to the admin frontend --- contrib/good_availablity.svg | 2 +- contrib/good_freshness.svg | 10 ++++++++++ webroot/static/html/item.html | 15 ++++++++++++++- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 contrib/good_freshness.svg diff --git a/contrib/good_availablity.svg b/contrib/good_availablity.svg index 0d1d1cb..67d577d 100644 --- a/contrib/good_availablity.svg +++ b/contrib/good_availablity.svg @@ -1,4 +1,4 @@ - + diff --git a/contrib/good_freshness.svg b/contrib/good_freshness.svg new file mode 100644 index 0000000..71b0b20 --- /dev/null +++ b/contrib/good_freshness.svg @@ -0,0 +1,10 @@ + + + + {{if gt .Count 4}} + + {{else}} + + {{end}} + + diff --git a/webroot/static/html/item.html b/webroot/static/html/item.html index 2b47aba..c0eb471 100644 --- a/webroot/static/html/item.html +++ b/webroot/static/html/item.html @@ -1,8 +1,21 @@

{{obj.title}}

+ + + + + + + - + + + + +
CountTime of DeleveryStatus of Freshness< /td> + +
Count {{list.length}}#