forked from rDrama/rDrama
1
0
Fork 0
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,7 +77,6 @@
<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">
@ -90,7 +89,6 @@
</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>