Added more info to CPU page; removed vendorId call for GPU page; added table to CPU and GPU pages
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:
@ -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) ->
|
||||
|
Reference in New Issue
Block a user