summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates/page-panels.html
diff options
context:
space:
mode:
authorSimon Rettberg2017-07-06 13:12:21 +0200
committerSimon Rettberg2017-07-06 13:12:21 +0200
commit03997075bec3a0fd436c881a748b108acc7a98fd (patch)
tree2f17dc7ccebadad9cf8b60fd856b6603a1078f47 /modules-available/locationinfo/templates/page-panels.html
parent[runmode] New module for managing special boot modes of clients (diff)
downloadslx-admin-03997075bec3a0fd436c881a748b108acc7a98fd.tar.gz
slx-admin-03997075bec3a0fd436c881a748b108acc7a98fd.tar.xz
slx-admin-03997075bec3a0fd436c881a748b108acc7a98fd.zip
[locationinfo] Support runmode module
Diffstat (limited to 'modules-available/locationinfo/templates/page-panels.html')
-rw-r--r--modules-available/locationinfo/templates/page-panels.html15
1 files changed, 13 insertions, 2 deletions
diff --git a/modules-available/locationinfo/templates/page-panels.html b/modules-available/locationinfo/templates/page-panels.html
index 51998cea..8b567410 100644
--- a/modules-available/locationinfo/templates/page-panels.html
+++ b/modules-available/locationinfo/templates/page-panels.html
@@ -8,8 +8,11 @@
<th>{{lang_panel}}</th>
<th>{{lang_panelType}}</th>
<th>{{lang_locations}}</th>
- <th width="1"></th>
- <th width="1"></th>
+ {{#hasRunmode}}
+ <th class="slx-smallcol">{{lang_runmodeTHead}}</th>
+ {{/hasRunmode}}
+ <th class="slx-smallcol"></th>
+ <th class="slx-smallcol"></th>
</tr>
</thead>
<tbody>
@@ -27,6 +30,14 @@
<td>
{{locations}}
</td>
+ {{#hasRunmode}}
+ <td>
+ <a class="btn btn-default btn-xs" href="?do=runmode&amp;module=locationinfo&amp;modeid={{paneluuid}}">
+ <span class="glyphicon glyphicon-edit"></span>
+ </a>
+ {{assignedMachineCount}}
+ </td>
+ {{/hasRunmode}}
<td>
<a class="btn btn-default btn-xs" href="?do=locationinfo&amp;show=edit-panel&amp;uuid={{paneluuid}}">
<span class="glyphicon glyphicon-cog"></span>