Update index.php
EA4GKQ -> Add buttons with new commands to dashboard
This commit is contained in:
parent
aa7b50d97c
commit
fac4d44b5f
1 changed files with 6 additions and 1 deletions
|
@ -35,6 +35,11 @@ include "include/functions.php";
|
||||||
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1>
|
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1>
|
||||||
<h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?></h4>
|
<h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?></h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<button onclick="window.location.href='./scripts/log.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span> View Log</button>
|
||||||
|
<button onclick="window.location.href='./scripts/rebootmmdvm.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> Reboot MMDVMHost</button>
|
||||||
|
<button onclick="window.location.href='./scripts/reboot.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-repeat" aria-hidden="true"></span> Reboot System</button>
|
||||||
|
<button onclick="window.location.href='./scripts/halt.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-off" aria-hidden="true"></span> ShutDown System</button>
|
||||||
<?php
|
<?php
|
||||||
checkSetup();
|
checkSetup();
|
||||||
// Here you can feel free to disable info-sections by commenting out with // before include
|
// Here you can feel free to disable info-sections by commenting out with // before include
|
||||||
|
@ -61,4 +66,4 @@ echo '<!--Page generated in '.$total_time.' seconds.-->';
|
||||||
?> | get your own at: <a href="https://github.com/dg9vh/MMDVMHost-Dashboard">https://github.com/dg9vh/MMDVMHost-Dashboard</a>
|
?> | get your own at: <a href="https://github.com/dg9vh/MMDVMHost-Dashboard">https://github.com/dg9vh/MMDVMHost-Dashboard</a>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue