summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates/location-info.html
diff options
context:
space:
mode:
authorJannik Schönartz2017-03-22 21:43:45 +0100
committerJannik Schönartz2017-03-22 21:43:45 +0100
commit42a1d38f08d080d53ef4b5ad2d05595c28a0aa8a (patch)
tree93772eee8761a9979a46eee18befd884376fe7a1 /modules-available/locationinfo/templates/location-info.html
parentÜbersetzungen der Credentials eingebaut und nicht fatale errors werden nun i... (diff)
downloadslx-admin-42a1d38f08d080d53ef4b5ad2d05595c28a0aa8a.tar.gz
slx-admin-42a1d38f08d080d53ef4b5ad2d05595c28a0aa8a.tar.xz
slx-admin-42a1d38f08d080d53ef4b5ad2d05595c28a0aa8a.zip
Save Button is now in the footer. Url preview added in the room settings
Diffstat (limited to 'modules-available/locationinfo/templates/location-info.html')
-rw-r--r--modules-available/locationinfo/templates/location-info.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules-available/locationinfo/templates/location-info.html b/modules-available/locationinfo/templates/location-info.html
index f14faa23..90ac40b8 100644
--- a/modules-available/locationinfo/templates/location-info.html
+++ b/modules-available/locationinfo/templates/location-info.html
@@ -113,6 +113,8 @@
<div class="modal-header" id="myModalHeader"></div>
<div class="modal-body" id="myModalBody"></div>
<div class="modal-footer">
+ <button type="submit" id="myModalSubmitButton" class="btn btn-primary" form="">{{lang_save}}</button>
+
<a class="btn btn-primary" data-dismiss="modal">{{lang_close}}</a>
</div>
</div>
@@ -148,7 +150,7 @@
*/
function loadSettingsModal(serverid, servername) {
$('#myModalHeader').text("{{lang_locationSettings}}").css("font-weight", "Bold");
-
+ $('#myModalSubmitButton').attr("Form", "settingsForm");
$('#myModal').modal('show');
$('#myModalBody').load("?do=locationinfo&action=serverSettings&id=" + serverid);
}
@@ -161,7 +163,6 @@
*/
function loadTimeModal(locationId, locationName) {
$('#myModalHeader').text("[" + locationId + "] " + locationName).css("font-weight", "Bold");
-
$('#myModal').modal('show');
$('#myModalBody').load("?do=locationinfo&action=timetable&id=" + locationId);
}
@@ -174,7 +175,7 @@
*/
function loadConfigModal(locationId, locationName) {
$('#myModalHeader').text("[" + locationId + "] " + locationName).css("font-weight", "Bold");
-
+ $('#myModalSubmitButton').attr("Form", "configForm");
$('#myModal').modal('show');
$('#myModalBody').load("?do=locationinfo&action=config&id=" + locationId);
}