nit-picky UI stuff
This commit is contained in:
@@ -71,7 +71,6 @@ button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
button:hover {
|
button:hover {
|
||||||
font-weight: bold;
|
|
||||||
color: blue;
|
color: blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+10
-10
@@ -1,32 +1,32 @@
|
|||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<div class="topnav" id="myTopnav">
|
<div style="margin-bottom:15px" class="topnav" id="myTopnav">
|
||||||
<form action="" method="GET" id="views">
|
<form action="" method="GET" id="views">
|
||||||
<button type="submit" name="view" value="Overview" form="views">Overview</button>
|
<button style="height:100%;vertical-align:middle" type="submit" name="view" value="Overview" form="views">Overview</button>
|
||||||
</form>
|
</form>
|
||||||
<form action="" method="GET" id="views">
|
<form action="" method="GET" id="views">
|
||||||
<button type="submit" name="view" value="Today's Detections" form="views">Today's Detections</button>
|
<button style="height:100%;vertical-align:middle" type="submit" name="view" value="Today's Detections" form="views">Today's Detections</button>
|
||||||
</form>
|
</form>
|
||||||
<form action="" method="GET" id="views">
|
<form action="" method="GET" id="views">
|
||||||
<button type="submit" name="view" value="Species Stats" form="views">Best Recordings</button>
|
<button style="height:100%;vertical-align:middle" type="submit" name="view" value="Species Stats" form="views">Best Recordings</button>
|
||||||
</form>
|
</form>
|
||||||
<form action="" method="GET" id="views">
|
<form action="" method="GET" id="views">
|
||||||
<button type="submit" name="view" value="Streamlit" form="views">Species Stats</button>
|
<button style="height:100%;vertical-align:middle" type="submit" name="view" value="Streamlit" form="views">Species Stats</button>
|
||||||
</form>
|
</form>
|
||||||
<form action="" method="GET" id="views">
|
<form action="" method="GET" id="views">
|
||||||
<button type="submit" name="view" value="Daily Charts" form="views">Daily Charts</button>
|
<button style="height:100%;vertical-align:middle" type="submit" name="view" value="Daily Charts" form="views">Daily Charts</button>
|
||||||
</form>
|
</form>
|
||||||
<form action="" method="GET" id="views">
|
<form action="" method="GET" id="views">
|
||||||
<button type="submit" name="view" value="Recordings" form="views">Recordings</button>
|
<button style="height:100%;vertical-align:middle" type="submit" name="view" value="Recordings" form="views">Recordings</button>
|
||||||
</form>
|
</form>
|
||||||
<form action="" method="GET" id="views">
|
<form action="" method="GET" id="views">
|
||||||
<button type="submit" name="view" value="Spectrogram" form="views">Spectrogram</button>
|
<button style="height:100%;vertical-align:middle" type="submit" name="view" value="Spectrogram" form="views">Spectrogram</button>
|
||||||
</form>
|
</form>
|
||||||
<form action="" method="GET" id="views">
|
<form action="" method="GET" id="views">
|
||||||
<button type="submit" name="view" value="View Log" form="views">View Log</button>
|
<button style="height:100%;vertical-align:middle" type="submit" name="view" value="View Log" form="views">View Log</button>
|
||||||
</form>
|
</form>
|
||||||
<form action="" method="GET" id="views">
|
<form action="" method="GET" id="views">
|
||||||
<button type="submit" name="view" value="Tools" form="views">Tools</button>
|
<button style="height:100%;vertical-align:middle" type="submit" name="view" value="Tools" form="views">Tools</button>
|
||||||
</form>
|
</form>
|
||||||
<button href="javascript:void(0);" class="icon" onclick="myFunction()"><img src="images/menu.png"></button>
|
<button href="javascript:void(0);" class="icon" onclick="myFunction()"><img src="images/menu.png"></button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" && isse
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<table class="<?php echo ($_GET['previous_detection_identifier'] == 'undefined') ? '' : 'fade-in'; ?>">
|
<table class="<?php echo ($_GET['previous_detection_identifier'] == 'undefined') ? '' : 'fade-in'; ?>">
|
||||||
<h3>Most Recent Detection: <span style="font-weight: normal;"><?php echo $mostrecent['Date']." ".$mostrecent['Time'];?></span></h3>
|
<h3 style="margin-bottom:12px">Most Recent Detection: <span style="font-weight: normal;"><?php echo $mostrecent['Date']." ".$mostrecent['Time'];?></span></h3>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<form action="" method="GET">
|
<form action="" method="GET">
|
||||||
@@ -103,7 +103,7 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" && isse
|
|||||||
<button type="submit" name="species" value="<?php echo $mostrecent['Com_Name'];?>"><?php echo $mostrecent['Com_Name'];?>: </button>
|
<button type="submit" name="species" value="<?php echo $mostrecent['Com_Name'];?>"><?php echo $mostrecent['Com_Name'];?>: </button>
|
||||||
<a href="https://wikipedia.org/wiki/<?php echo $sciname;?>" target="_blank"/><i><?php echo $mostrecent['Sci_Name'];?></i></a>
|
<a href="https://wikipedia.org/wiki/<?php echo $sciname;?>" target="_blank"/><i><?php echo $mostrecent['Sci_Name'];?></i></a>
|
||||||
<br>Confidence: <?php echo $mostrecent['Confidence'];?><br>
|
<br>Confidence: <?php echo $mostrecent['Confidence'];?><br>
|
||||||
<video onplay='setLiveStreamVolume(0)' onended='setLiveStreamVolume(1)' onpause='setLiveStreamVolume(1)' controls poster="<?php echo $filename.".png";?>" preload="none" title="<?php echo $filename;?>"><source src="<?php echo $filename;?>"></video></td>
|
<video style="margin-top:10px" onplay='setLiveStreamVolume(0)' onended='setLiveStreamVolume(1)' onpause='setLiveStreamVolume(1)' controls poster="<?php echo $filename.".png";?>" preload="none" title="<?php echo $filename;?>"><source src="<?php echo $filename;?>"></video></td>
|
||||||
</form>
|
</form>
|
||||||
</tr>
|
</tr>
|
||||||
</table> <?php
|
</table> <?php
|
||||||
@@ -159,7 +159,7 @@ body::-webkit-scrollbar {
|
|||||||
<div class="left-column">
|
<div class="left-column">
|
||||||
</div>
|
</div>
|
||||||
<div class="right-column">
|
<div class="right-column">
|
||||||
<div class="chart">
|
<div style="margin-top:10px" class="chart">
|
||||||
<?php
|
<?php
|
||||||
if (file_exists('./scripts/thisrun.txt')) {
|
if (file_exists('./scripts/thisrun.txt')) {
|
||||||
$config = parse_ini_file('./scripts/thisrun.txt');
|
$config = parse_ini_file('./scripts/thisrun.txt');
|
||||||
@@ -178,7 +178,7 @@ if (file_exists('./Charts/'.$chart)) {
|
|||||||
|
|
||||||
<div id="most_recent_detection"></div>
|
<div id="most_recent_detection"></div>
|
||||||
|
|
||||||
<h3>Currently Analyzing</h3>
|
<h3 style="margin-bottom:12px">Currently Analyzing...</h3>
|
||||||
<?php
|
<?php
|
||||||
$refresh = $config['RECORDING_LENGTH'];
|
$refresh = $config['RECORDING_LENGTH'];
|
||||||
$time = time();
|
$time = time();
|
||||||
|
|||||||
Reference in New Issue
Block a user