summaryrefslogtreecommitdiffstats
path: root/web/templates/labitrack.d/objecttable
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates/labitrack.d/objecttable')
-rw-r--r--web/templates/labitrack.d/objecttable22
1 files changed, 22 insertions, 0 deletions
diff --git a/web/templates/labitrack.d/objecttable b/web/templates/labitrack.d/objecttable
new file mode 100644
index 0000000..13b6dee
--- /dev/null
+++ b/web/templates/labitrack.d/objecttable
@@ -0,0 +1,22 @@
+{{pagination}}
+<table class="zebra-striped">
+ <thead>
+ <tr>
+ <th>#</th>
+ <th>Name</th>
+ <th>Description</th>
+ <th>Tags</th>
+ <th>&nbsp;</th>
+ </tr>
+ </thead>
+ <tbody>
+ {{#each rows}}
+ <tr>
+ <td><a href="/view/{{id}}">{{id}}</a></td>
+ <td><a href="/view/{{id}}">{{name}}</a></td>
+ <td><a href="/view/{{id}}">{{desc}}</a></td>
+ <td><a href="/view/{{id}}">{{tags}}</a></td>
+ </tr>
+ {{/each}}
+ </tbody>
+</table>