Fixed the hardware info tables to use the full section width
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
0656a1ff34
commit
be030532ea
@ -19,7 +19,7 @@ loadDisks = () ->
|
|||||||
i = 0
|
i = 0
|
||||||
while i < data.length
|
while i < data.length
|
||||||
optionElem = document.createElement('option')
|
optionElem = document.createElement('option')
|
||||||
diskName = data[i].name + '(' + data[i].device + ')'
|
diskName = data[i].name + ' (' + data[i].device + ')'
|
||||||
optionElem.innerText = diskName
|
optionElem.innerText = diskName
|
||||||
optionElem.setAttribute('value', i)
|
optionElem.setAttribute('value', i)
|
||||||
document.getElementById('diskSelector').appendChild(optionElem)
|
document.getElementById('diskSelector').appendChild(optionElem)
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<section class="row">
|
<section class="row">
|
||||||
<article class="columns eight">
|
<article class="columns eight">
|
||||||
<h5>CPU Model: <span id="cpuInfo">Random CPU</span></h5>
|
<h5>CPU Model: <span id="cpuInfo">Random CPU</span></h5>
|
||||||
<table class="hardware-info">
|
<table class="hardware-info u-full-width">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Physical cores</td>
|
<td>Physical cores</td>
|
||||||
|
@ -14,23 +14,25 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section class="row">
|
<section class="row">
|
||||||
<h5>GPU Model: <span id="gpuInfo">Random GPU</span></h5>
|
<article class="columns twelve">
|
||||||
<table class="hardware-info">
|
<h5>GPU Model: <span id="gpuInfo">Random GPU</span></h5>
|
||||||
<tbody>
|
<table class="hardware-info u-full-width">
|
||||||
<tr>
|
<tbody>
|
||||||
<td>GPU vendor</td>
|
<tr>
|
||||||
<td><span id="gpuVendor">N/a</span></td>
|
<td>GPU vendor</td>
|
||||||
</tr>
|
<td><span id="gpuVendor">N/a</span></td>
|
||||||
<tr>
|
</tr>
|
||||||
<td>GPU memory</td>
|
<tr>
|
||||||
<td><span id="gpuVram">N/a</span></td>
|
<td>GPU memory</td>
|
||||||
</tr>
|
<td><span id="gpuVram">N/a</span></td>
|
||||||
<tr>
|
</tr>
|
||||||
<td>Bus</td>
|
<tr>
|
||||||
<td><span id="gpuBus">N/a</span></td>
|
<td>Bus</td>
|
||||||
</tr>
|
<td><span id="gpuBus">N/a</span></td>
|
||||||
</tbody>
|
</tr>
|
||||||
</table>
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</article>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="row">
|
<section class="row">
|
||||||
|
@ -14,27 +14,29 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section class="row">
|
<section class="row">
|
||||||
<h5>Device Model: <span id="diskInfo">Loading...</span></h5>
|
<article class="columns twelve">
|
||||||
<table class="hardware-info">
|
<h5>Device Model: <span id="diskInfo">Loading...</span></h5>
|
||||||
<tbody>
|
<table class="hardware-info u-full-width">
|
||||||
<tr>
|
<tbody>
|
||||||
<td>Disk Path</td>
|
<tr>
|
||||||
<td><span id="diskPath">N/a</span></td>
|
<td>Disk Path</td>
|
||||||
</tr>
|
<td><span id="diskPath">N/a</span></td>
|
||||||
<tr>
|
</tr>
|
||||||
<td>Device Type</td>
|
<tr>
|
||||||
<td><span id="diskType">N/a</span></td>
|
<td>Device Type</td>
|
||||||
</tr>
|
<td><span id="diskType">N/a</span></td>
|
||||||
<tr>
|
</tr>
|
||||||
<td>Capacity</td>
|
<tr>
|
||||||
<td><span id="diskSize">N/a</span></td>
|
<td>Capacity</td>
|
||||||
</tr>
|
<td><span id="diskSize">N/a</span></td>
|
||||||
<tr>
|
</tr>
|
||||||
<td>Vendor</td>
|
<tr>
|
||||||
<td><span id="diskVendor">N/a</span></td>
|
<td>Vendor</td>
|
||||||
</tr>
|
<td><span id="diskVendor">N/a</span></td>
|
||||||
</tbody>
|
</tr>
|
||||||
</table>
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</article>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="row">
|
<section class="row">
|
||||||
|
Loading…
Reference in New Issue
Block a user