Files
PSC-Monitoring/index.php
2026-03-27 12:23:05 +03:00

53 lines
2.4 KiB
PHP

<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Refresh" content="360">
<title>PSC Monitor</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.min.js" integrity="sha384-fbbOQedDUMZZ5KreZpsbe1LCZPVmfTnH7ois6mU1QK+m14rQ1l2bGBq41eYeM/fS" crossorigin="anonymous"></script>
</head>
<body>
<?php define("START_TIME", microtime(true));?>
<h1>PSC Monitor</h1>
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Объект</th>
<th scope="col">Статус в 00:00</th>
<th scope="col">Статус в 08:00</th>
<th scope="col">Статус в 16:00</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td><a href="callto:1-800-123-4567">Mark</a></td>
<td class="table-success">OK</td>
<td class="table-success">OK</td>
<td class="table-warning">?</td>
</tr>
<tr>
<th scope="row">2</th>
<td><a href="callto:1-800-123-4567">Jacob</a></td>
<td class="table-danger">CallBack</td>
<td class="table-success">OK</td>
<td class="table-warning">?</td>
</tr>
<tr>
<th scope="row">3</th>
<td><a href="callto:1-800-123-4567">Larry the Bird</a></td>
<td class="table-success">OK</td>
<td class="table-info">Duty</td>
<td class="table-warning">?</td>
</tr>
</tbody>
</table>
<?php printf("Отчет сгенерирован за: %.5f сек", microtime(true)-START_TIME);?>
Обнавлено в <?php echo date ("d-m-Y H:i:s.", filemtime("index.php"));?>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
</body>
</html>