"server active?" switch to server settings
no functionality if disabled, should stop all subscriptions, regardless of individual active states.
This commit is contained in:
parent
bbafcf2b9b
commit
e8334ec825
@ -63,6 +63,7 @@ function createSearchRow(containingSelector, searchId, sortDropdownId, filterDro
|
|||||||
</div>
|
</div>
|
||||||
`);
|
`);
|
||||||
populateSortDropdown(sortDropdownId, options.sort);
|
populateSortDropdown(sortDropdownId, options.sort);
|
||||||
|
// bindSortDropdown(sortDropdownId);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options.filter && options.actions.GET) {
|
if (options.filter && options.actions.GET) {
|
||||||
|
@ -1,5 +1,33 @@
|
|||||||
<form id="serverSettingsForm" novalidate>
|
<form id="serverSettingsForm" novalidate>
|
||||||
<div class="row px-3">
|
<div class="row my-3 px-3">
|
||||||
|
<div class="col-12 text-end">
|
||||||
|
<button type="submit" id="saveSettings" class="btn btn-primary rounded-1">Save Changes</button>
|
||||||
|
<button type="button" class="btn btn-outline-danger">Reset All</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row my-3 px-3">
|
||||||
|
<div class="col-lg-4">
|
||||||
|
<div class="mb-4">
|
||||||
|
<div class="colour-input"
|
||||||
|
data-id="defaultEmbedColour"
|
||||||
|
data-label="Default Embed Colour"
|
||||||
|
data-helptext="Default colour of each embed in Discord."
|
||||||
|
data-defaultcolour="#3498db">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-8"></div>
|
||||||
|
<div class="col-lg-4">
|
||||||
|
<div class="form-switch ps-0">
|
||||||
|
<label for="serverActive" class="form-check-label mb-2">Server Active?</label>
|
||||||
|
<br>
|
||||||
|
<input type="checkbox" name="serverActive" id="serverActive" class="form-check-input ms-0 mt-0">
|
||||||
|
<br>
|
||||||
|
<div class="form-text">Is this server active?</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- <div class="row px-3">
|
||||||
<div class="col-lg-4">
|
<div class="col-lg-4">
|
||||||
<div class="colour-input"
|
<div class="colour-input"
|
||||||
data-id="defaultEmbedColour"
|
data-id="defaultEmbedColour"
|
||||||
@ -11,5 +39,5 @@
|
|||||||
<div class="col-12 text-end">
|
<div class="col-12 text-end">
|
||||||
<button type="submit" id="saveSettings" class="btn btn-primary rounded-1">Save Changes</button>
|
<button type="submit" id="saveSettings" class="btn btn-primary rounded-1">Save Changes</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> -->
|
||||||
</form>
|
</form>
|
Loading…
x
Reference in New Issue
Block a user