core&ui: fix bugs and add hint (#635)

Co-authored-by: panda <panda_dtdyy@outlook.com>
This commit is contained in:
panda authored and GitHub committed 2023-08-27 01:58:32 +08:00
1 parent e02d8b5d43
commit 7687b99f07
13 files changed
+81 -49

No files matched your search

@@ -3,6 +3,14 @@
{% block body %}
{% if UserContext %}{% include "partials/nav.html" %}{% endif %}
<div class="slideout-panel" id="panel">
{% if handler.session.legacy and not handler.session.nohint %}
<div class="typo hint flex-row flex-main-center flex-cross-center">
<p>
{{ _('You are currently in legacy mode. Some additional features will be unavailable. We strongly recommend switching to standard mode on a modern browser.') }}
<a href="/legacy">{{ _('Standard mode') }}</a> <a href="/legacy?legacy=true&nohint=true">{{ _('Hidden') }}</a>
</p>
</div>
{% endif %}
<div class="slideout-overlay"></div>
{% if UserContext %}{% include "partials/header_mobile.html" %}{% endif %}
<div class="main">