Maintenance banner moved to admin site (#1775)

* initial

* finish

* travis fixes

* travis again

* not required
This commit is contained in:
MrKeksi
2020-06-26 20:30:56 +02:00
committed by GitHub
parent 495c375685
commit 9a96df6a37
7 changed files with 64 additions and 6 deletions

View File

@ -134,6 +134,17 @@ function changePrivacyPolicyURL(path) {
$.post(path, {value: url})
}
// Display the maintenance Banner
function displayMaintenanceBanner(path) {
var message = $("#maintenance-banner").val()
$.post(path, {value: message})
}
// Clear the maintenance Banner
function clearMaintenanceBanner(path) {
$.post(path, {value: ""})
}
function mergeUsers() {
let userToMerge = $("#from-uid").text()
$.post($("#merge-save-access").data("path"), {merge: userToMerge})

View File

@ -145,6 +145,10 @@ input:focus {
border-color: $primary !important;
}
.input-group button:focus {
box-shadow: none !important;
}
.list-group-item-action.active {
color: $primary;
}