convert to standard html
This commit is contained in:
@@ -9,6 +9,7 @@ $site_name = get_sitename();
|
||||
set_timezone();
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<title><?php echo $site_name; ?></title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<style>
|
||||
|
||||
+33
-7
@@ -23,11 +23,10 @@ h3 {
|
||||
}
|
||||
|
||||
iframe {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: none;
|
||||
height: 85%;
|
||||
height: 88%;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -169,7 +168,6 @@ button:hover {
|
||||
text-align: center;
|
||||
padding: 14px 16px;
|
||||
width: auto;
|
||||
height: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
@@ -283,6 +281,14 @@ button:hover {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.settings h2 {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
.settings p {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.settings h3 {
|
||||
text-align: left;
|
||||
}
|
||||
@@ -297,6 +303,11 @@ button:hover {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.float button {
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.customlabels,.customlabels2 {
|
||||
float:left;
|
||||
}
|
||||
@@ -365,20 +376,35 @@ button:hover {
|
||||
}
|
||||
|
||||
.systemcontrols form,.servicecontrols form {
|
||||
text-align: center;
|
||||
/*text-align: center;*/
|
||||
}
|
||||
|
||||
.systemcontrols button,.servicecontrols button {
|
||||
|
||||
.servicecontrols button {
|
||||
background-color: rgb(219, 255, 235);
|
||||
padding: 12px;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.systemcontrols button {
|
||||
background-color: rgb(219, 255, 235);
|
||||
display: block;
|
||||
padding: 12px;
|
||||
width: 50%;
|
||||
margin: 16px auto;
|
||||
}
|
||||
|
||||
.servicecontrols button {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.btn-group-center {
|
||||
text-align:center;
|
||||
/*align-content: center;*/
|
||||
margin: 16px auto;
|
||||
position:relative;
|
||||
/*display:inline-block;*/
|
||||
}
|
||||
|
||||
.slider {
|
||||
-webkit-appearance: none;
|
||||
width: 33%;
|
||||
|
||||
+12
-10
@@ -46,37 +46,39 @@ elseif ($config["LONGITUDE"] == "0.000") {
|
||||
echo "<center style='color:red'><b>WARNING: Your longitude is not set properly. Please do so now in Tools -> Settings.</center></b>";
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<link rel="stylesheet" href="style.css?v=<?php echo date ('n.d.y', filemtime('style.css')); ?>">
|
||||
<style>
|
||||
|
||||
</style>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<body>
|
||||
<div class="topnav" id="myTopnav">
|
||||
<form action="" method="GET" id="views">
|
||||
<form action="views.php" method="GET" id="views">
|
||||
<button type="submit" name="view" value="Overview" form="views">Overview</button>
|
||||
</form>
|
||||
<form action="" method="GET" id="views">
|
||||
<form action="views.php" method="GET" id="views">
|
||||
<button type="submit" name="view" value="Todays Detections" form="views">Today's Detections</button>
|
||||
</form>
|
||||
<form action="" method="GET" id="views">
|
||||
<form action="views.php" method="GET" id="views">
|
||||
<button type="submit" name="view" value="Spectrogram" form="views">Spectrogram</button>
|
||||
</form>
|
||||
<form action="" method="GET" id="views">
|
||||
<form action="views.php" method="GET" id="views">
|
||||
<button type="submit" name="view" value="Species Stats" form="views">Best Recordings</button>
|
||||
</form>
|
||||
<form action="" method="GET" id="views">
|
||||
<form action="views.php" method="GET" id="views">
|
||||
<button type="submit" name="view" value="Streamlit" form="views">Species Stats</button>
|
||||
</form>
|
||||
<form action="" method="GET" id="views">
|
||||
<form action="views.php" method="GET" id="views">
|
||||
<button type="submit" name="view" value="Daily Charts" form="views">Daily Charts</button>
|
||||
</form>
|
||||
<form action="" method="GET" id="views">
|
||||
<form action="views.php" method="GET" id="views">
|
||||
<button type="submit" name="view" value="Recordings" form="views">Recordings</button>
|
||||
</form>
|
||||
<form action="" method="GET" id="views">
|
||||
<form action="views.php" method="GET" id="views">
|
||||
<button type="submit" name="view" value="View Log" form="views">View Log</button>
|
||||
</form>
|
||||
<form action="" id="toolsbtn" method="GET" id="views">
|
||||
<form action="views.php" method="GET" id="views">
|
||||
<button type="submit" name="view" value="Tools" form="views">Tools<?php if(isset($_SESSION['behind']) && intval($_SESSION['behind']) >= 50 && ($config['SILENCE_UPDATE_INDICATOR'] != 1)){ $updatediv = ' <div class="updatenumber">'.$_SESSION["behind"].'</div>'; } else { $updatediv = ""; } echo $updatediv; ?></button>
|
||||
</form>
|
||||
<button href="javascript:void(0);" class="icon" onclick="myFunction()"><img src="images/menu.png"></button>
|
||||
@@ -142,7 +144,7 @@ if(isset($_GET['view'])){
|
||||
ensure_authenticated();
|
||||
$url = $_SERVER['SERVER_NAME']."/scripts/adminer.php";
|
||||
echo "<div class=\"centered\">
|
||||
<form action=\"\" method=\"GET\" id=\"views\">
|
||||
<form action=\"views.php\" method=\"GET\" id=\"views\">
|
||||
<button type=\"submit\" name=\"view\" value=\"Settings\" form=\"views\">Settings</button>
|
||||
<button type=\"submit\" name=\"view\" value=\"System Info\" form=\"views\">System Info</button>
|
||||
<button type=\"submit\" name=\"view\" value=\"System Controls\" form=\"views\">System Controls".$updatediv."</button>
|
||||
|
||||
Reference in New Issue
Block a user