forked from rDrama/rDrama
restore reload icon for legacy app users
parent
6a6b4c46b8
commit
9e89166e2f
|
@ -24,6 +24,7 @@ def before_request():
|
||||||
if not get_setting('Bots') and request.headers.get("Authorization"): abort(403)
|
if not get_setting('Bots') and request.headers.get("Authorization"): abort(403)
|
||||||
|
|
||||||
g.db = db_session()
|
g.db = db_session()
|
||||||
|
g.webview = '; wv) ' in ua
|
||||||
|
|
||||||
if ' firefox/' in ua:
|
if ' firefox/' in ua:
|
||||||
g.type = 'firefox'
|
g.type = 'firefox'
|
||||||
|
|
|
@ -99,6 +99,10 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if g.webview %}
|
||||||
|
<button type="button" class="mobile-nav-icon d-md-none" onclick="location.reload()"><i class="fas fa-arrow-rotate-right align-middle text-gray-500 black"></i></button>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if SITE_NAME == 'PCM' %}
|
{% if SITE_NAME == 'PCM' %}
|
||||||
<a class="mobile-nav-icon d-md-none" href="/live" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Live"><i class="fas fa-circle align-middle black live-circle"></i></a>
|
<a class="mobile-nav-icon d-md-none" href="/live" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Live"><i class="fas fa-circle align-middle black live-circle"></i></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue