ui: 修复problem_create页面添加标签无效的问题

This commit is contained in:
undefined committed 2021-04-08 14:35:23 +08:00
1 parent 8a114abb55
commit 05968798fe
6 files changed
+37 -20

No files matched your search

@@ -26,7 +26,7 @@
<meta property="og:url" content="{{ handler.ctx.request.href }}" />
<meta property="og:image" content="{{ static_url('favicon-96x96.png') }}" />
{% endblock %}
<link rel="stylesheet" media="all" href="{{ static_url('theme.' + handler.user.theme|default('default') + '.css') }}">
<link rel="stylesheet" media="all" href="{{ static_url(handler.user.theme|default('default') + '.theme.js') }}">
<link rel="stylesheet" media="all" href="{{ url('ui_extracss') }}">
<title>{{ handler.renderTitle(page_name) }}</title>
{% if not isIE(handler.request.headers['user-agent']) %}
@@ -57,6 +57,13 @@
<li class="menu__item"><a class="menu__link" href="{{ url('switch_language', lang=k) }}">{{ v }}</a></li>
{%- endfor -%}
</ol>
<li class="footer__extra-link-item" data-dropdown-target="#menu-footer-theme">
<span><span class="icon icon-global"></span> Theme <span class="icon icon-expand_less"></span></span>
<ol class="dropdown-target menu" id="menu-footer-theme">
{%- for k in UiContext.themes -%}
<li class="menu__item"><a class="menu__link" href="{{ url('set_theme', theme=k) }}">{{ k }}</a></li>
{%- endfor -%}
</ol>
</li>
</ol>
</div>
@@ -73,12 +73,12 @@
{% include "partials/category.html" %}
</div>
</div>
{% if page_name == 'problem_edit' %}
{% set owner_udoc = udoc %}
{% include "partials/problem_sidebar.html" %}
{% else %}
{% include 'components/md_hint.html' %}
{% endif %}
{% if page_name == 'problem_edit' %}
{% set owner_udoc = udoc %}
{% include "partials/problem_sidebar.html" %}
{% else %}
{% include 'components/md_hint.html' %}
{% endif %}
</div>
</div>
{% endblock %}