diff options
author | Jannik Schönartz | 2016-12-05 18:56:44 +0100 |
---|---|---|
committer | Jannik Schönartz | 2016-12-05 18:56:44 +0100 |
commit | a86d0225dc7768a629ce59c325a1dcc739122ef9 (patch) | |
tree | 3dcfbd03ea58d97a09515d7a4783a8aef761ff26 /modules-available/locationinfo/templates/config.html | |
parent | frontend: changed to backend changes, use media querrys, changed free seats f... (diff) | |
download | slx-admin-a86d0225dc7768a629ce59c325a1dcc739122ef9.tar.gz slx-admin-a86d0225dc7768a629ce59c325a1dcc739122ef9.tar.xz slx-admin-a86d0225dc7768a629ce59c325a1dcc739122ef9.zip |
Locationinfo: Added Servertable
Diffstat (limited to 'modules-available/locationinfo/templates/config.html')
-rw-r--r-- | modules-available/locationinfo/templates/config.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/modules-available/locationinfo/templates/config.html b/modules-available/locationinfo/templates/config.html index a814077a..577f8f94 100644 --- a/modules-available/locationinfo/templates/config.html +++ b/modules-available/locationinfo/templates/config.html @@ -1,9 +1,29 @@ <div> + + <form method="post" action="?do=locationinfo" id="configForm"> <input type="hidden" name="token" value="{{token}}"> <input type="hidden" name="action" value="updateConfig"> <input type="hidden" name="id" value="{{id}}"> + + <div style="float: left;"> + <Label>{{lang_server}}</Label><br> + <select name="serverid"> + {{#serverlist}} + <option id="serverOption-{{sid}}" value="{{sid}}">{{sname}}</option> + {{/serverlist}} + </select> + </div> + + <div style="float: left; margin-left: 15px;"> + <Label>{{lang_serverRoomId}}</Label><br> + <input name="serverroomid" id="serverroomid" value="{{serverroomid}}" style="width: 50px; text-align: center;"></input> + </div> + + + <br><br><br><br> + <div style="float: left;"> <Label>{{lang_language}}</Label><br> <select name="language"> @@ -90,6 +110,8 @@ loadValues(); function loadValues() { $("#{{language}}").attr("selected","selected"); + $('#serverOption-{{serverid}}').attr("selected", "selected"); + var mode = $("#{{mode}}"); if (!mode.length) { mode = $("#mode1"); |