From 802a86a276784601e0a952611bfcfb823831608f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Fri, 10 Aug 2012 21:14:52 +0000 Subject: implement search support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Asbjørn Sloth Tønnesen --- web/templates/labitrack.d/search | 2 ++ web/templates/labitrack.d/searchtable | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 web/templates/labitrack.d/search create mode 100644 web/templates/labitrack.d/searchtable (limited to 'web/templates') diff --git a/web/templates/labitrack.d/search b/web/templates/labitrack.d/search new file mode 100644 index 0000000..c811a31 --- /dev/null +++ b/web/templates/labitrack.d/search @@ -0,0 +1,2 @@ +
Search
+
diff --git a/web/templates/labitrack.d/searchtable b/web/templates/labitrack.d/searchtable new file mode 100644 index 0000000..bfba433 --- /dev/null +++ b/web/templates/labitrack.d/searchtable @@ -0,0 +1,15 @@ +{{#if meta.count}} +

Found {{meta.count}} results for »{{meta.query}}«

+ {{objecttable}} +{{else}} + {{#if meta.query}} +
+ No results for »{{meta.query}}« +
+ {{else}} +
+ Use the search box! + It is the located in the top right corner. +
+ {{/if}} +{{/if}} -- cgit v1.2.1