A live bird collage card for your Home Assistant dashboard.
adding icons
ehpersonal383cf41eeb889a
diff --git a/homepage/images/sort_date.svg b/homepage/images/sort_date.svgnew file mode 100644index 00000000..ab7fbd00--- /dev/null+++ b/homepage/images/sort_date.svg@@ -0,0 +1,43 @@+<?xml version="1.0" encoding="iso-8859-1"?>+<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"+ viewBox="0 0 466.008 466.008" style="enable-background:new 0 0 466.008 466.008;" xml:space="preserve">+<g>+ <g>+ <path d="M233.004,0C104.224,0,0,104.212,0,233.004c0,128.781,104.212,233.004,233.004,233.004+ c128.782,0,233.004-104.212,233.004-233.004C466.008,104.222,361.796,0,233.004,0z M244.484,242.659l-63.512,75.511+ c-5.333,6.34-14.797,7.156-21.135,1.824c-6.34-5.333-7.157-14.795-1.824-21.135l59.991-71.325V58.028c0-8.284,6.716-15,15-15+ s15,6.716,15,15v174.976h0C248.004,236.536,246.757,239.956,244.484,242.659z"/>+ </g>+</g>+<g>+</g>+<g>+</g>+<g>+</g>+<g>+</g>+<g>+</g>+<g>+</g>+<g>+</g>+<g>+</g>+<g>+</g>+<g>+</g>+<g>+</g>+<g>+</g>+<g>+</g>+<g>+</g>+<g>+</g>+</svg>diff --git a/scripts/play.php b/scripts/play.phpindex 0c384869..2b4058df 100644--- a/scripts/play.php+++ b/scripts/play.php@@ -158,10 +158,10 @@ if(isset($_GET['species'])){ ?><input type="hidden" name="view" value="Recordings"><input type="hidden" name="species" value="<?php echo $_GET['species']; ?>"><button <?php if(!isset($_GET['sort']) || $_GET['sort'] == "date"){ echo "style='background:#9fe29b !important;'"; }?> class="sortbutton" type="submit" name="sort" value="date">- <img src="images/sort_date.svg" alt="Sort by date">+ <img width=35px src="images/sort_date.svg" alt="Sort by date"></button><button <?php if(isset($_GET['sort']) && $_GET['sort'] == "confidence"){ echo "style='background:#9fe29b !important;'"; }?> class="sortbutton" type="submit" name="sort" value="confidence">- <img src="images/sort_conf.svg" alt="Sort by confidence">+ <img src="images/sort_occ.svg" alt="Sort by confidence"></button></form></div>