forked from MarseyWorld/MarseyWorld
dfs
parent
031d74efdb
commit
20a9c9c39c
|
@ -141,7 +141,7 @@ AGENDAPOSTER_MSG = """Hi @{username},\n\nYour {type} has been automatically remo
|
||||||
included. \n\n*This is an automated message; if you need help,
|
included. \n\n*This is an automated message; if you need help,
|
||||||
you can message us [here](/contact).*"""
|
you can message us [here](/contact).*"""
|
||||||
|
|
||||||
if SITE in {'rdrama.net','devrama.xyz','ruqqus.us'}:
|
if SITE in {'rdrama.net','devrama.xyz'}:
|
||||||
NOTIFICATIONS_ID = 1046
|
NOTIFICATIONS_ID = 1046
|
||||||
AUTOJANNY_ID = 2360
|
AUTOJANNY_ID = 2360
|
||||||
SNAPPY_ID = 261
|
SNAPPY_ID = 261
|
||||||
|
|
|
@ -9,12 +9,6 @@
|
||||||
<a class="nav-link active emojitab" data-bs-toggle="tab" href="#emoji-tab-favorite">Favorite</a>
|
<a class="nav-link active emojitab" data-bs-toggle="tab" href="#emoji-tab-favorite">Favorite</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{% if SITE_NAME == 'Ruqqus' %}
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link emojitab" data-bs-toggle="tab" href="#emoji-tab-ruqqie">Ruqqie</a>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link emojitab" data-bs-toggle="tab" href="#emoji-tab-marsey">Marsey</a>
|
<a class="nav-link emojitab" data-bs-toggle="tab" href="#emoji-tab-marsey">Marsey</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -63,12 +57,6 @@
|
||||||
<div class="d-flex flex-wrap py-3 pl-2" id="EMOJIS_favorite"></div>
|
<div class="d-flex flex-wrap py-3 pl-2" id="EMOJIS_favorite"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if SITE_NAME == 'Ruqqus' %}
|
|
||||||
<div class="tab-pane fade" id="emoji-tab-ruqqie">
|
|
||||||
<div class="d-flex flex-wrap py-3 pl-2" id="EMOJIS_ruqqie"></div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<div class="tab-pane fade" id="emoji-tab-marsey">
|
<div class="tab-pane fade" id="emoji-tab-marsey">
|
||||||
<div class="d-flex flex-wrap py-3 pl-2" id="EMOJIS_marsey"></div>
|
<div class="d-flex flex-wrap py-3 pl-2" id="EMOJIS_marsey"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -166,7 +166,7 @@
|
||||||
{% if request.host != 'pcmemes.net' %}
|
{% if request.host != 'pcmemes.net' %}
|
||||||
<a class="dropdown-item" href="/discord"><i class="fab fa-discord fa-fw text-left mr-3"></i>Discord</a>
|
<a class="dropdown-item" href="/discord"><i class="fab fa-discord fa-fw text-left mr-3"></i>Discord</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not (g.webview and v.truecoins < 1) and SITE_NAME != 'Ruqqus' %}
|
{% if not (g.webview and v.truecoins < 1) %}
|
||||||
<a class="dropdown-item" rel="nofollow noopener noreferrer" href="{{config('GUMROAD_LINK')}}"><i class="fas fa-dollar-sign fa-fw text-left mr-3"></i>Donate</a>
|
<a class="dropdown-item" rel="nofollow noopener noreferrer" href="{{config('GUMROAD_LINK')}}"><i class="fas fa-dollar-sign fa-fw text-left mr-3"></i>Donate</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if SITE_NAME == 'Drama' %}<a class="dropdown-item" href="/archives"><i class="fas fa-book fa-fw text-left mr-3"></i>Archives</a>{% endif %}
|
{% if SITE_NAME == 'Drama' %}<a class="dropdown-item" href="/archives"><i class="fas fa-book fa-fw text-left mr-3"></i>Archives</a>{% endif %}
|
||||||
|
@ -226,7 +226,7 @@
|
||||||
{% if request.host != 'pcmemes.net' %}
|
{% if request.host != 'pcmemes.net' %}
|
||||||
<a class="nav-item nav-link" href="/discord"><i class="fab fa-discord fa-fw mr-3"></i>Discord</a>
|
<a class="nav-item nav-link" href="/discord"><i class="fab fa-discord fa-fw mr-3"></i>Discord</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not (g.webview and v.truecoins < 1) and SITE_NAME != 'Ruqqus' %}
|
{% if not (g.webview and v.truecoins < 1) %}
|
||||||
<a class="nav-item nav-link" rel="nofollow noopener noreferrer" href="{{config('GUMROAD_LINK')}}"><i class="fas fa-dollar-sign fa-fw mr-3"></i>Donate</a>
|
<a class="nav-item nav-link" rel="nofollow noopener noreferrer" href="{{config('GUMROAD_LINK')}}"><i class="fas fa-dollar-sign fa-fw mr-3"></i>Donate</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if SITE_NAME == 'Drama' %}<a class="nav-item nav-link" href="/archives"><i class="fas fa-book fa-fw mr-3"></i>Archives</a>{% endif %}
|
{% if SITE_NAME == 'Drama' %}<a class="nav-item nav-link" href="/archives"><i class="fas fa-book fa-fw mr-3"></i>Archives</a>{% endif %}
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%>
|
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%>
|
||||||
|
<a class="btn btn-primary btn-block" href="/create_sub">CREATE SUB</a>
|
||||||
|
|
||||||
{% if sub %}
|
{% if sub %}
|
||||||
{% if sub.sidebar_html %}
|
{% if sub.sidebar_html %}
|
||||||
<div class="mb-4">{{sub.sidebar_html|safe}}</div>
|
<div class="mb-4">{{sub.sidebar_html|safe}}</div>
|
||||||
|
|
|
@ -1,46 +0,0 @@
|
||||||
<div class="col sidebar text-left d-none d-lg-block pt-3 bg-white" style="max-width:300px">
|
|
||||||
{% if sub %}
|
|
||||||
{% set image=sub.sidebar_url %}
|
|
||||||
{% else %}
|
|
||||||
{% set image='/static/assets/images/' + SITE_NAME + '/sidebar.webp?a=1041' %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%>
|
|
||||||
|
|
||||||
{% if sub %}
|
|
||||||
{% if sub.sidebar_html %}
|
|
||||||
<div class="mb-4">{{sub.sidebar_html|safe}}</div>
|
|
||||||
{% endif %}
|
|
||||||
{% if v and v.mods(sub.name) %}
|
|
||||||
<a class="btn btn-primary btn-block" href="/s/{{sub.name}}/settings">SUB SETTINGS</a>
|
|
||||||
{% endif %}
|
|
||||||
{% if v %}
|
|
||||||
<a class="btn btn-primary btn-block {% if v.blocks(sub.name) %}d-none{% endif %}" onclick="post_toast(this,'/s/{{sub.name}}/block','block-sub','unblock-sub');this.classList.toggle('d-none');nextElementSibling.classList.toggle('d-none')">BLOCK SUB</a>
|
|
||||||
<a class="btn btn-primary btn-block {% if not v.blocks(sub.name) %}d-none{% endif %}" onclick="post_toast(this,'/s/{{sub.name}}/unblock','block-sub','unblock-sub');this.classList.toggle('d-none');previousElementSibling.classList.toggle('d-none')">UNBLOCK SUB</a>
|
|
||||||
{% endif %}
|
|
||||||
<a class="btn btn-primary btn-block" href="/s/{{sub.name}}/mods">MODS</a>
|
|
||||||
<a class="btn btn-primary btn-block" href="/s/{{sub.name}}/exilees">EXILEES</a>
|
|
||||||
<a class="btn btn-primary btn-block" href="/s/{{sub.name}}/blockers">BLOCKERS</a>
|
|
||||||
{% else %}
|
|
||||||
<p class="mt-4">Rules: No doxxing, No CP or other clearly illegal shit. Also no nazis, go to communities.win. Thanks!</p>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<a class="btn btn-primary btn-block" href="/create_sub">CREATE SUB</a>
|
|
||||||
|
|
||||||
<pre>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</pre>
|
|
||||||
</div>
|
|
|
@ -82,7 +82,7 @@
|
||||||
<label class='mt-4' for="title">Sub</label>
|
<label class='mt-4' for="title">Sub</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 %} {% if SITE_NAME == 'Ruqqus' %}required placeholder="Required"{% else %}placeholder="Optional"{% endif %}>
|
<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>
|
||||||
|
|
Loading…
Reference in New Issue