rDrama/files/templates/default.html

336 lines
12 KiB
HTML
Raw Normal View History

2021-10-15 14:08:27 +00:00
<!DOCTYPE html>
<html lang="en">
2021-12-14 22:48:37 +00:00
<head>
2021-12-29 08:40:06 +00:00
<meta name="description" content="{{'DESCRIPTION' | app_config}}">
2021-12-14 22:48:37 +00:00
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval' ajax.cloudflare.com; connect-src 'self' tls-use1.fpapi.io api.fpjs.io 02ddcc80-b8db-42be-9022-44c546b4dce6.pushnotifications.pusher.com; object-src 'none';">
2021-12-24 23:00:09 +00:00
<script src="/static/assets/js/bootstrap.js?a=3"></script>
2021-12-14 22:48:37 +00:00
{% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style>
2022-01-13 23:29:15 +00:00
<link rel="stylesheet" href="/static/assets/css/main.css?a=73">
2022-01-08 21:33:34 +00:00
<link rel="stylesheet" href="/static/assets/css/{{v.theme}}.css?a=11">
2021-12-28 19:42:05 +00:00
{% if v.agendaposter %}
<style>
html {
2021-12-31 16:23:57 +00:00
cursor:url('/static/assets/images/dildo.webp?a=1'), auto;
2021-12-28 19:42:05 +00:00
}
.nav-item .text-small.font-weight-bold::before {
content: "((("
}
.nav-item .text-small.font-weight-bold::after {
content: ")))"
}
.nav-item .text-small-extra.text-primary {
font-size: 0 !important
}
.nav-item .text-small-extra.text-primary i {
font-size: 11px !important
}
</style>
{% elif v.css %}
<link rel="stylesheet" href="/@{{v.username}}/css">
{% endif %}
2021-12-14 22:48:37 +00:00
{% else %}
<style>:root{--primary:#{{'DEFAULT_COLOR' | app_config}}</style>
2022-01-13 23:29:15 +00:00
<link rel="stylesheet" href="/static/assets/css/main.css?a=73"><link rel="stylesheet" href="/static/assets/css/{{'DEFAULT_THEME' | app_config}}.css?a=3">
2021-10-15 14:08:27 +00:00
{% endif %}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
2022-01-13 21:15:36 +00:00
<meta name="thumbnail" content="/static/assets/images/{{'SITE_NAME' | app_config}}/site_preview.webp?a=1">
2021-12-14 22:48:37 +00:00
2022-01-09 17:19:33 +00:00
<link rel="icon" type="image/png" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8">
2021-10-15 14:08:27 +00:00
{% block title %}
<title>{{'SITE_NAME' | app_config}}</title>
2021-10-26 21:11:14 +00:00
<meta property="og:type" content="article" >
<meta property="og:title" content="{{'SITE_NAME' | app_config}}" >
<meta property="og:site_name" content="{{request.host}}" >
2022-01-13 21:15:36 +00:00
<meta property="og:image" content="{{'SITE_NAME' | app_config}}/static/assets/images/{{'SITE_NAME' | app_config}}/site_preview.webp?a=1" >
2021-10-15 14:08:27 +00:00
<meta property="og:url" content="{{request.path | full_link}}">
<meta property="og:description" name="description" content="{{'SITE_NAME' | app_config}} - {{'SLOGAN' | app_config}}">
2021-10-26 21:11:14 +00:00
<meta property="og:author" name="author" content="@{{request.host_url}}" >
<meta property="og:site_name" content="{{request.host}}" >
2021-10-15 14:08:27 +00:00
2021-10-26 21:11:14 +00:00
<meta name="twitter:card" content="summary_large_image">
2021-10-15 14:08:27 +00:00
<meta name="twitter:site" content="@{{request.host_url}}">
2021-10-26 21:11:14 +00:00
<meta name="twitter:title" content="{{'SITE_NAME' | app_config}}" >
2021-10-15 14:08:27 +00:00
<meta name="twitter:creator" content="@{{request.host_url}}">
2021-10-26 21:11:14 +00:00
<meta name="twitter:description" content="{{'SITE_NAME' | app_config}} - {{'SLOGAN' | app_config}}" >
2022-01-13 21:15:36 +00:00
<meta name="twitter:image" content="/static/assets/images/{{'SITE_NAME' | app_config}}/site_preview.webp?a=1" >
2021-10-26 21:11:14 +00:00
<meta name="twitter:url" content="{{request.path | full_link}}" >
2021-10-15 14:08:27 +00:00
{% endblock %}
2021-12-14 22:48:37 +00:00
<meta name="apple-mobile-web-app-capable" content="yes">
2021-10-15 14:08:27 +00:00
<meta name="apple-touch-fullscreen" content="yes">
<meta name="format-detection" content="telephone=no">
2021-12-14 22:48:37 +00:00
<meta name="viewport" content="width=device-width,initial-scale=1">
2021-10-15 14:08:27 +00:00
2022-01-09 17:19:33 +00:00
<link rel="apple-touch-icon" sizes="180x180" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8">
2021-12-26 03:57:51 +00:00
<link rel="manifest" href="/static/assets/manifest.json?a=1">
2022-01-09 17:19:33 +00:00
<link rel="mask-icon" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8" color="#{{'DEFAULT_COLOR' | app_config}}">
<link rel="shortcut icon" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8">
2021-10-15 14:08:27 +00:00
<meta name="apple-mobile-web-app-title" content="{{'SITE_NAME' | app_config}}">
<meta name="application-name" content="{{'SITE_NAME' | app_config}}">
<meta name="msapplication-TileColor" content="#{{'DEFAULT_COLOR' | app_config}}">
2021-12-26 03:57:51 +00:00
<meta name="msapplication-config" content="/static/assets/browserconfig.xml?a=1">
2021-10-15 14:08:27 +00:00
<meta name="theme-color" content="#{{'DEFAULT_COLOR' | app_config}}">
2021-12-14 22:48:37 +00:00
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="320x480"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="640x960"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-icon"
sizes="640x1136"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-icon"
sizes="750x1334"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="768x1004"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="768x1024"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="828x1792"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="1024x748"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="1024x768"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="1125x2436"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="1242x2208"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="1242x2688"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="1334x750"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="1536x2008"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="1536x2048"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="1668x2224"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="1792x828"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="2048x1496"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="2048x1536"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="2048x2732"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="2208x1242"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="2224x1668"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="2436x1125"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="2668x1242"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
<link
rel="apple-touch-startup-image"
sizes="2737x2048"
2022-01-09 17:19:33 +00:00
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=8"
2021-10-26 21:11:14 +00:00
>
2021-10-15 14:08:27 +00:00
2021-12-14 22:48:37 +00:00
{% block fixedMobileBarJS %}
2021-10-15 14:08:27 +00:00
{% endblock %}
</head>
2022-01-01 22:06:53 +00:00
<body id="{% if request.path != '/comments' %}{% block pagetype %}frontpage{% endblock %}{% endif %}" style="{% if path != '/formatting' %}overflow-x: hidden; {% endif %}{% if v and v.background %} background:url(/static/assets/images/backgrounds/{{v.background}}) no-repeat center center fixed !important; background-size: cover!important; background-color: #000!important;{% endif %} {% if request.host == 'rdrama.net' %}margin-top: 29px!important;{% endif %}">
2021-10-15 14:08:27 +00:00
2021-10-21 13:30:05 +00:00
{% block Banner %}
2021-12-14 22:48:37 +00:00
{% if '@' not in request.path %}
<style>
.banner {
margin-top: -3px;
}
@media (min-width: 992px) {
.banner {
margin-top: 10px !important;
}
}
</style>
2021-12-27 06:06:08 +00:00
{% if v %}
2022-01-01 22:06:53 +00:00
<a href="{% if request.host == 'rdrama.net' %}https://secure.transequality.org/site/Donation2?df_id=1480{% else %}/{% endif %}">
2022-01-13 21:15:36 +00:00
<img class="banner" alt="site banner" src="/static/assets/images/{{'SITE_NAME' | app_config}}/banner.webp?a=9" width="100%">
2021-12-27 06:06:08 +00:00
</a>
{% else %}
<a href="/login">
2022-01-13 21:15:36 +00:00
<img class="banner" alt="site banner" src="/static/assets/images/{{'SITE_NAME' | app_config}}/cached.webp?a=7" width="100%">
2021-12-27 06:06:08 +00:00
</a>
{% endif %}
2021-12-14 22:48:37 +00:00
{% endif %}
2021-10-21 13:30:05 +00:00
{% endblock %}
2021-10-15 14:08:27 +00:00
2021-12-14 22:48:37 +00:00
{% include "header.html" %}
2021-10-15 14:08:27 +00:00
{% block mobileUserBanner %}
{% endblock %}
{% block mobileBanner %}
{% endblock %}
{% block postNav %}
{% endblock %}
2021-12-29 14:41:10 +00:00
<div class="container{% if request.path=='/' or '/post/' in request.path or '/comment/' in request.path %} transparent{% endif %}">
2021-12-14 22:48:37 +00:00
<div class="row justify-content-around" id="main-content-row">
<div class="col h-100 {% block customPadding %}{% if not '/message' in request.path %}custom-gutters{% endif %}{% endblock %}" id="main-content-col">
2021-10-15 14:08:27 +00:00
{% block desktopUserBanner %}
{% endblock %}
{% block desktopBanner %}
{% endblock %}
2021-12-14 22:48:37 +00:00
{% block PseudoSubmitForm %}
2021-12-05 02:36:46 +00:00
{% endblock %}
2021-12-14 22:48:37 +00:00
{% block searchText %}
{% endblock %}
2021-10-15 14:08:27 +00:00
2021-12-14 22:48:37 +00:00
{% block content %}
{% endblock %}
2021-10-15 14:08:27 +00:00
2021-12-14 22:48:37 +00:00
{% block pagenav %}
{% endblock %}
2021-11-24 16:48:06 +00:00
2021-10-15 14:08:27 +00:00
</div>
2022-01-02 14:18:21 +00:00
{% if request.path in ('/', '/logged_out', '/logged_out/') %}
2022-01-02 14:23:08 +00:00
{% if request.host == 'pcmemes.net' %}
{% set template = "sidebar_PCM.html" %}
{% else %}
2022-01-02 14:22:00 +00:00
{% set template = "sidebar_" + environ.get("SITE_NAME") + ".html" %}
2022-01-02 14:23:08 +00:00
{% endif %}
{% block sidebar %}
2022-01-02 14:22:00 +00:00
{% include template %}
2021-12-30 05:27:22 +00:00
{% endblock %}
{% endif %}
2021-10-15 14:08:27 +00:00
</div>
</div>
{% block mobilenavbar %}
2021-12-05 02:36:46 +00:00
{% include "mobile_navigation_bar.html" %}
2021-10-15 14:08:27 +00:00
{% endblock %}
{% block actionsModal %}
{% endblock %}
{% block reportCommentModal %}
{% endblock %}
{% block GIFtoast %}
{% endblock %}
{% block GIFpicker %}
{% endblock %}
2021-12-05 02:36:46 +00:00
2021-12-14 22:48:37 +00:00
<div class="toast clipboard" id="toast-success" role="alert" aria-live="assertive" aria-atomic="true" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
<div class="toast-body text-center">
<i class="fas fa-check-circle text-success mr-2"></i>Link copied to clipboard
</div>
</div>
2021-12-06 05:22:52 +00:00
2021-12-14 22:48:37 +00:00
<div class="toast" id="toast-post-success" style="position: fixed; bottom: 1.5rem; margin: 0 auto; left: 0; right: 0; width: 275px; z-index: 1000" role="alert" aria-live="assertive" aria-atomic="true" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
<div class="toast-body bg-success text-center text-white">
2021-12-17 04:44:25 +00:00
<i class="fas fa-comment-alt-smile mr-2"></i><span id="toast-post-success-text">Action successful!</span>
2021-12-14 22:48:37 +00:00
</div>
</div>
<div class="toast" id="toast-post-error" style="position: fixed; bottom: 1.5rem; margin: 0 auto; left: 0; right: 0; width: 275px; z-index: 1000" role="alert" aria-live="assertive" aria-atomic="true" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
<div class="toast-body bg-danger text-center text-white">
<i class="fas fa-exclamation-circle mr-2"></i><span id="toast-post-error-text">Error, please try again later.</span>
</div>
</div>
2021-12-11 00:18:58 +00:00
2021-12-24 23:00:09 +00:00
<script src="/static/assets/js/lozad.js?a=3"></script>
2021-12-07 01:01:47 +00:00
2021-12-05 00:05:06 +00:00
{% if v %}
2021-12-31 15:17:13 +00:00
<script src="/static/assets/js/post_toast2.js?a=7"></script>
2021-12-24 23:00:09 +00:00
<script src="/static/assets/js/formatting.js?a=3"></script>
2022-01-06 16:46:09 +00:00
<script src="/static/assets/js/default.js?a=4"></script>
2021-12-05 00:05:06 +00:00
{% endif %}
2021-12-24 23:00:09 +00:00
<script src="/static/assets/js/lite-youtube.js?a=3"></script>
2021-12-14 22:48:37 +00:00
2021-11-24 16:48:06 +00:00
</body>
2021-12-14 22:48:37 +00:00
2021-10-15 14:08:27 +00:00
</html>