diff options
author | Simon Rettberg | 2022-06-13 16:08:06 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-06-13 16:08:06 +0200 |
commit | 11906e645810c6d2282c2e3cbd356ed972e6fa45 (patch) | |
tree | 435f5de6b46047441e191ff7a82932493d5b1326 /modules-available | |
parent | [runmode] Show error if no permissions (diff) | |
download | slx-admin-11906e645810c6d2282c2e3cbd356ed972e6fa45.tar.gz slx-admin-11906e645810c6d2282c2e3cbd356ed972e6fa45.tar.xz slx-admin-11906e645810c6d2282c2e3cbd356ed972e6fa45.zip |
[statistics] Make CPU and system model clickable in machine details
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/statistics/templates/machine-main.html | 12 |
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&show=list&filter[cpumodel]=1&op[cpumodel]=%3D&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&show=list&filter[systemmodel]=1&op[systemmodel]=%3D&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> |