Skip to content

A live bird collage card for your Home Assistant dashboard.

history.php: cleanup html

frederikbce2f60d9ca4
diff --git a/scripts/history.php b/scripts/history.php
index 6412e1e8..29858002 100644
--- a/scripts/history.php
+++ b/scripts/history.php
@@ -128,17 +128,18 @@ function submitID() {
</script>
-<form action="" method="GET">
+<form action="views.php" method="GET">
<input type="date" name="date" value="<?php echo $theDate;?>">
<button type="submit" name="view" value="Daily Charts">Submit Date</button>
</form>
- <table>
- <tr>
- <th>Total Detections For The Day</th>
- <td><?php echo $totalcount['COUNT(*)'];?></td>
- <td><img id="SwipeSpinner" style="height:30px;"></td>
- </tr>
- </table>
+<br>
+<table class="overview">
+ <tr>
+ <th>Total Detections For The Day</th>
+ <td><?php echo $totalcount['COUNT(*)']; ?></td>
+ <td><img id="SwipeSpinner" style="height:30px;"></td>
+ </tr>
+</table>
<?php // <br><button type="button" onclick="showDialog()">Export as CSV for eBird</button><br><br> ?>
<?php
$time = time();