diff options
author | Simon Rettberg | 2022-03-15 15:28:54 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-03-15 15:28:54 +0100 |
commit | f318f4cdfb028465d822b438665c94bdcb4fcadd (patch) | |
tree | acc7919a894968877c9139bb4db006f41bb45cbd /modules-available/passthrough/templates | |
parent | [statistics] Update translations (diff) | |
download | slx-admin-f318f4cdfb028465d822b438665c94bdcb4fcadd.tar.gz slx-admin-f318f4cdfb028465d822b438665c94bdcb4fcadd.tar.xz slx-admin-f318f4cdfb028465d822b438665c94bdcb4fcadd.zip |
[passthrough] Fix #hash highlighting of devices
Diffstat (limited to 'modules-available/passthrough/templates')
-rw-r--r-- | modules-available/passthrough/templates/hardware-list.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/modules-available/passthrough/templates/hardware-list.html b/modules-available/passthrough/templates/hardware-list.html index b00baea7..da04a1fe 100644 --- a/modules-available/passthrough/templates/hardware-list.html +++ b/modules-available/passthrough/templates/hardware-list.html @@ -16,16 +16,16 @@ <table class="table"> <thead> <tr> - <th class="slx-smallcol">{{lang_deviceIdNumeric}}</th> + <th class="text-nowrap slx-smallcol">{{lang_deviceIdNumeric}}</th> <th>{{lang_deviceName}}</th> - <th class="slx-smallcol">{{lang_useCount}}</th> - <th>{{lang_passthroughGroup}}</th> + <th class="text-nowrap slx-smallcol">{{lang_useCount}}</th> + <th class="text-nowrap">{{lang_passthroughGroup}}</th> </tr> </thead> <tbody> {{#devlist}} <tr class="c-{{vendor}}-{{device}} tr"> - <td>{{vendor}}:{{device}} [{{rev}}]</td> + <td class="text-nowrap">{{vendor}}:{{device}} [{{rev}}]</td> <td> <table class="slx-ellipsis"> <tr> @@ -126,6 +126,7 @@ $('tr.tr').removeClass('bg-success'); if (c && c.length > 1) { var d = $('.c-' + c.substr(1)).addClass('bg-success'); + d.closest('.collapse').collapse('show'); if (d.length > 0) d[0].scrollIntoView(); } } |