summaryrefslogtreecommitdiffstats
path: root/web/templates/labitrack.d/objecttable
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>2012-06-28 19:49:45 +0000
committerAsbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>2012-06-28 19:49:45 +0000
commit5e54ba7aa27b95d1e0568693915e735ab8058ff7 (patch)
tree1c2743605a6cce00edb82b5f15b9a3f08f6ace30 /web/templates/labitrack.d/objecttable
downloadlabitrack-5e54ba7aa27b95d1e0568693915e735ab8058ff7.tar.gz
labitrack-5e54ba7aa27b95d1e0568693915e735ab8058ff7.tar.xz
labitrack-5e54ba7aa27b95d1e0568693915e735ab8058ff7.zip
Initial version
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
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>