2022-06-22 06:35:50 +00:00
{%- set search_placeholder = "Search" -%}
{%- if sub -%}
2022-06-23 09:02:49 +00:00
{%- set search_placeholder = "Search (try '" ~ HOLE_NAME ~ ":" ~ sub.name ~ "')" -%}
2022-06-22 06:35:50 +00:00
{%- endif -%}
2022-05-04 23:09:46 +00:00
2022-05-30 05:36:06 +00:00
< nav class = " shadow-md fixed-top" >
2022-05-25 01:14:18 +00:00
< style >
body {padding-top: 85.88px !important}
@media (max-width: 767.98px) {
body {
padding-top: 69.55px !important
2022-05-04 23:09:46 +00:00
}
2022-05-25 01:14:18 +00:00
}
< / style >
2022-05-04 23:09:46 +00:00
2022-05-25 03:37:25 +00:00
< div class = "srd" >
Rearrange nav icons, move some to sidebar.
After the recent addition of the Lottershe, some narrow phone screens
caused the header to wrap to two lines. Prompted by this, a more
general rework of the header nav icons was initiated.
Notably: random user, random post, all comments has been moved to
sidebar on all sites, and a .sidebar-link CSS class was created to
support it. Additionally, on rDrama, links for Badges and Marseys
were added, since I believe these are presently inaccessible from
the UI. Further, a Modlog link was added to be more accessible.
Additionally, the icons in the header were rearranged on desktop and
mobile to better fit relative priority.
2022-05-30 08:16:03 +00:00
{% if SITE_NAME == 'rDrama' %}
2022-05-25 18:59:24 +00:00
{% include "journoid_banner.html" %}
2022-06-19 14:55:10 +00:00
{%- elif not err -%}
2022-05-25 21:43:30 +00:00
< img src = "/e/marseylowpoly.webp" height = 18 width = 28 >
2022-05-25 20:16:26 +00:00
{% if v and v.admin_level > 1 %}
2022-05-26 20:49:36 +00:00
People here now: < a href = "/admin/loggedin" > {{g.loggedin_counter}} logged in< / a > , < a href = "/admin/loggedout" > {{g.loggedout_counter}} logged out< / a >
2022-05-25 20:16:26 +00:00
{% else %}
2022-05-26 00:54:05 +00:00
People here now: {{g.loggedin_counter}} logged in, {{g.loggedout_counter}} logged out
2022-05-25 20:16:26 +00:00
{% endif %}
2022-05-25 03:37:25 +00:00
{%- endif -%}
< / div >
2022-05-04 23:09:46 +00:00
2022-05-20 18:45:12 +00:00
< div class = "navbar navbar-expand-md navbar-light" id = "navbar" >
< div class = "container-fluid" style = "padding:0;" >
2022-05-04 23:09:46 +00:00
< a href = "/" class = "navbar-brand mr-auto {% if SITE_NAME in ('PCM','WPD') and not sub %}flex-grow-1{% endif %}" >
2022-06-22 15:59:47 +00:00
< img alt = "header icon" height = 33 src = "/i/{{SITE_NAME}}/headericon.webp?v=2000" >
2022-05-04 23:09:46 +00:00
< / a >
{% if sub %}
2022-06-23 09:40:01 +00:00
< a href = "/h/{{sub.name}}" class = "font-weight-bold ml-2 flex-grow-1 mt-1" style = "font-size:max(14px,1.2vw)" > {% if not HOLE_STYLE_FLAIR %}/h/{% endif %}{{sub.name}}< / a >
2022-05-04 23:09:46 +00:00
{% elif SITE_NAME not in ('PCM','WPD') %}
< style >
{% if g.webview %}
@media (min-width: 480px) {
{% else %}
@media (min-width: 380px) {
#logo {
width: 100px;
margin-left: 0.5rem !important;
}
}
{% endif %}
< / style >
2022-06-13 18:33:25 +00:00
< div id = "logo-container" class = "flex-grow-1 logo-container" >
2022-05-30 05:36:06 +00:00
< a href = "/" >
2022-06-22 15:59:47 +00:00
< img class = "ml-1" id = "logo" alt = "logo" src = "/i/{{SITE_NAME}}/logo.webp?v=2000" width = 70 >
2022-05-04 23:09:46 +00:00
< / a >
2022-06-13 18:33:25 +00:00
< / div >
2022-05-04 23:09:46 +00:00
{% endif %}
< div class = "flex-grow-1 d-fl d-none d-md-block {% if not v %}pad{% endif %}" >
< form class = "form-inline search flex-nowrap mx-0 mx-lg-auto" { % if err % } style = "margin-right:40rem!important" { % endif % } action = "{% if request.path.startswith('/search') %}{{request.path}}{% else %}/search/posts/{% endif %}" method = "get" >
2022-06-22 06:35:50 +00:00
< input autocomplete = "off" class = "form-control w-100" type = "search" placeholder = "{{search_placeholder}}" aria-label = "Search" name = "q" value = "{{request.values.get('q', '')}}" >
2022-05-04 23:09:46 +00:00
< span class = "input-group-append" >
< span class = "input-group-text border-0 bg-transparent" style = "margin-left: -2.5rem;" >
< i class = "fa fa-search" aria-hidden = "true" > < / i >
< / span >
< / span >
< / form >
< / div >
{% if g.webview %}
< a class = "mobile-nav-icon d-md-none" onclick = "location.reload()" > < i class = "fas fa-arrow-rotate-right align-middle text-gray-500 black" > < / i > < / a >
{% endif %}
{% if v %}
{% if v.notifications_count %}
2022-06-15 05:43:34 +00:00
< a class = "mobile-nav-icon d-md-none" href = "/notifications{% if v.notifications_do %}?{{v.notifications_do}}=true{% endif %}" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Notifications" > < i class = "fas fa-bell align-middle" style = "color: {{v.notifications_color}}" > < / i > < span class = "notif-count ml-1" style = "padding-left: 4.5px;{% if v.notifications_do %}background:{{v.notifications_color}}{% endif %}" > {{v.notifications_count}}< / span > < / a >
2022-05-04 23:09:46 +00:00
{% else %}
< a class = "mobile-nav-icon d-md-none" href = "/notifications" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Notifications" > < i class = "fas fa-bell align-middle text-gray-500 black" > < / i > < / a >
{% endif %}
{% endif %}
Rearrange nav icons, move some to sidebar.
After the recent addition of the Lottershe, some narrow phone screens
caused the header to wrap to two lines. Prompted by this, a more
general rework of the header nav icons was initiated.
Notably: random user, random post, all comments has been moved to
sidebar on all sites, and a .sidebar-link CSS class was created to
support it. Additionally, on rDrama, links for Badges and Marseys
were added, since I believe these are presently inaccessible from
the UI. Further, a Modlog link was added to be more accessible.
Additionally, the icons in the header were rearranged on desktop and
mobile to better fit relative priority.
2022-05-30 08:16:03 +00:00
{% if not err %}
{% if v and v.admin_level > 1 %}
< a class = "mobile-nav-icon d-md-none" href = "/admin" > < 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 = "{% if sub %}/h/{{sub.name}}{% endif %}/submit" > < 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" > < i class = "fas fa-feather-alt align-middle text-gray-500 black" > < / i > < / a >
{% endif %}
2022-05-30 09:32:45 +00:00
{% if v and v.can_gamble and LOTTERY_ENABLED %}
2022-06-11 14:50:26 +00:00
< span data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = {{'Lottershe' if SITE_NAME = = ' rDrama ' else ' Lottery ' } } >
2022-05-28 22:24:21 +00:00
< a
2022-05-31 02:40:38 +00:00
href="/lottery"
class="mobile-nav-icon d-md-none">
2022-05-28 22:24:21 +00:00
< i class = "fas fa-ticket align-middle text-gray-500" > < / i >
< / a >
2022-05-30 06:03:41 +00:00
< / span >
2022-05-28 22:24:21 +00:00
{% endif %}
2022-05-04 23:09:46 +00:00
< button class = "navbar-toggler" role = "button" data-bs-toggle = "collapse" data-bs-target = "#navbarResponsive"
aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
< span class = "navbar-toggler-icon {% if v and v.notifications_count %}position-relative{% endif %}" > < i class = "fal fa-bars 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" >
Rearrange nav icons, move some to sidebar.
After the recent addition of the Lottershe, some narrow phone screens
caused the header to wrap to two lines. Prompted by this, a more
general rework of the header nav icons was initiated.
Notably: random user, random post, all comments has been moved to
sidebar on all sites, and a .sidebar-link CSS class was created to
support it. Additionally, on rDrama, links for Badges and Marseys
were added, since I believe these are presently inaccessible from
the UI. Further, a Modlog link was added to be more accessible.
Additionally, the icons in the header were rearranged on desktop and
mobile to better fit relative priority.
2022-05-30 08:16:03 +00:00
{% if v %}
2022-05-04 23:09:46 +00:00
{% if v.notifications_count %}
< li class = "nav-item d-flex align-items-center text-center justify-content-center mx-1" >
2022-06-15 05:43:34 +00:00
< a class = "nav-link position-relative" href = "/notifications{% if v.notifications_do %}?{{v.notifications_do}}=true{% endif %}" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Notifications" > < i class = "fas fa-bell" style = "color: {{v.notifications_color}}" > < / i > < span class = "notif-count ml-1" style = "padding-left: 4.5px;{% if v.notifications_do %}background:{{v.notifications_color}}{% endif %}" > {{v.notifications_count}}< / span > < / a >
2022-05-04 23:09:46 +00:00
< / li >
{% else %}
< li class = "nav-item d-flex align-items-center text-center justify-content-center mx-1" >
< a class = "nav-link" href = "/notifications" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Notifications" > < i class = "fas fa-bell" > < / i > < / a >
< / li >
Rearrange nav icons, move some to sidebar.
After the recent addition of the Lottershe, some narrow phone screens
caused the header to wrap to two lines. Prompted by this, a more
general rework of the header nav icons was initiated.
Notably: random user, random post, all comments has been moved to
sidebar on all sites, and a .sidebar-link CSS class was created to
support it. Additionally, on rDrama, links for Badges and Marseys
were added, since I believe these are presently inaccessible from
the UI. Further, a Modlog link was added to be more accessible.
Additionally, the icons in the header were rearranged on desktop and
mobile to better fit relative priority.
2022-05-30 08:16:03 +00:00
{% endif %}
2022-05-04 23:09:46 +00:00
Rearrange nav icons, move some to sidebar.
After the recent addition of the Lottershe, some narrow phone screens
caused the header to wrap to two lines. Prompted by this, a more
general rework of the header nav icons was initiated.
Notably: random user, random post, all comments has been moved to
sidebar on all sites, and a .sidebar-link CSS class was created to
support it. Additionally, on rDrama, links for Badges and Marseys
were added, since I believe these are presently inaccessible from
the UI. Further, a Modlog link was added to be more accessible.
Additionally, the icons in the header were rearranged on desktop and
mobile to better fit relative priority.
2022-05-30 08:16:03 +00:00
{% if v.admin_level > 1 %}
< li class = "nav-item d-flex align-items-center justify-content-center text-center mx-1" >
< a class = "nav-link" href = "/admin/" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Admin tools" > < i class = "fas fa-crown{% if v.has_report_queue %} text-success{% endif %}" > < / i > < / a >
< / li >
2022-05-04 23:09:46 +00:00
{% endif %}
< li class = "nav-item d-flex align-items-center justify-content-center text-center mx-1" >
< a class = "nav-link" href = "{% if sub %}/h/{{sub.name}}{% endif %}/submit" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Create post" > < i class = "fas fa-feather-alt" > < / i > < / a >
< / li >
< li class = "nav-item d-flex align-items-center justify-content-center text-center mx-1" >
Rearrange nav icons, move some to sidebar.
After the recent addition of the Lottershe, some narrow phone screens
caused the header to wrap to two lines. Prompted by this, a more
general rework of the header nav icons was initiated.
Notably: random user, random post, all comments has been moved to
sidebar on all sites, and a .sidebar-link CSS class was created to
support it. Additionally, on rDrama, links for Badges and Marseys
were added, since I believe these are presently inaccessible from
the UI. Further, a Modlog link was added to be more accessible.
Additionally, the icons in the header were rearranged on desktop and
mobile to better fit relative priority.
2022-05-30 08:16:03 +00:00
< a class = "nav-link" href = "/chat/" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Chat" > < i class = "fas fa-messages" > < / i > < / a >
2022-05-04 23:09:46 +00:00
< / li >
< li class = "nav-item d-flex align-items-center justify-content-center text-center mx-1" >
Rearrange nav icons, move some to sidebar.
After the recent addition of the Lottershe, some narrow phone screens
caused the header to wrap to two lines. Prompted by this, a more
general rework of the header nav icons was initiated.
Notably: random user, random post, all comments has been moved to
sidebar on all sites, and a .sidebar-link CSS class was created to
support it. Additionally, on rDrama, links for Badges and Marseys
were added, since I believe these are presently inaccessible from
the UI. Further, a Modlog link was added to be more accessible.
Additionally, the icons in the header were rearranged on desktop and
mobile to better fit relative priority.
2022-05-30 08:16:03 +00:00
< a class = "nav-link" href = "/leaderboard" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Leaderboard" > < i class = "fas fa-trophy" > < / i > < / a >
2022-05-04 23:09:46 +00:00
< / li >
2022-05-30 09:32:45 +00:00
{% if v.can_gamble and LOTTERY_ENABLED %}
Rearrange nav icons, move some to sidebar.
After the recent addition of the Lottershe, some narrow phone screens
caused the header to wrap to two lines. Prompted by this, a more
general rework of the header nav icons was initiated.
Notably: random user, random post, all comments has been moved to
sidebar on all sites, and a .sidebar-link CSS class was created to
support it. Additionally, on rDrama, links for Badges and Marseys
were added, since I believe these are presently inaccessible from
the UI. Further, a Modlog link was added to be more accessible.
Additionally, the icons in the header were rearranged on desktop and
mobile to better fit relative priority.
2022-05-30 08:16:03 +00:00
< li class = "nav-item d-flex align-items-center justify-content-center text-center mx-1" >
< span
data-bs-toggle="tooltip"
data-bs-placement="bottom"
2022-06-11 14:50:26 +00:00
title={{'Lottershe' if SITE_NAME == 'rDrama' else 'Lottery'}}>
Rearrange nav icons, move some to sidebar.
After the recent addition of the Lottershe, some narrow phone screens
caused the header to wrap to two lines. Prompted by this, a more
general rework of the header nav icons was initiated.
Notably: random user, random post, all comments has been moved to
sidebar on all sites, and a .sidebar-link CSS class was created to
support it. Additionally, on rDrama, links for Badges and Marseys
were added, since I believe these are presently inaccessible from
the UI. Further, a Modlog link was added to be more accessible.
Additionally, the icons in the header were rearranged on desktop and
mobile to better fit relative priority.
2022-05-30 08:16:03 +00:00
< a
2022-05-31 02:40:38 +00:00
href="/lottery"
class="nav-link">
Rearrange nav icons, move some to sidebar.
After the recent addition of the Lottershe, some narrow phone screens
caused the header to wrap to two lines. Prompted by this, a more
general rework of the header nav icons was initiated.
Notably: random user, random post, all comments has been moved to
sidebar on all sites, and a .sidebar-link CSS class was created to
support it. Additionally, on rDrama, links for Badges and Marseys
were added, since I believe these are presently inaccessible from
the UI. Further, a Modlog link was added to be more accessible.
Additionally, the icons in the header were rearranged on desktop and
mobile to better fit relative priority.
2022-05-30 08:16:03 +00:00
< i class = "fas fa-ticket" > < / i >
< / a >
< / span >
< / li >
{% endif %}
2022-05-04 23:09:46 +00:00
< li class = "nav-item d-flex align-items-center justify-content-center text-center mx-1" >
< a class = "nav-link" href = "/shop" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "Shop" > < i class = "fas fa-store" > < / i > < / a >
< / li >
< li class = "nav-item d-flex align-items-center justify-content-center text-center" >
< div class = "dropdown" >
< a class = "nav-link bg-transparent py-0 pr-0" role = "button" id = "dropdownMenuLink" data-bs-toggle = "dropdown"
aria-haspopup="true" aria-expanded="false">
< div class = "d-flex" >
2022-06-13 17:46:40 +00:00
< div >
< img alt = "your profile picture" loading = "lazy" src = "{{v.profile_url}}" class = "profile-pic-35" >
{% if v.is_cakeday %}
2022-06-22 15:51:19 +00:00
< img class = "party-hat4" src = "/i/party-hat.webp" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "I’ ve spent another year rotting my brain with dramaposting, please ridicule me 🤓" >
2022-06-13 17:46:40 +00:00
{% endif %}
< / div >
2022-05-04 23:09:46 +00:00
< div class = "text-left pl-2" >
2022-06-27 04:09:32 +00:00
< div style = "color: #{{v.namecolor}}" class = "text-small font-weight-bold" id = "header--username" > < span { % if v . patron % } class = "patron" style = "background-color:#{{v.namecolor}}" { % endif % } > {{v.username}}< / span > < / div >
< div class = "header--currency" > < img alt = "coins" class = "mr-1 ml-1" data-bs-toggle = "tooltip" data-bs-placement = "bottom" src = "/i/{{SITE_NAME}}/coins.webp?v=2000" title = "coins" aria-label = "coins" > < span id = "user-coins-amount" > {{v.coins}}< / span > {% if not PROCOINS_ENABLED %} Coin{{ help.plural(v.coins) }}{% endif %}< / div >
{% if PROCOINS_ENABLED %}
< div class = "header--currency" > < img alt = "marseybux" class = "mr-1 ml-1" data-bs-toggle = "tooltip" data-bs-placement = "bottom" src = "/i/marseybux.webp?v=2000" title = "Marseybux" aria-label = "Marseybux" > < span id = "user-bux-amount" > {{v.procoins}}< / span > < / div >
2022-05-09 12:13:38 +00:00
{% endif %}
2022-05-04 23:09:46 +00:00
< / div >
< / div >
< / a >
2022-05-30 05:36:06 +00:00
< div class = "dropdown-menu dropdown-menu-right dropdown-menu-lg-left shadow fade px-0" >
2022-05-04 23:09:46 +00:00
< div class = "px-2" >
2022-05-24 16:55:24 +00:00
< a class = "dropdown-item" href = "{{v.url}}" > < i class = "fas fa-user-circle fa-fw mr-3" > < / i > My
2022-05-04 23:09:46 +00:00
profile< / a >
2022-05-24 16:55:24 +00:00
< a class = "dropdown-item" href = "/settings" > < i class = "fas fa-cog fa-fw mr-3" > < / i > Settings< / a >
2022-05-04 23:09:46 +00:00
< / div >
< div class = "px-2" >
< button class = "dropdown-item copy-link" data-clipboard-text = "{{SITE_FULL}}/signup?ref={{v.username}}" > < i class = "fas fa-user-friends fa-fw mr-3" > < / i > Invite friends< / button >
< / div >
< div class = "px-2" >
2022-06-24 15:08:57 +00:00
< a class = "dropdown-item" href = "/assets/app_{{SITE_NAME}}_v2.4.apk" > < i class = "fab fa-android fa-fw mr-3" > < / i > Android app< / a >
2022-05-04 23:09:46 +00:00
2022-05-24 16:55:24 +00:00
< a class = "dropdown-item" href = "https://rdrama.net/changelog" > < i class = "fas fa-clipboard fa-fw mr-3" > < / i > Changelog< / a >
2022-05-04 23:09:46 +00:00
< a class = "dropdown-item" rel = "nofollow noopener noreferrer" href = "https://github.com/Aevann1/rDrama" > < i class = "fab fa-github fa-fw mr-3" > < / i > Source code< / a >
{% if SITE_NAME in ['rDrama', 'PCM'] %}
2022-05-24 16:55:24 +00:00
< a class = "dropdown-item" rel = "nofollow noopener noreferrer" href = "/report_bugs" > < i class = "fas fa-bug fa-fw mr-3" > < / i > Bugs/Suggestions< / a >
2022-05-04 23:09:46 +00:00
{% endif %}
{% if SITE_NAME == 'rDrama' %}
2022-05-24 16:55:24 +00:00
< a class = "dropdown-item" href = "/discord" > < i class = "fab fa-discord fa-fw mr-3" > < / i > Discord< / a >
2022-06-15 08:35:13 +00:00
< a class = "dropdown-item" href = "/post/75863/" > < i class = "fas fa-square-share-nodes fa-fw mr-3" > < / i > Fediverse< / a >
2022-05-04 23:09:46 +00:00
{% endif %}
2022-05-28 17:35:21 +00:00
{% if SITE_NAME not in ('Cringetopia', 'WPD') %}
2022-06-24 15:08:57 +00:00
< a class = "dropdown-item" rel = "nofollow noopener noreferrer" href = "{{GUMROAD_LINK}}" > < i class = "fas fa-dollar-sign fa-fw mr-3" > < / i > Donate< / a >
2022-05-04 23:09:46 +00:00
{% endif %}
2022-05-25 01:14:18 +00:00
{% if SITE_NAME == 'rDrama' %}
< a class = "dropdown-item" href = "/archives" > < i class = "fas fa-book fa-fw mr-3" > < / i > Archives< / a >
{% endif %}
2022-05-24 16:55:24 +00:00
< a class = "dropdown-item" href = "/contact" > < i class = "fas fa-file-signature fa-fw mr-3" > < / i > Contact us< / a >
2022-05-04 23:09:46 +00:00
< / div >
< div class = "px-2" >
2022-06-23 23:07:47 +00:00
< a class = "dropdown-item" role = "button" , onclick = "post_toast(this,'/logout', true)" > < i class = "fas fa-sign-out fa-fw mr-3" > < / i > Log out< / a >
2022-05-04 23:09:46 +00:00
< / div >
< / div >
< / div >
< / li >
Rearrange nav icons, move some to sidebar.
After the recent addition of the Lottershe, some narrow phone screens
caused the header to wrap to two lines. Prompted by this, a more
general rework of the header nav icons was initiated.
Notably: random user, random post, all comments has been moved to
sidebar on all sites, and a .sidebar-link CSS class was created to
support it. Additionally, on rDrama, links for Badges and Marseys
were added, since I believe these are presently inaccessible from
the UI. Further, a Modlog link was added to be more accessible.
Additionally, the icons in the header were rearranged on desktop and
mobile to better fit relative priority.
2022-05-30 08:16:03 +00:00
{% else %}
2022-05-04 23:09:46 +00:00
< li class = "nav-item d-flex align-items-center justify-content-center mx-1" >
< 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.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" > 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-0 mx-lg-auto" action = "/search/posts/" method = "get" >
2022-06-22 06:35:50 +00:00
< input autocomplete = "off" class = "form-control form-control-sm w-100" type = "search" placeholder = "{{search_placeholder}}" aria-label = "Search" name = "q" >
2022-05-04 23:09:46 +00:00
< span class = "input-group-append" >
< span class = "input-group-text border-0 bg-transparent" style = "margin-left: -2.5rem" onclick = "document.getElementById('searchform').submit()" >
< i class = "fa fa-search" aria-hidden = "true" > < / 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" > < i class = "fas fa-cog fa-fw mr-3" > < / i > Settings< / a >
< / li >
{% if not g.webview %}
< li class = "nav-item" >
< a class = "nav-link copy-link" data-clipboard-text = "{{SITE_FULL}}/signup?ref={{v.username}}" > < i class = "fas fa-user-friends fa-fw mr-3" > < / i > Invite friends< / a >
< / li >
{% endif %}
2022-06-24 15:08:57 +00:00
< a class = "nav-item nav-link" href = "/assets/app_{{SITE_NAME}}_v2.4.apk" > < i class = "fab fa-android fa-fw mr-3" > < / i > Android app< / a >
2022-05-04 23:09:46 +00:00
< a class = "nav-item nav-link" rel = "nofollow noopener noreferrer" href = "https://github.com/Aevann1/rDrama" > < i class = "fab fa-github fa-fw mr-3" > < / i > Source code< / a >
{% if SITE_NAME == 'rDrama' %}
< a class = "nav-item nav-link" href = "/discord" > < i class = "fab fa-discord fa-fw mr-3" > < / i > Discord< / a >
2022-06-15 09:59:27 +00:00
< a class = "nav-item nav-link" href = "/post/75863/" > < i class = "fas fa-square-share-nodes fa-fw mr-3" > < / i > Fediverse< / a >
2022-05-04 23:09:46 +00:00
{% endif %}
2022-05-28 17:35:21 +00:00
{% if SITE_NAME not in ('Cringetopia', 'WPD') %}
2022-06-24 15:08:57 +00:00
< a class = "nav-item nav-link" rel = "nofollow noopener noreferrer" href = "{{GUMROAD_LINK}}" > < i class = "fas fa-dollar-sign fa-fw mr-3" > < / i > Donate< / a >
2022-05-04 23:09:46 +00:00
{% 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 >
< li class = "nav-item border-top border-bottom mt-2 pt-2" >
2022-06-23 23:07:47 +00:00
< a class = "nav-link" role = "button" , onclick = "post_toast(this,'/logout', true)" > < i class = "fas fa-sign-out fa-fw mr-3 text-danger" > < / i > Log out< / a >
2022-05-04 23:09:46 +00:00
< / li >
{% 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.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" > Sign up< / a >
< / li >
{% endif %}
< li class = "mt-3" >
{% include "sidebar_" + SITE_NAME + ".html" %}
< / li >
< / ul >
< / div >
{% endif %}
< / div >
< / div >
< / nav >
{% if v and not err %}
< div id = "formkey" class = "d-none" > {{v.formkey}}< / div >
{% endif %}
{% if not v %}
< style >
.pad {
padding-bottom: 7.4px;
padding-top: 7.4px;
}
< / style >
{% endif %}
2022-05-29 07:08:28 +00:00
2022-06-27 03:46:32 +00:00
{% if v and v.poor -%}
2022-05-29 07:08:28 +00:00
< style >
2022-06-23 00:34:37 +00:00
* :not(img[src="/i/hand.webp"] + img):not(img.golden, img[g], img[glow]) {
2022-05-29 07:08:28 +00:00
animation: unset !important;
}
< / style >
2022-06-27 02:33:59 +00:00
{%- endif %}
2022-06-20 02:15:33 +00:00
2022-06-22 15:51:19 +00:00
< link rel = "preload" as = "image" href = "/i/l.webp" >