diff options
author | Simon Rettberg | 2021-09-21 16:52:06 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-03-09 15:06:54 +0100 |
commit | 67e6b6c9981207d7d658f2ad2bf1c39b75c099c7 (patch) | |
tree | d2f54c424dd983a1500acf0d3d0bc3bbfee6e9cd /modules-available/statistics/templates | |
parent | [statistics] Support new json-format of hardware info from client (diff) | |
download | slx-admin-67e6b6c9981207d7d658f2ad2bf1c39b75c099c7.tar.gz slx-admin-67e6b6c9981207d7d658f2ad2bf1c39b75c099c7.tar.xz slx-admin-67e6b6c9981207d7d658f2ad2bf1c39b75c099c7.zip |
[passthrough] New module for managing hardware passthrough for QEMU
Diffstat (limited to 'modules-available/statistics/templates')
-rw-r--r-- | modules-available/statistics/templates/hints-ram-underclocked.html | 44 | ||||
-rw-r--r-- | modules-available/statistics/templates/hints-ram-upgrade.html | 31 |
2 files changed, 75 insertions, 0 deletions
diff --git a/modules-available/statistics/templates/hints-ram-underclocked.html b/modules-available/statistics/templates/hints-ram-underclocked.html new file mode 100644 index 00000000..e1f19c4f --- /dev/null +++ b/modules-available/statistics/templates/hints-ram-underclocked.html @@ -0,0 +1,44 @@ +<h2>{{lang_ramUnderclocked}}</h2> + +<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_serialNumber}}</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> +</table>
\ No newline at end of file diff --git a/modules-available/statistics/templates/hints-ram-upgrade.html b/modules-available/statistics/templates/hints-ram-upgrade.html new file mode 100644 index 00000000..be0d2532 --- /dev/null +++ b/modules-available/statistics/templates/hints-ram-upgrade.html @@ -0,0 +1,31 @@ +<h2>{{lang_ramUpgrade}}</h2> + +<p>{{lang_ramUpgradeText}}</p> + +<table class="table"> + <thead> + <tr> + <th>{{lang_machine}}</th> + <th>{{lang_installedCountMax}}</th> + <th>{{lang_ramSizeCurrentMax}}</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="{{count_class}}"> + {{Memory Slot Occupied}} / {{Memory Slot Count}} + </td> + <td class="{{size_class}}"> + {{Memory Installed Capacity}} / {{Memory Maximum Capacity}} + </td> + </tr> + {{/list}} + </tbody> +</table>
\ No newline at end of file |