summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2022-06-13 16:08:06 +0200
committerSimon Rettberg2022-06-13 16:08:06 +0200
commit11906e645810c6d2282c2e3cbd356ed972e6fa45 (patch)
tree435f5de6b46047441e191ff7a82932493d5b1326
parent[runmode] Show error if no permissions (diff)
downloadslx-admin-11906e645810c6d2282c2e3cbd356ed972e6fa45.tar.gz
slx-admin-11906e645810c6d2282c2e3cbd356ed972e6fa45.tar.xz
slx-admin-11906e645810c6d2282c2e3cbd356ed972e6fa45.zip
[statistics] Make CPU and system model clickable in machine details
-rw-r--r--modules-available/statistics/templates/machine-main.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/modules-available/statistics/templates/machine-main.html b/modules-available/statistics/templates/machine-main.html
index 2fc191ec..bcae2177 100644
--- a/modules-available/statistics/templates/machine-main.html
+++ b/modules-available/statistics/templates/machine-main.html
@@ -229,7 +229,9 @@
<tr>
<td class="text-nowrap">{{lang_cpuModel}}</td>
<td>
- {{cpumodel}}
+ <a href="?do=statistics&amp;show=list&amp;filter[cpumodel]=1&amp;op[cpumodel]=%3D&amp;arg[cpumodel]={{cpumodel}}">
+ {{cpumodel}}
+ </a>
{{#cpu-sockets}}
<div class="small">
{{lang_sockets}}: {{cpu-sockets}}, {{lang_cores}}: {{cpu-cores}}, {{lang_virtualCores}}: {{cpu-threads}}
@@ -253,7 +255,13 @@
</tr>
<tr>
<td class="text-nowrap">{{lang_pcmodel}}</td>
- <td>{{system.Product Name}} ({{system.Manufacturer}})</td>
+ <td>
+ {{#system.Product Name}}
+ <a href="?do=statistics&amp;show=list&amp;filter[systemmodel]=1&amp;op[systemmodel]=%3D&amp;arg[systemmodel]={{system.Product Name}}+({{system.Manufacturer}})">
+ {{system.Product Name}} ({{system.Manufacturer}})
+ </a>
+ {{/system.Product Name}}
+ </td>
</tr>
<tr>
<td class="text-nowrap">{{lang_mobomodel}}</td>