No point hiding the notifications customisation area because it's now in its own tab

pull/205/head
dgtlmoon 3 years ago
parent 5fb9bbdfa3
commit 58c3bc371d

@ -9,9 +9,5 @@ window.addEventListener("load", (event) => {
x.style.display = "block"; x.style.display = "block";
} }
} }
document.getElementById("toggle-customise-notifications").onclick = function () {
toggleVisible("notification-customisation");
};
}); });

File diff suppressed because one or more lines are too long

@ -236,16 +236,11 @@ body:after, body:before {
} }
#notification-customisation { #notification-customisation {
display: block;
border: 1px solid #ccc; border: 1px solid #ccc;
padding: 1rem; padding: 1rem;
border-radius: 5px; border-radius: 5px;
} }
#toggle-customise-notifications {
cursor: pointer;
}
#token-table { #token-table {
&.pure-table td, &.pure-table th { &.pure-table td, &.pure-table th {

@ -50,12 +50,9 @@
<div class="pure-form-message-inline">Use <a target=_new <div class="pure-form-message-inline">Use <a target=_new
href="https://github.com/caronc/apprise">AppRise href="https://github.com/caronc/apprise">AppRise
URLs</a> for notification to just about any service! URLs</a> for notification to just about any service!
<a id="toggle-customise-notifications">Customise notification body: <i
class="arrow down"></i></a>
</div> </div>
</div> </div>
<div id="notification-customisation" style="display:none;"> <div id="notification-customisation">
<div class="pure-control-group"> <div class="pure-control-group">
{{ render_field(form.notification_title, class="m-d") }} {{ render_field(form.notification_title, class="m-d") }}
<span class="pure-form-message-inline">Title for all notifications</span> <span class="pure-form-message-inline">Title for all notifications</span>

Loading…
Cancel
Save