show fetch limit controls

This commit is contained in:
Corban-Lee Jones 2024-07-01 19:27:10 +01:00
parent af2845a15d
commit b04084b074
2 changed files with 7 additions and 5 deletions

View File

@ -120,9 +120,11 @@ function initSubscriptionTable() {
$("#subTable").on("change", ".sub-toggle-active", async function () {
// Lock all toggles to soft-prevent spam.
// There is a rate limit, but allowing the user to
// reach it from this toggle would be bad.
/*
Lock all toggles to soft-prevent spam.
There is a rate limit, but allowing the user to
reach it from this toggle would be bad.
*/
$(".sub-toggle-active").prop("disabled", true);
try {

View File

@ -91,14 +91,14 @@
<div class="form-text">Apply mutators to article descriptions.</div>
</div>
</div>
<div class="col-lg-6 pe-lg-4 d-none">
<div class="col-lg-6 pe-lg-4">
<div class="mb-4">
<label for="" class="form-label">Article Fetch Limit</label>
<input type="number" id="subFetchLimit" class="form-control rounded-1" max="10" min="1">
<div class="form-text">Limit the number of articles fetched every cycle.</div>
</div>
</div>
<div class="col-lg-6 ps-lg-4 d-none">
<div class="col-lg-6 ps-lg-4">
<div class="form-switch ps-0 mb-4">
<label for="subResetFetchLimit" class="form-check-label mb-2">Max Fetch Limit after the First Cycle</label>
<br>