ceftrnjgnjetnjie

remotes/1693045480750635534/spooky-22
fireworks88 2021-09-05 14:01:23 +02:00
parent 52b6951b7b
commit 0f13a8481d
3 changed files with 193 additions and 187 deletions

View File

@ -198,7 +198,7 @@ def post_id(pid, anything=None, v=None):
post.tree_comments()
if request.headers.get("Authorization"): return post.json
else: return post.rendered_page(v=v, read, sort=sort)
else: return post.rendered_page(v=v, read=None, sort=sort)
@app.post("/edit_post/<pid>")

View File

@ -1064,7 +1064,7 @@
</head>
<body id="{% if request.path != '/comments' %}{% block pagetype %}frontpage{% endblock %}{% endif %}" style="overflow-x: hidden; {% if v and v.background %} background:url(/assets/images/backgrounds/{{v.background}}) no-repeat center center fixed !important; background-size: cover!important; background-color: #000!important;{% endif %}">
<body id="{% if request.path != '/comments' %}{% block pagetype %}frontpage{% endblock %}{% endif %}" style="overflow-x: hidden; {% if v and v.background %} background:url(/assets/images/backgrounds/{{v.background}}) no-repeat center center fixed !important; background-size: cover!important; background-color: #000!important;{% endif %} margin-top: 29px!important;">
<a rel="nofollow noopener noreferrer" href="{% if 'rdrama' in request.host %}https://secure.transequality.org/site/Donation2?df_id=1480{% else %}/{% endif %}"><img loading="lazy" src="/assets/images/{{'SITE_NAME' | app_config}}/{% if v %}banner.gif{% else %}cached.gif{% endif %}" width="100%"></a>

View File

@ -1,6 +1,10 @@
<!-- Navigation -->
<nav class="navbar navbar-expand-md navbar-light shadow shadow-md fixed-top" id="navbar">
<nav class="shadow shadow-md fixed-top">
<div id="srd" style="width: 100%; background-color: var(--primary); padding: 2px; text-align: center; font-weight: bold;">
<a style="color: white" href="https://reddit.com/r/SubredditDrama">/r/SubredditDrama brigading site</a>
</div>
<div class="navbar navbar-expand-md navbar-light" id="navbar">
<div class="container-fluid" style="padding:0;">
<div class="flex-grow-1">
<a {% if v %}href="/"{% else %}href="/logged_out"{% endif %} class="navbar-brand">
@ -191,6 +195,8 @@
<a class="btn btn-outline-purple btn-block" href="/signup?redirect={{request.path | urlencode}}">Sign up</a>
</li>
{% endif %}
</ul>
</div>
</div>
</div>
</nav>