jokes checkboxes backend

This commit is contained in:
Justin 2023-07-12 16:30:28 +08:00 committed by GitHub
parent c83b663af0
commit 698b717ed9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7055,17 +7055,23 @@
<label for="inputText" class="col-form-label">Blacklist: </label> <label for="inputText" class="col-form-label">Blacklist: </label>
</div> </div>
<div class="col-auto"> <div class="col-auto">
<input type="checkbox" id="nsfw-jokes" value="nsfw"> <input type="checkbox" id="nsfw-jokes" value="nsfw"
{% if "nsfw" in jokes_settings.blacklist %} checked {% endif %}>
<label for="nsfw-jokes">NSFW</label> <label for="nsfw-jokes">NSFW</label>
<input type="checkbox" id="religious-jokes" value="religious"> <input type="checkbox" id="religious-jokes" value="religious"
{% if "religious" in jokes_settings.blacklist %} checked {% endif %}>
<label for="religious-jokes">Religious</label> <label for="religious-jokes">Religious</label>
<input type="checkbox" id="political-jokes" value="political"> <input type="checkbox" id="political-jokes" value="political"
{% if "political" in jokes_settings.blacklist %} checked {% endif %}>
<label for="political-jokes">Political</label><br> <label for="political-jokes">Political</label><br>
<input type="checkbox" id="racist-jokes" value="racist"> <input type="checkbox" id="racist-jokes" value="racist"
{% if "racist" in jokes_settings.blacklist %} checked {% endif %}>
<label for="racist-jokes">Racist</label> <label for="racist-jokes">Racist</label>
<input type="checkbox" id="sexist-jokes" value="sexist"> <input type="checkbox" id="sexist-jokes" value="sexist"
{% if "sexist" in jokes_settings.blacklist %} checked {% endif %}>
<label for="sexist-jokes">Sexist</label> <label for="sexist-jokes">Sexist</label>
<input type="checkbox" id="explicit-jokes" value="explicit"> <input type="checkbox" id="explicit-jokes" value="explicit"
{% if "explicit" in jokes_settings.blacklist %} checked {% endif %}>
<label for="explicit-jokes">Explicit</label> <label for="explicit-jokes">Explicit</label>
</div> </div>
</div> </div>