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 | |
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')
-rw-r--r-- | modules-available/locationinfo/templates/page-config-panel-default.html | 17 | ||||
-rw-r--r-- | modules-available/locationinfo/templates/page-panels.html | 15 |
2 files changed, 21 insertions, 11 deletions
diff --git a/modules-available/locationinfo/templates/page-config-panel-default.html b/modules-available/locationinfo/templates/page-config-panel-default.html index fac1db03..4632a718 100644 --- a/modules-available/locationinfo/templates/page-config-panel-default.html +++ b/modules-available/locationinfo/templates/page-config-panel-default.html @@ -300,15 +300,14 @@ <div class="modal-dialog"> <!--style="min-width:600px;width:70%"--> <div class="modal-content"> - <div class="modal-header">{{lang_error}}</div> - <div class="modal-body"> - {{lang_noLocationsWarning}} - </div> - <div class="modal-footer"> - <a class="btn btn-primary pull-right" data-dismiss="modal">{{lang_close}}</a> - <div class="clearfix"></div> - </div> - </form> + <div class="modal-header">{{lang_error}}</div> + <div class="modal-body"> + {{lang_noLocationsWarning}} + </div> + <div class="modal-footer"> + <a class="btn btn-primary pull-right" data-dismiss="modal">{{lang_close}}</a> + <div class="clearfix"></div> + </div> </div> </div> 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> |