397 part 2
This commit is contained in:
+1
-1
@@ -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">
|
||||
|
||||
+4
-1
@@ -779,5 +779,8 @@ form#views button .updatenumber {
|
||||
}
|
||||
|
||||
.testbtn {
|
||||
background:#77c487;
|
||||
background:#77c487 !important;
|
||||
}
|
||||
#testsuccessmsg {
|
||||
font-size:small;
|
||||
}
|
||||
+3
-2
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user