summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates
diff options
context:
space:
mode:
authorSimon Rettberg2017-06-12 17:00:45 +0200
committerSimon Rettberg2017-06-12 17:00:45 +0200
commita9728379f3c796ef4f2fdddb8211febf3d5399d9 (patch)
tree6a31d35f1d01d5f77614cd9a4c6922181a45ebd0 /modules-available/locationinfo/templates
parent[locationinfo] Started rewrite for panel-based approach (diff)
downloadslx-admin-a9728379f3c796ef4f2fdddb8211febf3d5399d9.tar.gz
slx-admin-a9728379f3c796ef4f2fdddb8211febf3d5399d9.tar.xz
slx-admin-a9728379f3c796ef4f2fdddb8211febf3d5399d9.zip
[locationinfo] Location edit part done so far
Diffstat (limited to 'modules-available/locationinfo/templates')
-rw-r--r--modules-available/locationinfo/templates/ajax-config-location.html14
-rw-r--r--modules-available/locationinfo/templates/page-locations.html16
2 files changed, 19 insertions, 11 deletions
diff --git a/modules-available/locationinfo/templates/ajax-config-location.html b/modules-available/locationinfo/templates/ajax-config-location.html
index 2cbad89d..b42ff98d 100644
--- a/modules-available/locationinfo/templates/ajax-config-location.html
+++ b/modules-available/locationinfo/templates/ajax-config-location.html
@@ -116,6 +116,20 @@
</div>
</div>
<div class="row">
+ <div class="col-sm-3"></div>
+ <div class="col-sm-7">
+ <div class="checkbox">
+ <input type="checkbox" name="recursive" id="recursive-check">
+ <label for="recursive-check">{{lang_recursiveServerSet}}</label>
+ </div>
+ </div>
+ <div class="col-sm-2">
+ <a class="btn btn-default helptext" title="{{lang_recursiveSetTooltip}}">
+ <span class="glyphicon glyphicon-question-sign"></span>
+ </a>
+ </div>
+</div>
+<div class="row">
<div class="col-sm-3">
{{lang_roomId}}
</div>
diff --git a/modules-available/locationinfo/templates/page-locations.html b/modules-available/locationinfo/templates/page-locations.html
index 436aa8d5..27c2d9a2 100644
--- a/modules-available/locationinfo/templates/page-locations.html
+++ b/modules-available/locationinfo/templates/page-locations.html
@@ -3,27 +3,21 @@
<tr>
<th>{{lang_locationName}}</th>
- <th width="50">{{lang_openingTime}}</th>
- <th width="50">{{lang_locationSettings}}</th>
+ <th>{{lang_openingTime}}</th>
+ <th>{{lang_locationSettings}}</th>
</tr>
{{#list}}
<tr>
<td>
<div style="display:inline-block;width:{{depth}}em"></div>
- <a href="#" class="loc-name" data-locationid="{{locationid}}">{{locationname}}</a>
+ <a href="#" class="loc-name {{^depth}}slx-bold{{/depth}}" data-locationid="{{locationid}}">{{locationname}}</a>
</td>
<td>
- <a class="btn btn-sm btn-default" role="button" style="width: 100%"
- onclick="loadTimeModal({{locationid}}, '{{locationname}}');">
- <span style="margin-right: 5px;" class="glyphicon glyphicon-time"></span>
- </a>
+ {{backend}}
</td>
<td>
- <a class="btn btn-sm btn-default" role="button" style="width: 100%;"
- onclick="loadLocationConfigModal({{locationid}}, '{{locationname}}');">
- <span style="margin-right: 5px;" class="glyphicon glyphicon-cog"></span>
- </a>
+ <span class="glyphicon glyphicon-{{openingGlyph}}"></span>
</td>
</tr>