nginx container to proxy and some visual tweaks
This commit is contained in:
@ -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%;">';
|
||||
|
||||
@ -16,12 +16,10 @@ body {
|
||||
background-color: #34495e;
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 15px 32px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
margin: 4px 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user