summaryrefslogtreecommitdiffstats
path: root/modules-available/passthrough
diff options
context:
space:
mode:
authorSimon Rettberg2022-04-28 16:36:06 +0200
committerSimon Rettberg2022-04-28 16:36:06 +0200
commit72ad759c0a5b430b5755de77dd27e93c99709fa1 (patch)
tree8c3c4b1f571c24a8658be600ac7998c063800415 /modules-available/passthrough
parent[statistics] Add filters for pciid/hwdb (diff)
downloadslx-admin-72ad759c0a5b430b5755de77dd27e93c99709fa1.tar.gz
slx-admin-72ad759c0a5b430b5755de77dd27e93c99709fa1.tar.xz
slx-admin-72ad759c0a5b430b5755de77dd27e93c99709fa1.zip
[passthrough] Link to statistics search from vendor/device
Diffstat (limited to 'modules-available/passthrough')
-rw-r--r--modules-available/passthrough/templates/hardware-list.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules-available/passthrough/templates/hardware-list.html b/modules-available/passthrough/templates/hardware-list.html
index 3947f42a..4fdfb14f 100644
--- a/modules-available/passthrough/templates/hardware-list.html
+++ b/modules-available/passthrough/templates/hardware-list.html
@@ -35,10 +35,16 @@
</tr>
</table>
<div class="small {{^vendor_name}}query-{{vendor}}{{/vendor_name}}">
+ <a href="?show=list&amp;do=statistics&amp;filter[pcidev]=1&amp;op[pcidev]=%3D&amp;arg[pcidev]={{vendor}},{{class}}">
{{vendor_name}}
+ </a>
</div>
</td>
- <td class="text-right">{{connected_count}}</td>
+ <td class="text-right">
+ <a href="?show=list&amp;do=statistics&amp;filter[pcidev]=1&amp;op[pcidev]=%3D&amp;arg[pcidev]={{vendor}}:{{device}}">
+ {{connected_count}}
+ </a>
+ </td>
<td>
<select name="ptgroup[{{hwid}}]"
class="form-control {{#custom_groups}}ptgroup-select{{/custom_groups}}">