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
|
||||
while i < data.length
|
||||
optionElem = document.createElement('option')
|
||||
diskName = data[i].name + '(' + data[i].device + ')'
|
||||
diskName = data[i].name + ' (' + data[i].device + ')'
|
||||
optionElem.innerText = diskName
|
||||
optionElem.setAttribute('value', i)
|
||||
document.getElementById('diskSelector').appendChild(optionElem)
|
||||
|
@ -15,7 +15,7 @@
|
||||
<section class="row">
|
||||
<article class="columns eight">
|
||||
<h5>CPU Model: <span id="cpuInfo">Random CPU</span></h5>
|
||||
<table class="hardware-info">
|
||||
<table class="hardware-info u-full-width">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Physical cores</td>
|
||||
|
@ -14,23 +14,25 @@
|
||||
</header>
|
||||
|
||||
<section class="row">
|
||||
<h5>GPU Model: <span id="gpuInfo">Random GPU</span></h5>
|
||||
<table class="hardware-info">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>GPU vendor</td>
|
||||
<td><span id="gpuVendor">N/a</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>GPU memory</td>
|
||||
<td><span id="gpuVram">N/a</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bus</td>
|
||||
<td><span id="gpuBus">N/a</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<article class="columns twelve">
|
||||
<h5>GPU Model: <span id="gpuInfo">Random GPU</span></h5>
|
||||
<table class="hardware-info u-full-width">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>GPU vendor</td>
|
||||
<td><span id="gpuVendor">N/a</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>GPU memory</td>
|
||||
<td><span id="gpuVram">N/a</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bus</td>
|
||||
<td><span id="gpuBus">N/a</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section class="row">
|
||||
|
@ -14,27 +14,29 @@
|
||||
</header>
|
||||
|
||||
<section class="row">
|
||||
<h5>Device Model: <span id="diskInfo">Loading...</span></h5>
|
||||
<table class="hardware-info">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Disk Path</td>
|
||||
<td><span id="diskPath">N/a</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Device Type</td>
|
||||
<td><span id="diskType">N/a</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Capacity</td>
|
||||
<td><span id="diskSize">N/a</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vendor</td>
|
||||
<td><span id="diskVendor">N/a</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<article class="columns twelve">
|
||||
<h5>Device Model: <span id="diskInfo">Loading...</span></h5>
|
||||
<table class="hardware-info u-full-width">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Disk Path</td>
|
||||
<td><span id="diskPath">N/a</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Device Type</td>
|
||||
<td><span id="diskType">N/a</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Capacity</td>
|
||||
<td><span id="diskSize">N/a</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vendor</td>
|
||||
<td><span id="diskVendor">N/a</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section class="row">
|
||||
|
Loading…
Reference in New Issue
Block a user