summaryrefslogtreecommitdiffstats
path: root/modules-available/dnbd3/templates/page-proxy-clients.html
diff options
context:
space:
mode:
authorSimon Rettberg2020-10-28 16:14:52 +0100
committerSimon Rettberg2020-10-28 16:14:52 +0100
commit8b37f8d0ffdbf6725305ae7b842e8e0a57d9843e (patch)
treec09c4a7b3c7c701750a1217c6006e84b327eb7fd /modules-available/dnbd3/templates/page-proxy-clients.html
parent[statistics] Remove trailing $ (diff)
downloadslx-admin-8b37f8d0ffdbf6725305ae7b842e8e0a57d9843e.tar.gz
slx-admin-8b37f8d0ffdbf6725305ae7b842e8e0a57d9843e.tar.xz
slx-admin-8b37f8d0ffdbf6725305ae7b842e8e0a57d9843e.zip
[dnbd3] Add link to used image in client list
Clicking the folder icon next to a client will switch to the image list, and highlight the according image.
Diffstat (limited to 'modules-available/dnbd3/templates/page-proxy-clients.html')
-rw-r--r--modules-available/dnbd3/templates/page-proxy-clients.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules-available/dnbd3/templates/page-proxy-clients.html b/modules-available/dnbd3/templates/page-proxy-clients.html
index daf741e2..660b52eb 100644
--- a/modules-available/dnbd3/templates/page-proxy-clients.html
+++ b/modules-available/dnbd3/templates/page-proxy-clients.html
@@ -35,17 +35,23 @@
<table class="table table-condensed">
<tr>
<th>{{lang_client}}</th>
+ <th></th>
<th class="text-right">{{lang_bytesSent}}</th>
</tr>
{{#clients}}
<tr>
<td>
{{#isServer}}
- <span class="glyphicon glyphicon-hdd" title="{{lang_isProxy}}"></span>
+ <span class="glyphicon glyphicon-hdd" title="{{lang_isProxy}}"></span>
{{/isServer}}
{{address}}
</td>
- <td data-sort="int" data-sort-value="{{bytesSent}}" class="text-right">
+ <td class="slx-smallcol">
+ <a href="#tab-images" onclick="$('#img-table tr').removeClass('warning');$('#img-{{imageId}}').addClass('warning')[0].scrollIntoView()">
+ <span class="glyphicon glyphicon-folder-open"></span>
+ </a>
+ </td>
+ <td data-sort="int" data-sort-value="{{bytesSent}}" class="text-right text-nowrap slx-smallcol">
{{bytesSent_s}}
</td>
</tr>