Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion doom-scroll.php
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,7 @@ function object_table_iter(?array $arr): string
</tbody>
</table>

<!--
<h2>GPUs</h2>
<table class="table">
<thead>
Expand All @@ -736,6 +737,7 @@ function object_table_iter(?array $arr): string
</thead>
<tbody>
<?php
/*/
foreach ($json_data['Hardware']['Gpu'] as $gpu) {
echo '
<tr>
Expand All @@ -744,10 +746,11 @@ function object_table_iter(?array $arr): string
<td>' . $gpu['CurrentHorizontalResolution'] . ' x ' . $gpu['CurrentVerticalResolution'] . '</td>
<td>' . $gpu['CurrentRefreshRate'] . 'Hz' . '</td>
</tr>';
}
}*/
?>
</tbody>
</table>
-->

<h2>Displays</h2>
<table class="table">
Expand Down
5 changes: 3 additions & 2 deletions viewer.php
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,7 @@
</div>
<div class="modal-body">
<?php
/*
if (isset($json_data['Hardware']['Gpu'])) {
$html = '<h5> GPU Info </h5>
<table class="table">
Expand Down Expand Up @@ -699,10 +700,10 @@

$html = '';
}
*/

if (isset($json_data['Hardware']['Monitors'])) {
$html = '<h5> Monitor Info </h5>
<table class="table">
$html = '<table class="table">
<thead>
<tr>
<th scope="col">Name</th>
Expand Down