Update selfservice-update.sh

This commit is contained in:
hp3icc 2022-06-17 15:09:29 -05:00 committed by GitHub
parent a431305b31
commit dd3a511e9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -56,11 +56,11 @@ sudo cat > /opt/FDMR-Monitor/html/buttons.php <<- "EOF"
<div class="dropdown">
<button class="dropbtn">Self Service</button>
<div class="dropdown-content">
<?php if(!PRIVATE_NETWORK){echo '<a href="selfservice.php">SelfService</a>';}?>
<?php if(!PRIVATE_NETWORK){echo '<a class="button" href="selfservice.php">SelfService</a>';}?>
<a class="button" href="login.php">Login</a>
<?php
if(isset($_SESSION["auth"], $_SESSION["callsign"], $_SESSION["h_psswd"]) and $_SESSION["auth"]){
echo '<a href="devices.php">Devices</a>';
echo '<a class="button" href="devices.php">Devices</a>';
}
?>
</div>