mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: fix bugs and add hint (#635)
Co-authored-by: panda <panda_dtdyy@outlook.com>
This commit is contained in:
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">
|
||||
|
||||
Reference in new issue
Block a user