forked from MarseyWorld/MarseyWorld
fix up some of shit in the issues tab
parent
53649caeab
commit
f919b90e6b
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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)">
|
||||
|
|
|
@ -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 %}>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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')}}
|
||||
|
|
Loading…
Reference in New Issue