forked from MarseyWorld/MarseyWorld
make error page prettier
parent
0b4ead5f81
commit
3d1905d51c
|
@ -4,10 +4,9 @@
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
<nav class="shadow-md fixed-top">
|
<nav class="shadow-md fixed-top">
|
||||||
{% if not err %}
|
|
||||||
<div class="srd">
|
<div class="srd">
|
||||||
{% if SITE_NAME == 'rDrama' %}
|
{% 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" %}
|
{% include "journoid_banner.html" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if IS_DKD() %}
|
{% if IS_DKD() %}
|
||||||
|
@ -71,9 +70,7 @@
|
||||||
{{g.loggedin_counter+g.loggedout_counter}} people here now ({{g.loggedin_counter}} logged in)
|
{{g.loggedin_counter+g.loggedout_counter}} people here now ({{g.loggedin_counter}} logged in)
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
|
||||||
<link rel="stylesheet" href="{{'css/err.css' | asset}}">
|
|
||||||
{% endif %}
|
|
||||||
<div class="navbar navbar-expand-md navbar-light" id="navbar">
|
<div class="navbar navbar-expand-md navbar-light" id="navbar">
|
||||||
<div class="container-fluid" style="padding:0;">
|
<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 %}">
|
<a href="/" class="navbar-brand mr-auto {% if not has_logo and not sub %}flex-grow-1{% endif %}">
|
||||||
|
|
Loading…
Reference in New Issue