You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.6 KiB
56 lines
1.6 KiB
3 years ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>PE1RXF APRS server</title>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<meta http-equiv="refresh" content="600">
|
||
|
|
||
|
<link rel="stylesheet" href="css/styles.css">
|
||
|
<link rel="stylesheet" href="css/popup.css">
|
||
|
<link rel="stylesheet" href="css/font-awesome.min.css">
|
||
|
|
||
|
<meta http-equiv="refresh" content="3; url='./5ghz.php" />
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<?php
|
||
|
$execuatable_string = sprintf("/home/marcel/ham/aprs_utils/power-off-hamnet-link.sh > /dev/null 2>&1 &");
|
||
|
exec("$execuatable_string");
|
||
|
?>
|
||
|
|
||
|
<div class="header">
|
||
|
<a href="index.php" >
|
||
|
<h1><i class="fa fa-home" aria-hidden="true"></i> PE1RXF 5 GHz access point manager</h1>
|
||
|
</a>
|
||
|
</div>
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-3 col-s-3 menu">
|
||
|
<ul>
|
||
|
<li><h3>Access point: <?php if ($status[0][0] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||
|
<li><h3>Station stal: <?php if ($status[0][1] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||
|
<li><h3>Station tiny house: <?php if ($status[0][2] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
<div class="col-6 col-s-9" id="main_page">
|
||
|
|
||
|
<h1>Powering off station tiny house</h1>
|
||
|
<h1>This may take a while</h1>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="col-3 col-s-12 menu">
|
||
|
<ul>
|
||
|
<li><h3>Access point: <?php if ($status[0][0] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||
|
<li><h3>Station stal: <?php if ($status[0][1] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||
|
<li><h3>Station tiny house: <?php if ($status[0][2] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|
||
|
|
||
|
|