summaryrefslogtreecommitdiffstats
path: root/data/templates/aliases/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/aliases/index.html')
-rw-r--r--data/templates/aliases/index.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/data/templates/aliases/index.html b/data/templates/aliases/index.html
new file mode 100644
index 0000000..c914968
--- /dev/null
+++ b/data/templates/aliases/index.html
@@ -0,0 +1,17 @@
+<table class="sortable table table-bordered table-striped table-condensed">
+ <thead>
+ <tr><th>EAN</th><th>Real EAN</th></th><th>Name</th></tr>
+ </thead>
+ <tbody>
+ {{{DATA}}}
+ </tbody>
+</table>
+
+<div id="newalias" style="display: {{{NEWALIAS}}};">
+ <form action="/aliases/new" class="form-horizontal">
+ <legend>New Alias</legend>
+ <input class="input-medium" name="ean" type="number" min="0" placeholder="EAN" />
+ <input class="input-medium" name="real_ean" type="number" min="0" placeholder="Real EAN" />
+ <button type="submit" class="btn btn-primary"><i class="icon-plus"></i></button>
+ </form>
+</div>