diff --git a/assets/coffee/gpu.coffee b/assets/coffee/gpu.coffee index 79890ca..76e36e6 100644 --- a/assets/coffee/gpu.coffee +++ b/assets/coffee/gpu.coffee @@ -22,6 +22,7 @@ loadGpus = () -> optionElem.setAttribute('value', i) document.getElementById('gpuSelector').appendChild(optionElem) i++ + console.log(data) ).catch((error) -> console.error(error) ) @@ -31,7 +32,6 @@ updateGpuInfo = (gpuId = 0) -> .then((data) -> document.getElementById('gpuInfo').innerText = data.controllers[gpuId].model document.getElementById('gpuVendor').innerText = data.controllers[gpuId].vendor - document.getElementById('gpuVendorId').innerText = data.controllers[gpuId].vendorId document.getElementById('gpuVram').innerText = data.controllers[gpuId].vram + 'MB' document.getElementById('gpuBus').innerText = data.controllers[gpuId].bus ).catch((error) -> diff --git a/assets/sass/sentry.sass b/assets/sass/sentry.sass index 63f40b6..6a8c065 100644 --- a/assets/sass/sentry.sass +++ b/assets/sass/sentry.sass @@ -1,5 +1,6 @@ body background: white + font-size: 18px a color: cornflowerblue @@ -21,6 +22,9 @@ button background-color: darken(cornflowerblue, 10%) color: white +.faded-text + color: #999 + .u-text-center text-align: center @@ -40,6 +44,17 @@ button font-size: 2.5rem text-decoration: none +table.hardware-info + border-spacing: 0 + padding: 8px + border: 1px solid #999 + td + border: none + td:not(:nth-child(2)) + border-right: 1px solid #bbb + tr:not(:last-child) td + border-bottom: 1px solid #bbb + .tempGauge position: relative box-sizing: border-box @@ -73,6 +88,7 @@ button padding-top: 25px padding-bottom: 25px border-top: 1px solid #999 + font-size: 16px .row position: relative diff --git a/assets/twig/cpu.twig b/assets/twig/cpu.twig index 3c3be23..eb3ee9e 100644 --- a/assets/twig/cpu.twig +++ b/assets/twig/cpu.twig @@ -15,7 +15,7 @@
CPU Model: Random CPU
- +
diff --git a/assets/twig/gpu.twig b/assets/twig/gpu.twig index 9ab6197..8b04154 100644 --- a/assets/twig/gpu.twig +++ b/assets/twig/gpu.twig @@ -15,9 +15,22 @@
GPU Model: Random GPU
-

Vendor: N/a

-

GPU Memory: N/a

-

Bus: N/a

+
Physical cores
+ + + + + + + + + + + + + + +
GPU vendorN/a
GPU memoryN/a
BusN/a