reworked the config.php notes
This commit is contained in:
@@ -633,6 +633,21 @@ tr {
|
|||||||
box-shadow:0px 2px 4px -1px rgb(0 0 0 / 20%), 0px 4px 5px 0px rgb(0 0 0 / 14%), 0px 1px 10px 0px rgb(0 0 0 / 12%);
|
box-shadow:0px 2px 4px -1px rgb(0 0 0 / 20%), 0px 4px 5px 0px rgb(0 0 0 / 14%), 0px 1px 10px 0px rgb(0 0 0 / 12%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dl {
|
||||||
|
margin: 1em 0 0 1em;
|
||||||
|
}
|
||||||
|
dt {
|
||||||
|
float: left;
|
||||||
|
clear: left;
|
||||||
|
width: auto;
|
||||||
|
text-align: left;
|
||||||
|
font-weight: bold;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
dd::before {
|
||||||
|
content: ": ";
|
||||||
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
box-shadow: 0px 0px 17px 1px rgba(0, 0, 0, 0.10);
|
box-shadow: 0px 0px 17px 1px rgba(0, 0, 0, 0.10);
|
||||||
}
|
}
|
||||||
|
|||||||
+14
-3
@@ -164,10 +164,21 @@ if (!isset($_SERVER['PHP_AUTH_USER'])) {
|
|||||||
tgram://{bot_token}/{chat_id}
|
tgram://{bot_token}/{chat_id}
|
||||||
twitter://{ConsumerKey}/{ConsumerSecret}/{AccessToken}/{AccessSecret}
|
twitter://{ConsumerKey}/{ConsumerSecret}/{AccessToken}/{AccessSecret}
|
||||||
https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}
|
https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}
|
||||||
..." style="vertical-align: top" name="apprise_input" cols="140" rows="5" type="text" ><?php print($apprise_config);?></textarea><br><br>
|
..." style="vertical-align: top" name="apprise_input" cols="140" rows="5" type="text" ><?php print($apprise_config);?></textarea>
|
||||||
<label for="apprise_notification_title">Notification Title (use variables $sciname, $comname, $confidence, or $listenurl): </label>
|
<dl>
|
||||||
|
<dt>$sciname</dt>
|
||||||
|
<dd>Scientific Name</dd>
|
||||||
|
<dt>$comname</dt>
|
||||||
|
<dd>Common Name</dd>
|
||||||
|
<dt>$confidence</dt>
|
||||||
|
<dd>Confidence Score</dd>
|
||||||
|
<dt>$listenurl</dt>
|
||||||
|
<dd>A link to the detection</dd>
|
||||||
|
</dl>
|
||||||
|
<p>Use the variables defined above to customize your notification title and body.</p>
|
||||||
|
<label for="apprise_notification_title">Notification Title: </label>
|
||||||
<input name="apprise_notification_title" type="text" value="<?php print($config['APPRISE_NOTIFICATION_TITLE']);?>" /><br>
|
<input name="apprise_notification_title" type="text" value="<?php print($config['APPRISE_NOTIFICATION_TITLE']);?>" /><br>
|
||||||
<label for="apprise_notification_body">Notification Body (use variables $sciname, $comname, $confidence, or $listenurl): </label>
|
<label for="apprise_notification_body">Notification Body: </label>
|
||||||
<input name="apprise_notification_body" type="text" value="<?php print($config['APPRISE_NOTIFICATION_BODY']);?>" /><br>
|
<input name="apprise_notification_body" type="text" value="<?php print($config['APPRISE_NOTIFICATION_BODY']);?>" /><br>
|
||||||
<input type="checkbox" name="apprise_notify_new_species" <?php if($config['APPRISE_NOTIFY_NEW_SPECIES'] == 1 && filesize($home."/BirdNET-Pi/apprise.txt") != 0) { echo "checked"; };?> >
|
<input type="checkbox" name="apprise_notify_new_species" <?php if($config['APPRISE_NOTIFY_NEW_SPECIES'] == 1 && filesize($home."/BirdNET-Pi/apprise.txt") != 0) { echo "checked"; };?> >
|
||||||
<label for="apprise_notify_new_species">Notify each new infrequent species detection (<5 visits per week)</label><br>
|
<label for="apprise_notify_new_species">Notify each new infrequent species detection (<5 visits per week)</label><br>
|
||||||
|
|||||||
Reference in New Issue
Block a user