MarseyWorld/files/templates/default.html

360 lines
13 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="{{'DESCRIPTION' | app_config}}">
<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';">
<script src="/static/assets/js/bootstrap.js?a=3"></script>
{% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/static/assets/css/main.css?a=33">
<link rel="stylesheet" href="/static/assets/css/{{v.theme}}.css?a=3">
{% if v.agendaposter %}
<style>
html {
cursor:url('https://i.ibb.co/4VZB08S/Image.webp'), auto;
}
.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 %}
{% else %}
<style>:root{--primary:#{{'DEFAULT_COLOR' | app_config}}</style>
<link rel="stylesheet" href="/static/assets/css/main.css?a=33"><link rel="stylesheet" href="/static/assets/css/{{'DEFAULT_THEME' | app_config}}.css?a=3">
{% endif %}
<link href="/static/assets/css/fa.css?a=3" rel="stylesheet">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="thumbnail" content="/static/assets/images/{{'SITE_NAME' | app_config}}/preview.webp?a=3">
<link rel="icon" type="image/png" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5">
{% block title %}
<title>{{'SITE_NAME' | app_config}}</title>
<meta property="og:type" content="article" >
<meta property="og:title" content="{{'SITE_NAME' | app_config}}" >
<meta property="og:site_name" content="{{request.host}}" >
<meta property="og:image" content="{{'SITE_NAME' | app_config}}/static/assets/images/{{'SITE_NAME' | app_config}}/preview.webp?a=3" >
<meta property="og:url" content="{{request.path | full_link}}">
<meta property="og:description" name="description" content="{{'SITE_NAME' | app_config}} - {{'SLOGAN' | app_config}}">
<meta property="og:author" name="author" content="@{{request.host_url}}" >
<meta property="og:site_name" content="{{request.host}}" >
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@{{request.host_url}}">
<meta name="twitter:title" content="{{'SITE_NAME' | app_config}}" >
<meta name="twitter:creator" content="@{{request.host_url}}">
<meta name="twitter:description" content="{{'SITE_NAME' | app_config}} - {{'SLOGAN' | app_config}}" >
<meta name="twitter:image" content="/static/assets/images/{{'SITE_NAME' | app_config}}/preview.webp?a=3" >
<meta name="twitter:url" content="{{request.path | full_link}}" >
{% endblock %}
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="apple-touch-icon" sizes="180x180" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5">
<link rel="manifest" href="/static/assets/manifest.json?a=1">
<link rel="mask-icon" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5" color="#{{'DEFAULT_COLOR' | app_config}}">
<link rel="shortcut icon" href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5">
<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}}">
<meta name="msapplication-config" content="/static/assets/browserconfig.xml?a=1">
<meta name="theme-color" content="#{{'DEFAULT_COLOR' | app_config}}">
<link
rel="apple-touch-startup-image"
sizes="320x480"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="640x960"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-icon"
sizes="640x1136"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-icon"
sizes="750x1334"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="768x1004"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="768x1024"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="828x1792"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="1024x748"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="1024x768"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="1125x2436"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="1242x2208"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="1242x2688"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="1334x750"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="1536x2008"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="1536x2048"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="1668x2224"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="1792x828"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="2048x1496"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="2048x1536"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="2048x2732"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="2208x1242"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="2224x1668"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="2436x1125"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="2668x1242"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
<link
rel="apple-touch-startup-image"
sizes="2737x2048"
href="/static/assets/images/{{'SITE_NAME' | app_config}}/icon.webp?a=5"
>
{% block fixedMobileBarJS %}
{% endblock %}
</head>
<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 'rama' in request.host %}margin-top: 29px!important;{% endif %}">
{% block Banner %}
{% if '@' not in request.path %}
<style>
.banner {
margin-top: -3px;
}
@media (min-width: 992px) {
.banner {
margin-top: 10px !important;
}
}
</style>
{% if v %}
<a href="{% if 'rama' in request.host %}https://secure.transequality.org/site/Donation2?df_id=1480{% else %}/{% endif %}">
<img class="banner" alt="site banner" src="/static/assets/images/{{'SITE_NAME' | app_config}}/banner.webp?a=5" width="100%">
</a>
{% else %}
<a href="/login">
<img class="banner" alt="site banner" src="/static/assets/images/{{'SITE_NAME' | app_config}}/cached.webp?a=6" width="100%">
</a>
{% endif %}
{% endif %}
{% endblock %}
{% include "header.html" %}
{% block mobileUserBanner %}
{% endblock %}
{% block mobileBanner %}
{% endblock %}
{% block postNav %}
{% endblock %}
<div class="container{% if request.path=='/' or '/post/' in request.path or '/comment/' in request.path %} transparent{% endif %}">
<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">
{% block desktopUserBanner %}
{% endblock %}
{% block desktopBanner %}
{% endblock %}
{% block PseudoSubmitForm %}
{% endblock %}
{% block searchText %}
{% endblock %}
{% block content %}
{% endblock %}
{% block pagenav %}
{% endblock %}
</div>
{% block sidebar %}
{% if request.path == '/' %}
<div class="col sidebar text-left d-none d-lg-block pt-3 bg-white" style="max-width:300px">
<div class="sidebar-section">
<img src="/static/assets/images/banners/{{range(1,69)|random()}}.webp?a=1" width=100%>
<a class="btn btn-primary btn-block mt-4" href="/submit">SUBMIT DRAMA!</a>
<p class="mt-4">Drama: any incident, scene, gaffe, rumor, opinion, or disagreement that is blown entirely out of proportion.</p>
<p>Do your part to keep our community healthy by blowing everything out of proportion and making literally everything as dramatic as possible.</p>
<p>rdrama.net caters to drama in all forms such as: Real life, videos, photos, gossip, rumors, news sites, Reddit, and Beyond™. There isn't drama we won't touch, and we want it all.</p>
What we want
<ul>
<li>Arguments.</li>
<li>Gossip.</li>
<li>Scandals.</li>
<li>Lolcows.</li>
<li>Assholes.</li>
<li>Trainwrecks.</li>
<li>Meltdowns.</li>
<li>Dramatic news articles.</li>
<li>Dramatic rumours (with context).</li>
<li>Dramatic everything from anywhere</li>
</ul>
</div>
</div>
{% endif %}
{% endblock %}
</div>
</div>
{% block mobilenavbar %}
{% include "mobile_navigation_bar.html" %}
{% endblock %}
{% block actionsModal %}
{% endblock %}
{% block reportCommentModal %}
{% endblock %}
{% block GIFtoast %}
{% endblock %}
{% block GIFpicker %}
{% endblock %}
<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>
<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">
<i class="fas fa-comment-alt-smile mr-2"></i><span id="toast-post-success-text">Action successful!</span>
</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>
<script src="/static/assets/js/lozad.js?a=3"></script>
{% if v %}
<script src="/static/assets/js/post_toast2.js?a=4"></script>
<script src="/static/assets/js/formatting.js?a=3"></script>
<script src="/static/assets/js/default.js?a=3"></script>
{% endif %}
<link rel="stylesheet" href="/static/assets/css/lite-youtube.css?a=7">
<script src="/static/assets/js/lite-youtube.js?a=3"></script>
</body>
</html>