Skip to content

A live bird collage card for your Home Assistant dashboard.

Merge branch 'forms' into main

Patrick McGuireafaa3fbed45d
diff --cc scripts/stats.php
index b03be6d4,ad482dd4..61551cd0
--- a/scripts/stats.php
+++ b/scripts/stats.php
@@@ -119,16 -119,6 +119,17 @@@ a
text-align: center;
}
++
+img {
+ width:75%;
+}
+
+.center {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
select {
font-size:large;
width: 60%;
@@@ -243,16 -231,14 +244,17 @@@ while($rows = $specificstats->fetch_ass
<td>";echo "<a href=\"../By_Scientific_Name/$dbsciname\"/>";echo $rows['Sci_Name']; echo "</a></td>
<td>";echo $rows['COUNT(*)'];echo "</td>
<td>";echo $rows['MAX(Confidence)'];echo "</td>
- <td><a href=\"https://wikipedia.org/wiki/$dbname\" target=\"top\"/>link</a></td>
- </tr>";
-}}
-?>
+ <td><a href=\"https://wikipedia.org/wiki/$dbsciname\" target=\"top\"/>Wikipedia</a>, <a href=\"https://allaboutbirds.org/guide/$dbname\" target=\"top\"/>All About Birds</a>
+ </tr>
</table>
+ <img class=\"center\" src=\"$imagelink\">
+ <pre>";echo $imagecitation;echo "</pre></td>
</div>
</div>
-</div>
+</div>";
+}}
+?>
++
</section>
</html>