add goober-central URL and erm removed System CPU (its the same?)
This commit is contained in:
parent
4eb1f812f2
commit
d6a679b878
1 changed files with 5 additions and 5 deletions
|
@ -9,6 +9,7 @@ from datetime import datetime
|
||||||
import time
|
import time
|
||||||
import aiohttp
|
import aiohttp
|
||||||
from aiohttp import WSMsgType
|
from aiohttp import WSMsgType
|
||||||
|
from config import VERSION_URL
|
||||||
|
|
||||||
class GooberWeb(commands.Cog):
|
class GooberWeb(commands.Cog):
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
|
@ -576,12 +577,8 @@ class GooberWeb(commands.Cog):
|
||||||
<span class="stat-title">RAM:</span>
|
<span class="stat-title">RAM:</span>
|
||||||
<span>{stats['ram_usage']}</span>
|
<span>{stats['ram_usage']}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="stat-item" id="cpu-usage">
|
|
||||||
<span class="stat-title">CPU:</span>
|
|
||||||
<span>{stats['cpu_usage']}</span>
|
|
||||||
</div>
|
|
||||||
<div class="stat-item" id="system-cpu">
|
<div class="stat-item" id="system-cpu">
|
||||||
<span class="stat-title">System CPU:</span>
|
<span class="stat-title">CPU:</span>
|
||||||
<span>{stats['system_cpu']}</span>
|
<span>{stats['system_cpu']}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="stat-item" id="latency">
|
<div class="stat-item" id="latency">
|
||||||
|
@ -623,6 +620,9 @@ class GooberWeb(commands.Cog):
|
||||||
<div id="last-command">Installed Version: {stats['localversion']}</div>
|
<div id="last-command">Installed Version: {stats['localversion']}</div>
|
||||||
<div id="last-command">Latest Version: {stats['latestversion']}</div>
|
<div id="last-command">Latest Version: {stats['latestversion']}</div>
|
||||||
<br>
|
<br>
|
||||||
|
<div class="stat-title">goober-central URL</div>
|
||||||
|
<div id="last-command">{VERSION_URL}</div>
|
||||||
|
<br>
|
||||||
<div class="stat-title">Change song</div>
|
<div class="stat-title">Change song</div>
|
||||||
<form action="/changesong" method="get">
|
<form action="/changesong" method="get">
|
||||||
<input type="text" name="song" placeholder="Enter song name...">
|
<input type="text" name="song" placeholder="Enter song name...">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue