make error page prettier

master
Aevann 2023-07-02 02:20:04 +03:00
parent 0b4ead5f81
commit 3d1905d51c
1 changed files with 2 additions and 5 deletions

View File

@ -4,10 +4,9 @@
{%- endif -%}
<nav class="shadow-md fixed-top">
{% if not err %}
<div class="srd">
{% if SITE_NAME == 'rDrama' %}
{% if not hasattr(g, "loggedin_counter") or (range(1,5) | random == 1 and not (v and v.truescore > 1000)) %}
{% if err or not hasattr(g, "loggedin_counter") or (range(1,5) | random == 1 and not (v and v.truescore > 1000)) %}
{% include "journoid_banner.html" %}
{% else %}
{% if IS_DKD() %}
@ -71,9 +70,7 @@
{{g.loggedin_counter+g.loggedout_counter}} people here now ({{g.loggedin_counter}} logged in)
{% endif %}
</div>
{% else %}
<link rel="stylesheet" href="{{'css/err.css' | asset}}">
{% endif %}
<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 sub %}flex-grow-1{% endif %}">