fix up some of shit in the issues tab

pull/225/head
Aevann 2024-02-23 23:08:26 +02:00
parent 53649caeab
commit f919b90e6b
6 changed files with 10 additions and 10 deletions

View File

@ -9,8 +9,8 @@
<div class="col col-md-6 px-0 pt-3 py-md-0">
<div class="body">
<input hidden name="formkey" value="{{v|formkey}}">
<label for="title">Group Name</label>
<input minlength="3" maxlength="25" pattern='[a-zA-Z0-9_\-]*' class="form-control" type="text" name="name" required>
<label for="group-name">Group Name</label>
<input id="group-name" minlength="3" maxlength="25" pattern='[a-zA-Z0-9_\-]*' class="form-control" type="text" name="name" required>
<small class="form-text text-muted">3-25 characters, including letters, numbers, _ , and -</small>
<div class="footer">
<div class="d-flex">

View File

@ -9,8 +9,8 @@
<h3 class=" d-md-none">Create a hole</h3>
<div class="body">
<input hidden name="formkey" value="{{v|formkey}}">
<label for="title">Hole Name</label>
<input minlength="3" maxlength="25" pattern='[a-zA-Z0-9_\-]*' class="form-control" id="title-register" type="text" name="name" required>
<label for="hole-name">Hole Name</label>
<input minlength="3" maxlength="25" pattern='[a-zA-Z0-9_\-]*' class="form-control" id="hole-name" type="text" name="name" required>
<small class="form-text text-muted">3-25 characters, including letters, numbers, _ , and -</small>
{% if HOLE_INACTIVITY_DELETION %}
<p class="text-danger mt-2">Warning: holes get automatically deleted if they spend 7 days with no new posts.</p>

View File

@ -78,7 +78,7 @@
</div>
<div id="emoji_behavior_section" class="col d-none mb-3 pb-3">
<label id="emoji_behavior_label" for="behavior">Emoji behavior:</label>
<label id="emoji_behavior_label" for="emoji_behavior">Emoji behavior:</label>
<div class="input-group">
<select autocomplete="off" id='emoji_behavior' class="form-control pr-2" style="min-height:35px;min-width:min(300px,80vw)">

View File

@ -8,7 +8,7 @@
</button>
</div>
<div class="modal-body">
<label class='mt-2' for="title">Hole</label>
<label class='mt-2' for="hole_to">Hole</label>
<div class="input-group">
{%- set hole_placeholder = 'Required' if HOLE_REQUIRED else 'Optional' -%}
<input list="holes" autocomplete="off" id="hole_to" class="form-control" placeholder="{{hole_placeholder}}" {% if HOLE_REQUIRED %}required{% endif %}>

View File

@ -13,7 +13,7 @@
<input autocomplete="off" id="ban_reason" class="form-control" placeholder="Enter reason" maxlength="256">
<label for="days" class="mt-3">Days</label>
<label for="ban_days" class="mt-3">Days</label>
<input autocomplete="off" type="number" step="any" max="{{max_days()}}" id="ban_days" class="form-control" placeholder="Leave blank for permanent">
<div class="custom-control custom-switch mt-3">
@ -54,7 +54,7 @@
</select>
</div>
<label class="mt-3" for="days">Days</label>
<label class="mt-3" for="chud_days">Days</label>
<input autocomplete="off" type="number" step="any" max="{{max_days()}}" id="chud_days" class="form-control" placeholder="Leave blank for permanent">
<div class="modal-footer pr-0">

View File

@ -16,7 +16,7 @@
<h2 class="mt-3">Create a post</h2>
<div class="body">
<input hidden name="formkey" value="{{v|formkey}}">
<label class='mt-4' for="title">Hole</label>
<label class='mt-4' for="hole">Hole</label>
<div class="input-group">
{%- set hole_placeholder = 'Required' if HOLE_REQUIRED else 'Optional' -%}
<input list="holes" autocomplete="off" id="hole" class="form-control" form="submitform" name="hole" data-nonce="{{g.nonce}}" data-oninput="savetext()" {% if hole %}value="{{hole}}"{% endif %} placeholder="{{hole_placeholder}}" {% if HOLE_REQUIRED %}required{% endif %}>
@ -26,7 +26,7 @@
{% endfor %}
</datalist>
</div>
<label class='mt-4' for="title">Post Title</label>
<label class='mt-4' for="post-title">Post Title</label>
<textarea autocomplete="off" class="form-control" id="post-title" type="text" name="title" placeholder="Required" value="{{title}}" minlength="1" maxlength="500" required data-nonce="{{g.nonce}}" data-oninput="checkForRequired();savetext()"></textarea>
{{macros.emoji_btn('post-title')}}