summaryrefslogtreecommitdiffstats
path: root/web/templates/labitrack.d/searchtable
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates/labitrack.d/searchtable')
-rw-r--r--web/templates/labitrack.d/searchtable15
1 files changed, 15 insertions, 0 deletions
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}}
+ <p>Found <strong>{{meta.count}}</strong> results for »<strong>{{meta.query}}</strong>«</p>
+ {{objecttable}}
+{{else}}
+ {{#if meta.query}}
+ <div class="alert alert-info">
+ No results for »<strong>{{meta.query}}</strong>«
+ </div>
+ {{else}}
+ <div class="alert alert-notice">
+ <strong>Use the search box!</strong>
+ It is the located in the top right corner.
+ </div>
+ {{/if}}
+{{/if}}