A live bird collage card for your Home Assistant dashboard.
adding copy button back to overview.php added <br> between Common Scientific links
mcguirepr89ad8c559605ac
diff --git a/scripts/overview.php b/scripts/overview.phpindex d7007daa..32f6c552 100644--- a/scripts/overview.php+++ b/scripts/overview.php@@ -57,11 +57,11 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" && isse</style><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>- <tr>- <td>+ <tr class="relative">+ <td><a target="_blank" href="index.php?filename=<?php echo $mostrecent['File_Name']; ?>"><img class="copyimage" width="25" height="25" src="images/copy.png"></a><form action="" method="GET"><input type="hidden" name="view" value="Species Stats">- <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></br><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><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>