Show the server's public IP with click to copy, and VPS network graphs
Cards show the VPS's public IP (PUBLIC_IP, else the default route's source address) instead of the page's hostname; clicking the address copies it. VPS resources gets stacked download/upload graphs of the last 5 minutes, kept server side. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
cb9a6d1970
commit
3ae03160e8
4 changed files with 93 additions and 5 deletions
|
|
@ -42,8 +42,13 @@
|
|||
<div class="meter"><div class="meter-label"><span>Memory</span><span id="m-mem">–</span></div><div class="bar"><div id="b-mem"></div></div></div>
|
||||
<div class="meter"><div class="meter-label"><span>Swap</span><span id="m-swap">–</span></div><div class="bar"><div id="b-swap"></div></div></div>
|
||||
<div class="meter"><div class="meter-label"><span>Disk</span><span id="m-disk">–</span></div><div class="bar"><div id="b-disk"></div></div></div>
|
||||
<div class="meter net-meter">
|
||||
<div class="meter-label"><span>Download</span><span id="m-rx">–</span></div>
|
||||
<svg class="graph rx" id="g-rx" viewBox="0 0 100 24" preserveAspectRatio="none"><path class="area"/><path class="line"/></svg>
|
||||
<div class="meter-label graph-gap"><span>Upload</span><span id="m-tx">–</span></div>
|
||||
<svg class="graph tx" id="g-tx" viewBox="0 0 100 24" preserveAspectRatio="none"><path class="area"/><path class="line"/></svg>
|
||||
</div>
|
||||
</div>
|
||||
<p class="net" id="m-net"></p>
|
||||
</div>
|
||||
|
||||
<h2 class="section-title">Servers</h2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue