master
Aevann1 2022-04-24 18:25:01 +02:00
parent 457a717075
commit 6ea487a6e7
2 changed files with 14 additions and 16 deletions

View File

@ -41,7 +41,7 @@
<div class="row" style="overflow: visible;padding-top:5px;"> <div class="row" style="overflow: visible;padding-top:5px;">
<div class="col"> <div class="col">
{% if v and SITE_NAME != 'Cringetopia' %} {% if v %}
<div class="mt-3 d-lg-none"> <div class="mt-3 d-lg-none">
{% if sub %} {% if sub %}
{% if v.subs == 1 %} {% if v.subs == 1 %}
@ -51,7 +51,7 @@
<a class="btn btn-primary btn-block {% if v.blocks(sub.name) %}d-none{% endif %}" onclick="post_toast(this,'/h/{{sub.name}}/block','block-sub','unblock-sub');this.classList.toggle('d-none');nextElementSibling.classList.toggle('d-none')">Block /h/{{sub.name}}</a> <a class="btn btn-primary btn-block {% if v.blocks(sub.name) %}d-none{% endif %}" onclick="post_toast(this,'/h/{{sub.name}}/block','block-sub','unblock-sub');this.classList.toggle('d-none');nextElementSibling.classList.toggle('d-none')">Block /h/{{sub.name}}</a>
<a class="btn btn-primary btn-block {% if not v.blocks(sub.name) %}d-none{% endif %}" onclick="post_toast(this,'/h/{{sub.name}}/unblock','block-sub','unblock-sub');this.classList.toggle('d-none');previousElementSibling.classList.toggle('d-none')">Unblock /h/{{sub.name}}</a> <a class="btn btn-primary btn-block {% if not v.blocks(sub.name) %}d-none{% endif %}" onclick="post_toast(this,'/h/{{sub.name}}/unblock','block-sub','unblock-sub');this.classList.toggle('d-none');previousElementSibling.classList.toggle('d-none')">Unblock /h/{{sub.name}}</a>
{% endif %} {% endif %}
{% else %} {% elif SITE_NAME == 'rDrama' %}
<div class="dropdown dropdown-actions mx-2"> <div class="dropdown dropdown-actions mx-2">
<button class="btn btn-primary btn-block dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <button class="btn btn-primary btn-block dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-user-group mr-3 "></i> <i class="fas fa-user-group mr-3 "></i>
@ -81,7 +81,7 @@
{% block navbar %} {% block navbar %}
<div class="d-flex align-items-center"> <div class="d-flex align-items-center">
{% if v and SITE_NAME != 'Cringetopia' %} {% if v and SITE_NAME == 'rDrama' %}
{% if v.paid_dues %} {% if v.paid_dues %}
{% if ccmode=="true"%} {% if ccmode=="true"%}
<a data-bs-toggle="tooltip" data-bs-placement="bottom" title="Only show country club posts" class="btn btn-primary text-primary mx-2" href="?sort={{sort}}&t={{t}}&ccmode=false"><i class="fas fa-golf-club mr-2 "></i>CC</a> <a data-bs-toggle="tooltip" data-bs-placement="bottom" title="Only show country club posts" class="btn btn-primary text-primary mx-2" href="?sort={{sort}}&t={{t}}&ccmode=false"><i class="fas fa-golf-club mr-2 "></i>CC</a>

View File

@ -77,20 +77,18 @@
<input type="hidden" name="formkey" value="{{v.formkey}}"> <input type="hidden" name="formkey" value="{{v.formkey}}">
{% if SITE != 'cringetopia.org' %} <label class='mt-4' for="title">Hole</label>
<label class='mt-4' for="title">Hole</label>
<div class="input-group mb2"> <div class="input-group mb2">
<input list="subs" autocomplete="off" id='sub' class="form-control" form="submitform" name="sub" oninput="savetext()" {% if sub %}value="{{sub.name}}"{% endif %} placeholder="Optional"> <input list="subs" autocomplete="off" id='sub' class="form-control" form="submitform" name="sub" oninput="savetext()" {% if sub %}value="{{sub.name}}"{% endif %} placeholder="Optional">
<datalist id="subs"> <datalist id="subs">
{% for s in SUBS %} {% for s in SUBS %}
<option value="{{s}}"></option> <option value="{{s}}"></option>
{% endfor %} {% endfor %}
</datalist> </datalist>
</div> </div>
<div class="mt-1" style="font-size: min(3.5vw,14px)"><span style="color:#ffcccb ">WARNING</span>: Selecting a hole considerably reduces the number of people who will see your post. Don't select a hole unless that's what you want.</div> <div class="mt-1" style="font-size: min(3.5vw,14px)"><span style="color:#ffcccb ">WARNING</span>: Selecting a hole considerably reduces the number of people who will see your post. Don't select a hole unless that's what you want.</div>
{% endif %}
<label class='mt-4' for="title">Post Title</label> <label class='mt-4' for="title">Post Title</label>