Skip to content

Commit

Permalink
Add span gpu style
Browse files Browse the repository at this point in the history
  • Loading branch information
b3rs3rk committed Mar 10, 2020
1 parent 1f31fb2 commit 9911543
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/gpustat/usr/local/emhttp/plugins/gpustat/gpustatus.page
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Icon="gpustat.png"
$gpustat_cfg = parse_plugin_cfg('gpustat', true);
?>
#dash_gpustat_settings i, #dash_gpustat_toggle {margin-top:0;}
span.gpu{width:124px;display:inline-block}
</style>
<table id='db-box1' class='dash_gpustat dashboard box1' style='display:none'>
<thead sort='953'><tr class='hidden'><td></td><td colspan='3'></td><td></td></tr></thead>
Expand All @@ -26,15 +27,15 @@ Icon="gpustat.png"
<tr class='dash_gpustat_toggle gpu-enviro'>
<td></td>
<td colspan='2'>
<span class='ups'>Clocks GPU/MEM:</span><span class='gpu-clock'></span>/<span class='gpu-memclock'></span><br>
<span class='ups'>Encoder Utilization:</span><span class='gpu-encutil'></span><br>
<span class='ups'>Decoder Utilization:</span><span class='gpu-decutil'></span><br>
<span class='ups'>Temperature:</span><span class='gpu-temp'></span>/<span class='gpu-tempmax'></span><br>
<span class='ups'>Fan Usage:</span><span class='gpu-fan'></span><br>
<span class='ups'>Power Draw:</span><span class='gpu-power'></span>/<span class='gpu-powermax'></span><br>
<span class='ups'>Power State:</span><span class='gpu-perfstate'></span><br>
<span class='ups'>Throttled:</span><span class='gpu-throttled'></span><span class='gpu-thrtlrsn'></span><br>
<span class='ups'>Sessions:</span><span class='gpu-sessions'></span><br>
<span class='gpu'>Clocks GPU/MEM:</span><span class='gpu-clock'></span>/<span class='gpu-memclock'></span><br>
<span class='gpu'>Encoder Utilization:</span><span class='gpu-encutil'></span><br>
<span class='gpu'>Decoder Utilization:</span><span class='gpu-decutil'></span><br>
<span class='gpu'>Temperature:</span><span class='gpu-temp'></span>/<span class='gpu-tempmax'></span><br>
<span class='gpu'>Fan Usage:</span><span class='gpu-fan'></span><br>
<span class='gpu'>Power Draw:</span><span class='gpu-power'></span>/<span class='gpu-powermax'></span><br>
<span class='gpu'>Power State:</span><span class='gpu-perfstate'></span><br>
<span class='gpu'>Throttled:</span><span class='gpu-throttled'></span><span class='gpu-thrtlrsn'></span><br>
<span class='gpu'>Sessions:</span><span class='gpu-sessions'></span><br>
</td>
<td></td>
</tr>
Expand Down

0 comments on commit 9911543

Please sign in to comment.