diff options
Diffstat (limited to 'data/templates/aliases/index.html')
-rw-r--r-- | data/templates/aliases/index.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/data/templates/aliases/index.html b/data/templates/aliases/index.html new file mode 100644 index 0000000..0bf026a --- /dev/null +++ b/data/templates/aliases/index.html @@ -0,0 +1,19 @@ +<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}}};"> + <legend>New Alias</legend> + <form action="/aliases/new" class="form-inline"> + <div class="form-group"> + <input class="form-control" name="ean" type="number" min="0" placeholder="EAN" /> + <input class="form-control" name="real_ean" type="number" min="0" placeholder="Real EAN (existing product)" /> + <button type="submit" class="form-control btn btn-primary"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button> + </div> + </form> +</div> |