diff options
author | Simon Rettberg | 2022-06-15 13:45:58 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-06-15 13:45:58 +0200 |
commit | 496ac9b9680acae777dbd207858c874a7fcec252 (patch) | |
tree | b766cd236318cf3355e581aa4b0def3c753e88de /modules-available/statistics/templates | |
parent | [statistics] Make CPU and system model clickable in machine details (diff) | |
download | slx-admin-496ac9b9680acae777dbd207858c874a7fcec252.tar.gz slx-admin-496ac9b9680acae777dbd207858c874a7fcec252.tar.xz slx-admin-496ac9b9680acae777dbd207858c874a7fcec252.zip |
[statistics] Show clients with < gigabit ethernet in hints
Diffstat (limited to 'modules-available/statistics/templates')
-rw-r--r-- | modules-available/statistics/templates/hints-nic-speed.html | 31 | ||||
-rw-r--r-- | modules-available/statistics/templates/hints-ram-underclocked.html | 80 |
2 files changed, 73 insertions, 38 deletions
diff --git a/modules-available/statistics/templates/hints-nic-speed.html b/modules-available/statistics/templates/hints-nic-speed.html new file mode 100644 index 00000000..c26364e6 --- /dev/null +++ b/modules-available/statistics/templates/hints-nic-speed.html @@ -0,0 +1,31 @@ +<h2>{{lang_nicSlowSpeed}}</h2> + +<p>{{lang_nicSlowSpeedText}}</p> + +<table class="table"> + <thead> + <tr> + <th>{{lang_machine}}</th> + <th>{{lang_nicSpeed}}</th> + <th>{{lang_nicDuplex}}</th> + </tr> + </thead> + <tbody> + {{#list}} + <tr> + <td> + <a class="slx-bold" href="?do=statistics&uuid={{machineuuid}}"> + {{hostname}}{{^hostname}}{{clientip}}{{/hostname}} + </a> + <div class="small">{{machineuuid}}</div> + </td> + <td class="text-nowrap"> + {{nic-speed}} {{lang_MbitPerSecond}} + </td> + <td> + {{nic-duplex}} + </td> + </tr> + {{/list}} + </tbody> +</table>
\ No newline at end of file diff --git a/modules-available/statistics/templates/hints-ram-underclocked.html b/modules-available/statistics/templates/hints-ram-underclocked.html index 3722f109..a46f02d9 100644 --- a/modules-available/statistics/templates/hints-ram-underclocked.html +++ b/modules-available/statistics/templates/hints-ram-underclocked.html @@ -3,42 +3,46 @@ <p>{{lang_ramUnderclockedText}}</p> <table class="table"> - <thead> - <tr> - <th>{{lang_machine}}</th> - <th>{{lang_type}}</th> - <th>{{lang_speedCurrent}}</th> - <th>{{lang_speedDesign}}</th> - <th>{{lang_manufacturer}}</th> - <th>{{lang_serialNo}}</th> - </tr> - </thead> - <tbody> - {{#list}} - <tr> - <td> - <a class="slx-bold" href="?do=statistics&uuid={{machineuuid}}"> - {{hostname}}{{^hostname}}{{clientip}}{{/hostname}} - </a> - <div class="small">{{machineuuid}}</div> - </td> - <td> - {{Type}} {{Form Factor}} - <div>{{Size}}</div> - </td> - <td> - {{Configured Memory Speed}} - </td> - <td> - {{Speed}} - </td> - <td> - {{Manufacturer}} - </td> - <td> - {{Serial Number}} - </td> - </tr> - {{/list}} - </tbody> + <thead> + <tr> + <th>{{lang_machine}}</th> + <th>{{lang_type}}</th> + <th>{{lang_speedCurrent}}</th> + <th>{{lang_speedDesign}}</th> + <th>{{lang_manufacturer}}</th> + <th>{{lang_serialNo}}</th> + <th></th> + </tr> + </thead> + <tbody> + {{#list}} + <tr> + <td> + <a class="slx-bold" href="?do=statistics&uuid={{machineuuid}}"> + {{hostname}}{{^hostname}}{{clientip}}{{/hostname}} + </a> + <div class="small">{{machineuuid}}</div> + </td> + <td class="text-nowrap"> + {{Type}} {{Form Factor}} + <div>{{Size}}</div> + </td> + <td class="text-nowrap"> + {{Configured Memory Speed}} + </td> + <td class="text-nowrap"> + {{Speed}} + </td> + <td class="text-nowrap"> + {{Manufacturer}} + </td> + <td> + {{Serial Number}} + </td> + <td class="text-right"> + <span class="badge">{{group_count}}</span> + </td> + </tr> + {{/list}} + </tbody> </table> |