diff options
author | Simon Rettberg | 2017-07-06 13:12:21 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-07-06 13:12:21 +0200 |
commit | 03997075bec3a0fd436c881a748b108acc7a98fd (patch) | |
tree | 2f17dc7ccebadad9cf8b60fd856b6603a1078f47 /modules-available/locationinfo/templates/page-panels.html | |
parent | [runmode] New module for managing special boot modes of clients (diff) | |
download | slx-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.html | 15 |
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&module=locationinfo&modeid={{paneluuid}}"> + <span class="glyphicon glyphicon-edit"></span> + </a> + {{assignedMachineCount}} + </td> + {{/hasRunmode}} <td> <a class="btn btn-default btn-xs" href="?do=locationinfo&show=edit-panel&uuid={{paneluuid}}"> <span class="glyphicon glyphicon-cog"></span> |