diff options
author | Simon Rettberg | 2023-01-18 16:15:18 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-01-18 16:15:18 +0100 |
commit | 89d952f7e9475d79c9e9a46e78e84bd63978dd04 (patch) | |
tree | 5a15c3994ae8dcb5c061b3cf28a27f6337cdd5cc /modules-available/statistics/templates | |
parent | [dnbd3] Extend timeout for inactive graph (diff) | |
download | slx-admin-89d952f7e9475d79c9e9a46e78e84bd63978dd04.tar.gz slx-admin-89d952f7e9475d79c9e9a46e78e84bd63978dd04.tar.xz slx-admin-89d952f7e9475d79c9e9a46e78e84bd63978dd04.zip |
[statistics] Listview: Display roomlayout and unique properties in a sidebar
.... if viewport is wide enouh, it will be a sidebar, otherwise, it will
be displayed above the actual list.
Diffstat (limited to 'modules-available/statistics/templates')
-rw-r--r-- | modules-available/statistics/templates/clientlist.html | 12 | ||||
-rw-r--r-- | modules-available/statistics/templates/machine-main.html | 11 |
2 files changed, 17 insertions, 6 deletions
diff --git a/modules-available/statistics/templates/clientlist.html b/modules-available/statistics/templates/clientlist.html index 714fdfc0..d0e330e8 100644 --- a/modules-available/statistics/templates/clientlist.html +++ b/modules-available/statistics/templates/clientlist.html @@ -1,7 +1,15 @@ -<button class="pull-right btn btn-default" type="button" data-toggle="modal" - data-target="#column-selector">{{lang_selectColumns}}</button> +<div class="slx-right"> + {{{roomsvg}}} + {{#sidebar}} + <div class="infobox">{{.}}</div> + {{/sidebar}} +</div> <h2>{{lang_clientList}} ({{rowCount}})</h2> +<button class="btn btn-default" type="button" data-toggle="modal" + data-target="#column-selector">{{lang_selectColumns}}</button> + +<div class="clearfix"></div> <form method="post" action="?do=statistics" id="list-form"> <input type="hidden" name="token" value="{{token}}"> diff --git a/modules-available/statistics/templates/machine-main.html b/modules-available/statistics/templates/machine-main.html index cba9c62a..be32f9c7 100644 --- a/modules-available/statistics/templates/machine-main.html +++ b/modules-available/statistics/templates/machine-main.html @@ -104,19 +104,22 @@ </td> </tr> {{/modeid}} - {{#hasroomplan}} + {{#roomsvg}} <tr> <td class="text-nowrap"> {{lang_roomplan}} </td> <td> + <div> + {{{roomsvg}}} + </div> <a href="?do=roomplanner&locationid={{locationid}}" target="_blank" - onclick="window.open(this.href, '_blank', 'toolbar=0,scrollbars,resizable');return false"> - <img src="api.php?do=roomplanner&show=svg&locationid={{locationid}}&machineuuid={{machineuuid}}&fallback=1"/> + onclick="window.open(this.href, '_blank', 'toolbar=0,scrollbars,resizable');return false"> + {{lang_edit}} </a> </td> </tr> - {{/hasroomplan}} + {{/roomsvg}} {{#rebootcontrol}} <tr> <td class="text-nowrap"> |