diff options
author | Sebastian Reichel <sre@ring0.de> | 2018-06-29 00:58:19 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2018-07-15 22:59:57 +0200 |
commit | 22df08c29f6e4566d418e2a80a8279303406a733 (patch) | |
tree | decb3029284b966635855e1684bc07ef9d3c1a6f /data/templates/users/import.html | |
parent | 17560f8bf49a0be2e0b490159e29f4894fe12cba (diff) | |
download | serial-barcode-scanner-22df08c29f6e4566d418e2a80a8279303406a733.tar.bz2 |
build: switch to meson buildsystem
We build the project with 'meson' now instead of using custom
configure script + GNU Makefiles. To build the project, go to
the project root directory and use the following commands:
Building:
meson build
cd build
ninja
Update Language Files:
ninja shopsystem-pot
ninja shopsystem-update-po
Install:
DESTDIR=./tmp ninja install
Diffstat (limited to 'data/templates/users/import.html')
-rw-r--r-- | data/templates/users/import.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/data/templates/users/import.html b/data/templates/users/import.html new file mode 100644 index 0000000..1a0e6ef --- /dev/null +++ b/data/templates/users/import.html @@ -0,0 +1,39 @@ +<h2>Import Users</h2> + +<div class="alert alert-success" style="display: {{{STEP3}}}"> + <b>CSV Import Done!</b> The System's Database has been updated. +</div> + +<div style="display: {{{STEP1}}}"> + <form action="#" method="POST" enctype="multipart/form-data" class="form-horizontal"> + <div class="control-group"> + <label class="control-label" for="file">CSV File</label> + <div class="controls"> + <input type="file" accept="text/csv" name="file"></input> + <input type="hidden" name="step" value="1"></input> + </div> + </div> + + <button class="btn btn-primary" type="submit">Import</button> + </form> +</div> + +<div style="display: {{{STEP23}}}"> + <table class="table table-bordered"> + <thead> + <tr><th><i class="icon-wrench"></i></th><th>ID</th><th>Firstname</th><th>Lastname</th><th>E-Mail</th><th>Gender</th><th>Street</th><th>Postcode</th><th>City</th><th>PGP</th><th>Hidden</th><th>Disabled</th><th>Joined at</th></tr> + </thead> + <tbody> + {{{DATA1}}} + </tbody> + </table> + + {{{DATA2}}}. + + <div style="display: {{{STEP2}}}"> + <form action="#" method="POST" enctype="multipart/form-data" class="form-horizontal"> + <input type="hidden" name="step" value="2"></input> + <button class="btn btn-primary" type="submit">Apply Changes to Database</button> + </form> + </div> +</div> |