Skip to content

A live bird collage card for your Home Assistant dashboard.

397 part 2

ehpersonal388d43a409e3b8
diff --git a/homepage/index.php b/homepage/index.php
index d39162ae..d2cb6563 100644
--- a/homepage/index.php
+++ b/homepage/index.php
@@ -5,7 +5,7 @@ body::-webkit-scrollbar {
display:none
}
</style>
-<link rel="stylesheet" href="style.css?v=14.0.7">
+<link rel="stylesheet" href="style.css?v=14.0.6.22">
<body>
<div class="banner">
<div class="logo">
diff --git a/homepage/style.css b/homepage/style.css
index a912b7e2..19faf05b 100644
--- a/homepage/style.css
+++ b/homepage/style.css
@@ -779,5 +779,8 @@ form#views button .updatenumber {
}
.testbtn {
- background:#77c487;
+ background:#77c487 !important;
+}
+#testsuccessmsg {
+ font-size:small;
}
\ No newline at end of file
diff --git a/scripts/config.php b/scripts/config.php
index 060d0447..3122b66f 100644
--- a/scripts/config.php
+++ b/scripts/config.php
@@ -206,7 +206,7 @@ function sendTestNotification(e) {
var xmlHttp = new XMLHttpRequest();
xmlHttp.onreadystatechange = function() {
if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
-
+ document.getElementById("testsuccessmsg").innerHTML = "Test sent! Make sure to Update Settings below."
e.classList.remove("disabled");
}
}
@@ -258,7 +258,8 @@ https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}
<input type="checkbox" name="apprise_notify_each_detection" <?php if($config['APPRISE_NOTIFY_EACH_DETECTION'] == 1 && filesize($home."/BirdNET-Pi/apprise.txt") != 0) { echo "checked"; };?> >
<label for="apprise_notify_each_detection">Notify each new detection</label><br><br>
- <button type="button" class="testbtn" onclick="sendTestNotification(this)">Send Test Notification</button>
+ <button type="button" class="testbtn" onclick="sendTestNotification(this)">Send Test Notification</button><br>
+ <span id="testsuccessmsg"></span>
</td></tr></table><br>
<table class="settingstable"><tr><td>
<h2>Bird Photos from Flickr</h2>