diff --git a/homepage/images/info.png b/homepage/images/info.png new file mode 100644 index 0000000..e258a35 Binary files /dev/null and b/homepage/images/info.png differ diff --git a/homepage/images/wiki.png b/homepage/images/wiki.png new file mode 100644 index 0000000..a9a9fba Binary files /dev/null and b/homepage/images/wiki.png differ diff --git a/homepage/static/dark-style.css b/homepage/static/dark-style.css index c29493c..2347e57 100644 --- a/homepage/static/dark-style.css +++ b/homepage/static/dark-style.css @@ -872,7 +872,9 @@ form#views button .updatenumber { } #recent_detection_middle_td img{ width:unset !important; - height:75px; + max-width:50px; + max-height:50px; + padding:0px; float:left; } diff --git a/homepage/style.css b/homepage/style.css index ecc72d7..8fdff1e 100644 --- a/homepage/style.css +++ b/homepage/style.css @@ -837,7 +837,9 @@ form#views button .updatenumber { } #recent_detection_middle_td img{ width:unset !important; - height:75px; + max-width:50px; + max-height:50px; + padding:0px; float:left; } diff --git a/scripts/overview.php b/scripts/overview.php index f684062..918d832 100644 --- a/scripts/overview.php +++ b/scripts/overview.php @@ -128,8 +128,13 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" && isse
-
- + +
+ + + + +
Confidence:

diff --git a/scripts/play.php b/scripts/play.php index a762002..38923c0 100644 --- a/scripts/play.php +++ b/scripts/play.php @@ -562,9 +562,11 @@ $sciname = get_sci_name($name); $info_url = get_info_url($sciname); $url = $info_url['URL']; echo " - - - "; + "; $iter=0; while($results=$result2->fetchArray(SQLITE3_ASSOC)) { @@ -649,9 +651,11 @@ echo "
$name
$name
+ $sciname
+ + +
$info_url = get_info_url($sciname); $url = $info_url['URL']; echo "
- - - "; + "; while($results=$result2->fetchArray(SQLITE3_ASSOC)) { $comname = preg_replace('/ /', '_', $results['Com_Name']); diff --git a/scripts/stats.php b/scripts/stats.php index 43158df..c099293 100644 --- a/scripts/stats.php +++ b/scripts/stats.php @@ -171,11 +171,12 @@ while($results=$result3->fetchArray(SQLITE3_ASSOC)){ $url_title = $info_url['TITLE']; echo str_pad("

$species

$name
$name
+ $sciname
+ + +
-
$sciname
- Occurrences: $count
- Max Confidence: $maxconf
- Best Recording: $date $time
- $url_title
+
$sciname + +
+ Occurrences: $count
+ Max Confidence: $maxconf
+ Best Recording: $date $time

diff --git a/scripts/todays_detections.php b/scripts/todays_detections.php index 0b24264..5f74e1b 100644 --- a/scripts/todays_detections.php +++ b/scripts/todays_detections.php @@ -235,9 +235,12 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" ) { -
-
-
+
+
+ + src="images/info.png" width="20"> + +
Confidence:

@@ -252,28 +255,24 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" ) {
- href="" target="top"> - -
- - ' - - - -
- href="https://wikipedia.org/wiki/" target="top">
-
+
+ + +
+ +
+ src="images/info.png" width="25"> + + + + +
+
+ +
- Confidence:
+ Confidence:';} echo round((float)round($todaytable['Confidence'],2) * 100 ) . '%';?>