Initial commit

This commit is contained in:
2026-10-15 17:17:16 +07:00
commit f9951daf22
7 changed files with 432 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
require "block_devices.php";
$devices = get_devices();
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="sakura.css">
<title>Server Status</title>
</head>
<body>
<h1><?php system("hostname"); ?></h1>
<ul>
<li><a href="zpool.php">ZFS Pool Status</a></li>
<?php foreach ($devices as $device) {
$name = $device->name;
if (str_starts_with($name, "zram")) {
continue;
}
?>
<li><a href="device.php?name=<?= $name ?>"><?= $name ?></a></li>
<?php
} ?>
</ul>
</body>
</html>