core: better blacklist

This commit is contained in:
undefined committed 2021-08-20 17:47:39 +08:00
1 parent 42f920d25c
commit 0676cc0a27
9 files changed
+21 -90

No files matched your search

@@ -1,14 +1,14 @@
{% set layout_name = "basic" %}
{% extends "layout/html5.html" %}
{% block body %}
{% include "partials/nav.html" %}
{% if UserContext %}{% include "partials/nav.html" %}{% endif %}
<div class="slideout-panel" id="panel">
<div class="slideout-overlay"></div>
{% include "partials/header_mobile.html" %}
{% if UserContext %}{% include "partials/header_mobile.html" %}{% endif %}
<div class="main">
{% block content %}{% endblock %}
</div>
{% include "partials/footer.html" %}
</div>
{% include "partials/login_dialog.html" %}
{% if UserContext %}{% include "partials/login_dialog.html" %}{% endif %}
{% endblock %}
@@ -25,9 +25,9 @@
<meta property="og:image" content="{{ static_url('favicon-96x96.png') }}" />
{% endblock %}
{% if not isIE(handler.request.headers['user-agent']) %}
<script src="{{ static_url(handler.user.theme|default('default') + '.theme.js') }}"></script>
<script src="{{ static_url((handler.user|default({})).theme|default('default') + '.theme.js') }}"></script>
{% endif %}
<link rel="stylesheet" media="all" href="{{ static_url(handler.user.theme|default('default') + '.theme.css') }}">
<link rel="stylesheet" media="all" href="{{ static_url((handler.user|default({})).theme|default('default') + '.theme.css') }}">
<link rel="stylesheet" media="all" href="{{ url('ui_extracss') }}">
<title>{{ handler.renderTitle(page_name) }}</title>
{% if not isIE(handler.request.headers['user-agent']) %}