master
Aevann 2024-01-14 13:35:26 +02:00
parent 32a092a29c
commit 76c0fb7a1c
1 changed files with 306 additions and 306 deletions

View File

@ -4,86 +4,86 @@
{%- endif -%}
<nav class="shadow-md fixed-top">
<div class="srd">
{{calc_users()}}
{% if SITE_NAME == 'rDrama' %}
{% if not hasattr(g, "loggedout_counter") or not g.loggedout_counter or (range(1,5) | random == 1 and not (v and v.truescore > 1000)) %}
{% include "journoid_banner.html" %}
{% else %}
{% if IS_DKD() %}
{%- set VISITORS_HERE_FLAVOR = [
"big dumb apes hoarding bananas",
"repeatedly dying on Mine Cart Carnage",
"lost in the Lost World",
"getting whacked by Cranky's cane",
"gooning to Candy Kong rule 34",
"idling in Bramble Blast 💃",
"buying Kremcoins with Marseybux",
"explaining why Enguarde is an antisemitic trope",
] -%}
{% elif IS_FISTMAS() %}
{%- set VISITORS_HERE_FLAVOR = [
"Santa enjoyers kissing under a misletoe",
"bringing up family drama at Christmas dinner",
"stroking their candy canes",
"dramanauts jingling each other's balls",
"Santa deniers getting reamed by Rudolph",
"naughty listers getting coal for fistmas",
"plus-sized dramanauts eating Santa's cookies",
"having their chimneys stuffed by Santa",
] -%}
{% elif IS_HOMOWEEN() %}
{%- set VISITORS_HERE_FLAVOR = [
"jack-off-lanterns currently jacking each other off",
"cute twinks currently trick or treating",
"scary skeletons currently spooking",
"headless horsemen currently horsing around",
] -%}
{% else %}
{%- set CUMJAR = '<img loading="lazy" src="' ~ SITE_FULL_IMAGES ~ '/e/marseycumjar3.webp" style="height:1.5em!important">' %}
{%- set VISITORS_HERE_FLAVOR = [
"incels currently stalking roasties",
"gooners currently edging to " ~ CUMJAR,
"fanboys currently obsessing over Carp",
"NEETs currently LDARmaxxing",
"valid women currently dilating",
"negholes currently being pozzed",
"bussies currently on standby",
"gamers currently harassing women",
"Soros shills currently plotting mayocide",
"furries currently yiffing",
"incels currently harassing women",
"chuds currently agendaposting",
"coomers currently gooning",
"bacons currently narwhaling",
"well-behaved rule-following goodthinkers",
"throwing shade right now",
"currently petting Marseys",
"of Dr. Oaken's agents monitoring hate",
"capybara fetishists loudly beating off",
"gamers harassing women",
"hanging out on rDrama with their tulpas",
"furries trading marsuits",
"white knights simping for blownout gussy",
"Carp alts currently online",
"biofoids making everything about them",
"Mossad operatives watching you",
"frantically alt-tabbing before Mom sees",
"days until you die, you can't prevent it",
"cases of rectal prolapse reported today",
] -%}
{% endif %}
{{g.loggedin_counter+g.loggedout_counter}} {{VISITORS_HERE_FLAVOR|random|safe}} ({{g.loggedin_counter}} logged in)
{% endif %}
{% elif hasattr(g, "loggedout_counter") and g.loggedout_counter %}
{{g.loggedin_counter+g.loggedout_counter}} people here now ({{g.loggedin_counter}} logged in)
<div class="srd">
{{calc_users()}}
{% if SITE_NAME == 'rDrama' %}
{% if not hasattr(g, "loggedout_counter") or not g.loggedout_counter or (range(1,5) | random == 1 and not (v and v.truescore > 1000)) %}
{% include "journoid_banner.html" %}
{% else %}
Don't make the mistakes seen here.
{% if IS_DKD() %}
{%- set VISITORS_HERE_FLAVOR = [
"big dumb apes hoarding bananas",
"repeatedly dying on Mine Cart Carnage",
"lost in the Lost World",
"getting whacked by Cranky's cane",
"gooning to Candy Kong rule 34",
"idling in Bramble Blast 💃",
"buying Kremcoins with Marseybux",
"explaining why Enguarde is an antisemitic trope",
] -%}
{% elif IS_FISTMAS() %}
{%- set VISITORS_HERE_FLAVOR = [
"Santa enjoyers kissing under a misletoe",
"bringing up family drama at Christmas dinner",
"stroking their candy canes",
"dramanauts jingling each other's balls",
"Santa deniers getting reamed by Rudolph",
"naughty listers getting coal for fistmas",
"plus-sized dramanauts eating Santa's cookies",
"having their chimneys stuffed by Santa",
] -%}
{% elif IS_HOMOWEEN() %}
{%- set VISITORS_HERE_FLAVOR = [
"jack-off-lanterns currently jacking each other off",
"cute twinks currently trick or treating",
"scary skeletons currently spooking",
"headless horsemen currently horsing around",
] -%}
{% else %}
{%- set CUMJAR = '<img loading="lazy" src="' ~ SITE_FULL_IMAGES ~ '/e/marseycumjar3.webp" style="height:1.5em!important">' %}
{%- set VISITORS_HERE_FLAVOR = [
"incels currently stalking roasties",
"gooners currently edging to " ~ CUMJAR,
"fanboys currently obsessing over Carp",
"NEETs currently LDARmaxxing",
"valid women currently dilating",
"negholes currently being pozzed",
"bussies currently on standby",
"gamers currently harassing women",
"Soros shills currently plotting mayocide",
"furries currently yiffing",
"incels currently harassing women",
"chuds currently agendaposting",
"coomers currently gooning",
"bacons currently narwhaling",
"well-behaved rule-following goodthinkers",
"throwing shade right now",
"currently petting Marseys",
"of Dr. Oaken's agents monitoring hate",
"capybara fetishists loudly beating off",
"gamers harassing women",
"hanging out on rDrama with their tulpas",
"furries trading marsuits",
"white knights simping for blownout gussy",
"Carp alts currently online",
"biofoids making everything about them",
"Mossad operatives watching you",
"frantically alt-tabbing before Mom sees",
"days until you die, you can't prevent it",
"cases of rectal prolapse reported today",
] -%}
{% endif %}
{{g.loggedin_counter+g.loggedout_counter}} {{VISITORS_HERE_FLAVOR|random|safe}} ({{g.loggedin_counter}} logged in)
{% endif %}
</div>
{% elif hasattr(g, "loggedout_counter") and g.loggedout_counter %}
{{g.loggedin_counter+g.loggedout_counter}} people here now ({{g.loggedin_counter}} logged in)
{% else %}
Don't make the mistakes seen here.
{% endif %}
</div>
<div class="navbar navbar-expand-md navbar-light" id="navbar">
<div class="container-fluid" style="padding:0">
<div class="navbar navbar-expand-md navbar-light" id="navbar">
<div class="container-fluid" style="padding:0">
<a href="/" class="navbar-brand mr-auto {% if not has_logo and not hole %}flex-grow-1{% endif %}">
{% if False %}
{%- set icons = [
@ -212,255 +212,255 @@
{% endif %}
{% endif %}
{% if not err %}
{% if v and v.admin_level >= PERMS['ADMIN_HOME_VISIBLE'] %}
<a class="mobile-nav-icon d-md-none" href="/admin" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Admin Tools">
<i class="fas fa-crown align-middle text-gray-500 black"></i>
</a>
{% endif %}
{% if v %}
<a class="mobile-nav-icon d-md-none" href="/submit" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Create Post">
<i class="fas fa-feather-alt align-middle text-gray-500 black"></i>
</a>
{% else %}
<a class="mobile-nav-icon d-md-none" href="/login?redirect={{request.full_path | urlencode}}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Create Post">
<i class="fas fa-feather-alt align-middle text-gray-500 black"></i>
</a>
{% endif %}
{% if v and FEATURES['GAMBLING'] %}
<a class="mobile-nav-icon d-md-none" href="/leaderboard" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Leaderboard">
<i class="fas fa-trophy align-middle text-gray-500 black"></i>
</a>
{% endif %}
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbarResponsive">
<span class="navbar-toggler-icon {% if v and v.notifications_count %}position-relative{% endif %}"><i class="fas fa-bars align-middle text-gray-500 black"></i>
</span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto d-none d-md-flex mr-3">
{% if not (v and v.patron) %}
<li id="header--donate--item" class="nav-item d-flex align-items-center justify-content-center mx-1 mr-2">
<a class="btn btn-primary" href="/donate">Donate</a>
</li>
{% endif %}
{% if v %}
{% if v.notifications_count %}
<li class="nav-item d-flex align-items-center text-center justify-content-center mx-1" id="header--notifications--item">
<a class="nav-link position-relative" href="/notifications{% if v.notifications_do %}/{{v.notifications_do}}{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Notifications"><i class="notif-{{v.notifications_do}}-bell fas fa-bell" style="color: {{v.notifications_color}}"></i><span class="notif-{{v.notifications_do}} notif-count ml-1" style="padding-left: 4.5px;{% if v.notifications_do %}background:{{v.notifications_color}}{% endif %}">{{v.notifications_count}}</span></a>
</li>
{% else %}
<li class="nav-item d-flex align-items-center text-center justify-content-center mx-1" id="header--notifications--item">
<a class="nav-link" href="/notifications" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Notifications"><i class="fas fa-bell"></i></a>
</li>
{% endif %}
{% if v.admin_level >= PERMS['ADMIN_HOME_VISIBLE'] %}
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1" id="header--admintools--item">
<a class="nav-link" href="/admin" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Admin Tools"><i class="fas fa-crown"></i></a>
</li>
{% endif %}
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1" id="header--createpost--item">
<a class="nav-link" href="/submit" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Create Post"><i class="fas fa-feather-alt"></i></a>
</li>
{%- if FEATURES['CHAT'] -%}
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1" id="header--chat--item">
<a class="nav-link position-relative" href="/chat" style="margin-top: {% if get_running_orgy(v) %}-4px{% else %}-1.6px{% endif %} !important">
{% if get_running_orgy(v) %}
<img src="{{SITE_FULL_IMAGES}}/i/orgy.webp" width="30">
{% else %}
<i class="fas fa-messages" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Chat"></i>
{% endif %}
<b id="chat-count-header-bar" class="text-lg {% if get_running_orgy(v) or g.loggedin_chat > 40 %}text-danger{% elif g.loggedin_chat > 20 %}text-yellow{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Users in chat right now">
{{g.loggedin_chat}}
</b>
</a>
</li>
{%- endif -%}
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1" id="header--randomuser--item">
<a class="nav-link" href="/random_user" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Random User with a Profile Anthem"><i class="fas fa-music"></i></a>
</li>
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1" id="header--allcomments--item">
<a class="nav-link" href="/comments" data-bs-toggle="tooltip" data-bs-placement="bottom" title="All Comments"><i class="fas fa-comment-dots"></i></a>
</li>
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1" id="header--leaderboard--item">
<a class="nav-link" href="/leaderboard" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Leaderboard"><i class="fas fa-trophy"></i></a>
</li>
{% if FEATURES['GAMBLING'] %}
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1" id="header--casino--item">
<a class="nav-link" href="/casino" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Casino"><i class="fas fa-cards"></i></a>
</li>
{% endif %}
{% if FEATURES['AWARDS'] -%}
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1" id="header--shop--item">
<a class="nav-link" href="/shop/awards" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Shop"><i class="fas fa-store"></i></a>
</li>
{%- endif %}
<li id="sidebar-btn" class="nav-item d-flex align-items-center justify-content-center text-center mx-1">
<a class="nav-link" href="/sidebar" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Sidebar"><i class="fas fa-bars"></i></a>
</li>
<li class="nav-item d-flex align-items-center justify-content-center text-center">
<div class="dropdown" id="header--dropdown">
<a href="{{v.url}}" class="nav-link bg-transparent py-0 pr-0" id="dropdownMenuLink" data-bs-toggle="dropdown">
<div class="d-flex">
<div class="profile-pic-35-wrapper">
<img loading="lazy" src="{{v.profile_url}}" class="profile-pic-35">
{% if v.hat_active(v)[0] -%}
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{v.hat_active(v)[0]}}?x=7">
{% elif request.path == '/shop/hats' %}
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat d-none" loading="lazy">
{%- endif %}
</div>
<div class="text-left pl-2" id="header--username--outerdiv">
<div style="color: #{{v.name_color}}" class="text-small font-weight-bold"><span id="header--username" {% if v.patron %}class="patron" style="background-color:#{{v.name_color}}"{% endif %} {% if v.pride_username(v) %}pride_username{% endif %}>{{v.user_name}}</span></div>
<div class="header--currency"><img loading="lazy" alt="coins" class="mr-1 ml-1" data-bs-toggle="tooltip" data-bs-placement="bottom" src="{{'coins.webp' | asset_siteimg}}" title="Coins"><span id="user-coins-amount">{{v.coins}}</span>{% if not FEATURES['MARSEYBUX'] %} Coin{{macros.plural(v.coins)}}{% endif %}</div>
{% if FEATURES['MARSEYBUX'] %}
<div class="header--currency"><img loading="lazy" alt="marseybux" class="mr-1 ml-1" data-bs-toggle="tooltip" data-bs-placement="bottom" src="{{SITE_FULL_IMAGES}}/i/marseybux.webp?x=7" title="Marseybux"><span id="user-bux-amount">{{v.marseybux}}</span></div>
{% endif %}
</div>
</div>
{% if not err %}
{% if v and v.admin_level >= PERMS['ADMIN_HOME_VISIBLE'] %}
<a class="mobile-nav-icon d-md-none" href="/admin" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Admin Tools">
<i class="fas fa-crown align-middle text-gray-500 black"></i>
</a>
<div class="dropdown-menu dropdown-menu-right dropdown-menu-lg-left shadow fade px-0" id="header--dropdown-menu">
<div class="px-2">
<a class="dropdown-item" href="{{v.url}}"><i class="fas fa-user-circle fa-fw mr-3"></i>My profile</a>
<a class="dropdown-item" href="/settings/personal"><i class="fas fa-cog fa-fw mr-3"></i>Settings</a>
{% endif %}
<input hidden id="VAPID_PUBLIC_KEY" value="{{VAPID_PUBLIC_KEY}}">
{% if v %}
<a class="mobile-nav-icon d-md-none" href="/submit" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Create Post">
<i class="fas fa-feather-alt align-middle text-gray-500 black"></i>
</a>
{% else %}
<a class="mobile-nav-icon d-md-none" href="/login?redirect={{request.full_path | urlencode}}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Create Post">
<i class="fas fa-feather-alt align-middle text-gray-500 black"></i>
</a>
{% endif %}
{% if v and FEATURES['GAMBLING'] %}
<a class="mobile-nav-icon d-md-none" href="/leaderboard" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Leaderboard">
<i class="fas fa-trophy align-middle text-gray-500 black"></i>
</a>
{% endif %}
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbarResponsive">
<span class="navbar-toggler-icon {% if v and v.notifications_count %}position-relative{% endif %}"><i class="fas fa-bars align-middle text-gray-500 black"></i>
</span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto d-none d-md-flex mr-3">
{% if not (v and v.patron) %}
<li id="header--donate--item" class="nav-item d-flex align-items-center justify-content-center mx-1 mr-2">
<a class="btn btn-primary" href="/donate">Donate</a>
</li>
{% endif %}
{% if v %}
{% if v.notifications_count %}
<li class="nav-item d-flex align-items-center text-center justify-content-center mx-1" id="header--notifications--item">
<a class="nav-link position-relative" href="/notifications{% if v.notifications_do %}/{{v.notifications_do}}{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Notifications"><i class="notif-{{v.notifications_do}}-bell fas fa-bell" style="color: {{v.notifications_color}}"></i><span class="notif-{{v.notifications_do}} notif-count ml-1" style="padding-left: 4.5px;{% if v.notifications_do %}background:{{v.notifications_color}}{% endif %}">{{v.notifications_count}}</span></a>
</li>
{% else %}
<li class="nav-item d-flex align-items-center text-center justify-content-center mx-1" id="header--notifications--item">
<a class="nav-link" href="/notifications" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Notifications"><i class="fas fa-bell"></i></a>
</li>
{% endif %}
{% if v.admin_level >= PERMS['ADMIN_HOME_VISIBLE'] %}
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1" id="header--admintools--item">
<a class="nav-link" href="/admin" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Admin Tools"><i class="fas fa-crown"></i></a>
</li>
{% endif %}
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1" id="header--createpost--item">
<a class="nav-link" href="/submit" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Create Post"><i class="fas fa-feather-alt"></i></a>
</li>
{%- if FEATURES['CHAT'] -%}
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1" id="header--chat--item">
<a class="nav-link position-relative" href="/chat" style="margin-top: {% if get_running_orgy(v) %}-4px{% else %}-1.6px{% endif %} !important">
{% if get_running_orgy(v) %}
<img src="{{SITE_FULL_IMAGES}}/i/orgy.webp" width="30">
{% else %}
<i class="fas fa-messages" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Chat"></i>
{% endif %}
<b id="chat-count-header-bar" class="text-lg {% if get_running_orgy(v) or g.loggedin_chat > 40 %}text-danger{% elif g.loggedin_chat > 20 %}text-yellow{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Users in chat right now">
{{g.loggedin_chat}}
</b>
</a>
</li>
{%- endif -%}
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1" id="header--randomuser--item">
<a class="nav-link" href="/random_user" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Random User with a Profile Anthem"><i class="fas fa-music"></i></a>
</li>
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1" id="header--allcomments--item">
<a class="nav-link" href="/comments" data-bs-toggle="tooltip" data-bs-placement="bottom" title="All Comments"><i class="fas fa-comment-dots"></i></a>
</li>
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1" id="header--leaderboard--item">
<a class="nav-link" href="/leaderboard" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Leaderboard"><i class="fas fa-trophy"></i></a>
</li>
{% if FEATURES['GAMBLING'] %}
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1" id="header--casino--item">
<a class="nav-link" href="/casino" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Casino"><i class="fas fa-cards"></i></a>
</li>
{% endif %}
{% if FEATURES['AWARDS'] -%}
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1" id="header--shop--item">
<a class="nav-link" href="/shop/awards" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Shop"><i class="fas fa-store"></i></a>
</li>
{%- endif %}
<li id="sidebar-btn" class="nav-item d-flex align-items-center justify-content-center text-center mx-1">
<a class="nav-link" href="/sidebar" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Sidebar"><i class="fas fa-bars"></i></a>
</li>
<li class="nav-item d-flex align-items-center justify-content-center text-center">
<div class="dropdown" id="header--dropdown">
<a href="{{v.url}}" class="nav-link bg-transparent py-0 pr-0" id="dropdownMenuLink" data-bs-toggle="dropdown">
<div class="d-flex">
<div class="profile-pic-35-wrapper">
<img loading="lazy" src="{{v.profile_url}}" class="profile-pic-35">
{% if v.hat_active(v)[0] -%}
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{v.hat_active(v)[0]}}?x=7">
{% elif request.path == '/shop/hats' %}
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat d-none" loading="lazy">
{%- endif %}
</div>
<div class="text-left pl-2" id="header--username--outerdiv">
<div style="color: #{{v.name_color}}" class="text-small font-weight-bold"><span id="header--username" {% if v.patron %}class="patron" style="background-color:#{{v.name_color}}"{% endif %} {% if v.pride_username(v) %}pride_username{% endif %}>{{v.user_name}}</span></div>
<div class="header--currency"><img loading="lazy" alt="coins" class="mr-1 ml-1" data-bs-toggle="tooltip" data-bs-placement="bottom" src="{{'coins.webp' | asset_siteimg}}" title="Coins"><span id="user-coins-amount">{{v.coins}}</span>{% if not FEATURES['MARSEYBUX'] %} Coin{{macros.plural(v.coins)}}{% endif %}</div>
{% if FEATURES['MARSEYBUX'] %}
<div class="header--currency"><img loading="lazy" alt="marseybux" class="mr-1 ml-1" data-bs-toggle="tooltip" data-bs-placement="bottom" src="{{SITE_FULL_IMAGES}}/i/marseybux.webp?x=7" title="Marseybux"><span id="user-bux-amount">{{v.marseybux}}</span></div>
{% endif %}
</div>
</div>
</a>
<div class="dropdown-menu dropdown-menu-right dropdown-menu-lg-left shadow fade px-0" id="header--dropdown-menu">
<div class="px-2">
<a class="dropdown-item" href="{{v.url}}"><i class="fas fa-user-circle fa-fw mr-3"></i>My profile</a>
<a class="dropdown-item" href="/settings/personal"><i class="fas fa-cog fa-fw mr-3"></i>Settings</a>
<input hidden id="VAPID_PUBLIC_KEY" value="{{VAPID_PUBLIC_KEY}}">
<button id="enable-push-nav-item" type="button" class="dropdown-item" data-nonce="{{g.nonce}}" data-onclick="enablePushNotifications()"><i class="fas fa-bell fa-fw mr-3"></i>Enable push notifications</button>
{% if g.browser != 'webview' %}
<a class="dropdown-item" href="/app"><i class="fas fa-mobile fa-fw mr-3"></i>Mobile app</a>
{% endif %}
<a class="dropdown-item donate-link" rel="noopener" href="/donate"><i class="fas fa-dollar-sign fa-fw mr-3"></i>Donate</a>
<a class="dropdown-item" href="/post/{{CHANGELOG_THREAD}}"><i class="fas fa-clipboard fa-fw mr-3"></i>Changelog</a>
<a class="dropdown-item" rel="noopener" href="https://fsdfsd.net/rDrama/rDrama"><i class="fab fa-git-alt fa-fw mr-3"></i>Source code</a>
<a class="dropdown-item" rel="noopener" href="/post/{{BUG_THREAD}}"><i class="fas fa-bug fa-fw mr-3"></i>Bugs/Suggestions</a>
{% if TELEGRAM_ID %}
<a rel="noopener" class="dropdown-item" href="https://t.me/s/{{TELEGRAM_ID}}"><i class="fab fa-telegram fa-fw mr-3"></i>Telegram Channel</a>
{% endif %}
{% if TWITTER_ID %}
<a rel="noopener" class="dropdown-item" href="https://twitter.com/{{TWITTER_ID}}"><i class="fab fa-twitter fa-fw mr-3"></i>Twitter Account</a>
{% endif %}
{% if SITE_NAME == 'rDrama' %}
<a class="dropdown-item" href="/archives"><i class="fas fa-book fa-fw mr-3"></i>Archives</a>
{% endif %}
<a class="dropdown-item" href="/contact"><i class="fas fa-file-signature fa-fw mr-3"></i>Contact us</a>
<button type="button" class="dropdown-item" data-nonce="{{g.nonce}}" data-onclick="postToastReload(this, '/logout')"><i class="fas fa-sign-out fa-fw mr-3"></i>Log out</button>
</div>
</div>
</li>
{% else %}
<li class="nav-item d-flex align-items-center justify-content-center mx-1 mr-2">
<a class="btn btn-primary" href="/contact">Contact us</a>
</li>
<li class="nav-item d-flex align-items-center justify-content-center mx-1">
<a class="btn btn-primary" href="/login?redirect={{request.full_path | urlencode}}">Sign in</a>
</li>
<li class="nav-item d-flex align-items-center justify-content-center mx-1">
<a class="btn btn-primary" href="/signup?redirect={{request.full_path | urlencode}}">Sign up</a>
</li>
{% endif %}
</ul>
<ul style="overflow:auto" class="navbar-nav ml-auto d-flex d-md-none mt-3">
<li class="nav-item pb-3">
<form id="searchform" class="form-inline search flex-nowrap mx-1 mx-lg-auto mb-0" action="/search/posts" method="get">
<input autocomplete="off" class="form-control form-control-sm w-100" type="search" placeholder="{{search_placeholder}}" name="q">
<span class="input-group-append">
<span class="input-group-text border-0 bg-transparent" style="margin-left: -2.5rem" data-nonce="{{g.nonce}}" onclick_submit>
<i class="fa fa-search"></i>
</span>
</span>
</form>
</li>
{% if v %}
<li class="nav-item">
<a class="nav-link" href="{{v.url}}"><i class="fas fa-user-circle fa-fw mr-3"></i>@{{v.username}}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/settings/personal"><i class="fas fa-cog fa-fw mr-3"></i>Settings</a>
</li>
<button id="enable-push-nav-item" type="button" class="dropdown-item" data-nonce="{{g.nonce}}" data-onclick="enablePushNotifications()"><i class="fas fa-bell fa-fw mr-3"></i>Enable push notifications</button>
{% if g.browser != 'webview' %}
<a class="dropdown-item" href="/app"><i class="fas fa-mobile fa-fw mr-3"></i>Mobile app</a>
<a class="nav-item nav-link" href="/app" id="mobile-app-nav-item"><i class="fas fa-mobile fa-fw mr-3"></i>Mobile app</a>
{% endif %}
<a class="dropdown-item donate-link" rel="noopener" href="/donate"><i class="fas fa-dollar-sign fa-fw mr-3"></i>Donate</a>
{% if g.browser == 'iphone' %}
<a id="enable-push-nav-item-iphone" class="nav-item nav-link d-none" href="/app"><i class="fas fa-bell fa-fw mr-3"></i>Enable push notifications</a>
{% endif %}
<a class="dropdown-item" href="/post/{{CHANGELOG_THREAD}}"><i class="fas fa-clipboard fa-fw mr-3"></i>Changelog</a>
<button id="enable-push-nav-item-mobile" type="button" class="nav-item nav-link" data-nonce="{{g.nonce}}" data-onclick="enablePushNotifications()"><i class="fas fa-bell fa-fw mr-3"></i>Enable push notifications</button>
<a class="dropdown-item" rel="noopener" href="https://fsdfsd.net/rDrama/rDrama"><i class="fab fa-git-alt fa-fw mr-3"></i>Source code</a>
<a class="nav-item nav-link donate-link" rel="noopener" href="/donate"><i class="fas fa-dollar-sign fa-fw mr-3"></i>Donate</a>
<a class="dropdown-item" rel="noopener" href="/post/{{BUG_THREAD}}"><i class="fas fa-bug fa-fw mr-3"></i>Bugs/Suggestions</a>
<a class="nav-item nav-link" href="/post/{{CHANGELOG_THREAD}}"><i class="fas fa-clipboard fa-fw mr-3"></i>Changelog</a>
<a class="nav-item nav-link" rel="noopener" href="https://fsdfsd.net/rDrama/rDrama"><i class="fab fa-git-alt fa-fw mr-3"></i>Source code</a>
<a class="nav-item nav-link" rel="noopener" href="/post/{{BUG_THREAD}}"><i class="fas fa-bug fa-fw mr-3"></i>Bugs/Suggestions</a>
{% if TELEGRAM_ID %}
<a rel="noopener" class="dropdown-item" href="https://t.me/s/{{TELEGRAM_ID}}"><i class="fab fa-telegram fa-fw mr-3"></i>Telegram Channel</a>
<a rel="noopener" class="nav-item nav-link" href="https://t.me/s/{{TELEGRAM_ID}}"><i class="fab fa-telegram fa-fw mr-3"></i>Telegram Channel</a>
{% endif %}
{% if TWITTER_ID %}
<a rel="noopener" class="dropdown-item" href="https://twitter.com/{{TWITTER_ID}}"><i class="fab fa-twitter fa-fw mr-3"></i>Twitter Account</a>
<a rel="noopener" class="nav-item nav-link" href="https://twitter.com/{{TWITTER_ID}}"><i class="fab fa-twitter fa-fw mr-3"></i>Twitter Account</a>
{% endif %}
{% if SITE_NAME == 'rDrama' %}
<a class="dropdown-item" href="/archives"><i class="fas fa-book fa-fw mr-3"></i>Archives</a>
<a class="nav-item nav-link" href="/archives"><i class="fas fa-book fa-fw mr-3"></i>Archives</a>
{% endif %}
<a class="dropdown-item" href="/contact"><i class="fas fa-file-signature fa-fw mr-3"></i>Contact us</a>
<button type="button" class="dropdown-item" data-nonce="{{g.nonce}}" data-onclick="postToastReload(this, '/logout')"><i class="fas fa-sign-out fa-fw mr-3"></i>Log out</button>
</div>
</div>
</li>
{% else %}
<li class="nav-item d-flex align-items-center justify-content-center mx-1 mr-2">
<a class="btn btn-primary" href="/contact">Contact us</a>
</li>
<li class="nav-item d-flex align-items-center justify-content-center mx-1">
<a class="btn btn-primary" href="/login?redirect={{request.full_path | urlencode}}">Sign in</a>
</li>
<li class="nav-item d-flex align-items-center justify-content-center mx-1">
<a class="btn btn-primary" href="/signup?redirect={{request.full_path | urlencode}}">Sign up</a>
</li>
<a class="nav-item nav-link" href="/contact"><i class="fas fa-file-signature fa-fw mr-3"></i>Contact us</a>
<button type="button" class="nav-item border-top border-bottom mt-2 pt-2 nav-link" data-nonce="{{g.nonce}}" data-onclick="postToastReload(this, '/logout')"><i class="fas fa-sign-out fa-fw mr-3 text-danger"></i>Log out</button>
{% else %}
<li class="nav-item d-flex align-items-center justify-content-center pb-3">
<a class="btn btn-primary btn-block" href="/contact">Contact us</a>
</li>
<li class="nav-item d-flex align-items-center justify-content-center pb-3">
<a class="btn btn-primary btn-block" href="/login?redirect={{request.full_path | urlencode}}">Sign in</a>
</li>
<li class="nav-item d-flex align-items-center justify-content-center">
<a class="btn btn-primary btn-block" href="/signup?redirect={{request.full_path | urlencode}}">Sign up</a>
</li>
{% endif %}
<li class="mt-3">
{% if request.path == '/chat' %}
<h5 class="ml-3">Users Online</h5>
<div id="online3" class="col text-left d-lg-none bg-white mb-6 pb-6" style="max-width:300px"></div>
<br><br><br><br>
{% elif has_sidebar %}
{% include "sidebar_" ~ SITE_NAME ~ ".html" %}
{% endif %}
</li>
</ul>
</div>
{% endif %}
</ul>
<ul style="overflow:auto" class="navbar-nav ml-auto d-flex d-md-none mt-3">
<li class="nav-item pb-3">
<form id="searchform" class="form-inline search flex-nowrap mx-1 mx-lg-auto mb-0" action="/search/posts" method="get">
<input autocomplete="off" class="form-control form-control-sm w-100" type="search" placeholder="{{search_placeholder}}" name="q">
<span class="input-group-append">
<span class="input-group-text border-0 bg-transparent" style="margin-left: -2.5rem" data-nonce="{{g.nonce}}" onclick_submit>
<i class="fa fa-search"></i>
</span>
</span>
</form>
</li>
{% if v %}
<li class="nav-item">
<a class="nav-link" href="{{v.url}}"><i class="fas fa-user-circle fa-fw mr-3"></i>@{{v.username}}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/settings/personal"><i class="fas fa-cog fa-fw mr-3"></i>Settings</a>
</li>
{% if g.browser != 'webview' %}
<a class="nav-item nav-link" href="/app" id="mobile-app-nav-item"><i class="fas fa-mobile fa-fw mr-3"></i>Mobile app</a>
{% endif %}
{% if g.browser == 'iphone' %}
<a id="enable-push-nav-item-iphone" class="nav-item nav-link d-none" href="/app"><i class="fas fa-bell fa-fw mr-3"></i>Enable push notifications</a>
{% endif %}
<button id="enable-push-nav-item-mobile" type="button" class="nav-item nav-link" data-nonce="{{g.nonce}}" data-onclick="enablePushNotifications()"><i class="fas fa-bell fa-fw mr-3"></i>Enable push notifications</button>
<a class="nav-item nav-link donate-link" rel="noopener" href="/donate"><i class="fas fa-dollar-sign fa-fw mr-3"></i>Donate</a>
<a class="nav-item nav-link" href="/post/{{CHANGELOG_THREAD}}"><i class="fas fa-clipboard fa-fw mr-3"></i>Changelog</a>
<a class="nav-item nav-link" rel="noopener" href="https://fsdfsd.net/rDrama/rDrama"><i class="fab fa-git-alt fa-fw mr-3"></i>Source code</a>
<a class="nav-item nav-link" rel="noopener" href="/post/{{BUG_THREAD}}"><i class="fas fa-bug fa-fw mr-3"></i>Bugs/Suggestions</a>
{% if TELEGRAM_ID %}
<a rel="noopener" class="nav-item nav-link" href="https://t.me/s/{{TELEGRAM_ID}}"><i class="fab fa-telegram fa-fw mr-3"></i>Telegram Channel</a>
{% endif %}
{% if TWITTER_ID %}
<a rel="noopener" class="nav-item nav-link" href="https://twitter.com/{{TWITTER_ID}}"><i class="fab fa-twitter fa-fw mr-3"></i>Twitter Account</a>
{% endif %}
{% if SITE_NAME == 'rDrama' %}
<a class="nav-item nav-link" href="/archives"><i class="fas fa-book fa-fw mr-3"></i>Archives</a>
{% endif %}
<a class="nav-item nav-link" href="/contact"><i class="fas fa-file-signature fa-fw mr-3"></i>Contact us</a>
<button type="button" class="nav-item border-top border-bottom mt-2 pt-2 nav-link" data-nonce="{{g.nonce}}" data-onclick="postToastReload(this, '/logout')"><i class="fas fa-sign-out fa-fw mr-3 text-danger"></i>Log out</button>
{% else %}
<li class="nav-item d-flex align-items-center justify-content-center pb-3">
<a class="btn btn-primary btn-block" href="/contact">Contact us</a>
</li>
<li class="nav-item d-flex align-items-center justify-content-center pb-3">
<a class="btn btn-primary btn-block" href="/login?redirect={{request.full_path | urlencode}}">Sign in</a>
</li>
<li class="nav-item d-flex align-items-center justify-content-center">
<a class="btn btn-primary btn-block" href="/signup?redirect={{request.full_path | urlencode}}">Sign up</a>
</li>
{% endif %}
<li class="mt-3">
{% if request.path == '/chat' %}
<h5 class="ml-3">Users Online</h5>
<div id="online3" class="col text-left d-lg-none bg-white mb-6 pb-6" style="max-width:300px"></div>
<br><br><br><br>
{% elif has_sidebar %}
{% include "sidebar_" ~ SITE_NAME ~ ".html" %}
{% endif %}
</li>
</ul>
</div>
{% endif %}
</div>
</div>
</div>
</nav>