nginx container to proxy and some visual tweaks

This commit is contained in:
2025-11-30 23:32:53 -08:00
parent 96e874239a
commit 4096f7165c
7 changed files with 78 additions and 12 deletions

View File

@ -29,11 +29,12 @@ function fetchSSDData() {
</head>
<body>
<div class="container">
<button onclick="window.location.reload();" class="title-button"><h1>SSD Health Dashboard</h1></button><p>
This lists every disk ever scanned by this device.<br>
<?php
echo "For a live dashboard, please visit <a href=http://{$_SERVER['HTTP_HOST']}:3000/>this link</a>.<p>";
<button onclick="window.location.reload();" class="title-button"><h2>SSD Health Dashboard</h2></button><br>
This is a historical list of every disk ever scanned by this device.<p>
For a live dashboard, please visit <a href=/>home</a>.
</div>
<div class="container">
<?php
$ssdData = fetchSSDData(); // Fetch data from the API
// Start the table
echo '<table class="ssd-list" style="border-collapse:collapse;width:100%;">';