Skip to content

A live bird collage card for your Home Assistant dashboard.

Add class="sortbutton"

Alexandre75b5dc57ee7e
diff --git a/scripts/play.php b/scripts/play.php
index 88223d43..526f59be 100644
--- a/scripts/play.php
+++ b/scripts/play.php
@@ -400,7 +400,7 @@ if(!isset($_GET['species']) && !isset($_GET['filename'])){
<div class="play">
<?php if($view == "byspecies" || $view == "date") { ?>
<div style="width: auto;
- text-align: center">
+ text-align: center" class="sortbutton">
<form action="views.php" method="GET">
<input type="hidden" name="view" value="Recordings">
<input type="hidden" name="<?php echo $view; ?>" value="<?php echo $_GET['date']; ?>">
@@ -512,7 +512,7 @@ for ($row = 0; $row < $num_rows; $row++) {
#Specific Species
if(isset($_GET['species'])){ ?>
<div style="width: auto;
- text-align: center">
+ text-align: center" class="sortbutton">
<form action="views.php" method="GET">
<input type="hidden" name="view" value="Recordings">
<input type="hidden" name="species" value="<?php echo $_GET['species']; ?>">