diff options
Diffstat (limited to 'templates/users/entry.html')
-rw-r--r-- | templates/users/entry.html | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/templates/users/entry.html b/templates/users/entry.html index d72b304..60d2dd3 100644 --- a/templates/users/entry.html +++ b/templates/users/entry.html @@ -3,7 +3,7 @@ {{{MESSAGE}}} <form method="POST" enctype="multipart/form-data" action="#"> - <table class="table table-bordered table-nonfluid"> + <table class="table table-bordered table-nonfluid user-entry"> <tr><th>ID</th><td>{{{UID}}}</td></tr> <tr> <th>Barcode</th> @@ -22,6 +22,24 @@ <tr><th>Street</th><td>{{{STREET}}}</td></tr> <tr><th>PLZ</th><td>{{{POSTALCODE}}}</td></tr> <tr><th>City</th><td>{{{CITY}}}</td></tr> + <tr><th colspan="2">Settings</th></tr> + <tr><th>Sound theme</th> + <td> + <form method="POST" enctype="multipart/form-data" action="#"> + <select class="form-control" name="soundTheme"> + <option value="##random">~ random ~</option> + {{{SOUND_THEMES}}} + </select> + <input type="submit" class="btn btn-default" value="Update"> + </form> + <br> + <a href="https://github.com/ktt-ol/serial-barcode-scanner/tree/master/sounds/user" target="_blank">See Preview</a> + </td> + </tr> + </table> +</form> +<form method="POST" enctype="multipart/form-data" action="#"> + <table class="table table-bordered table-nonfluid user-entry"> <tr><th colspan="2">Status Information</th></tr> <tr><th>Disabled</th><td>{{{DISABLED}}}</td></tr> <tr><th>Hidden</th><td>{{{HIDDEN}}}</td></tr> @@ -41,6 +59,7 @@ code39_init(); code39_draw("USER {{{UID}}}", true); + $('#authproductsbutton').on('click', function (e) { var req = $.getJSON( "/users/{{{UID}}}/toggle_auth_products", |