forked from enviPath/enviPy
refactor: add public_mode for static pages to remove nav elements
This commit is contained in:
@ -118,6 +118,7 @@
|
||||
{% include "includes/footer.html" %}
|
||||
|
||||
{# Floating Help Tab #}
|
||||
{% if not public_mode %}
|
||||
<div class="fixed right-0 top-1/2 -translate-y-1/2 z-50">
|
||||
<a href="https://community.envipath.org/" target="_blank"
|
||||
class="flex items-center justify-center btn btn-secondary hover:btn-secondary-focus text-secondary-content text-sm shadow-lg transition-all duration-300 hover:scale-105 hover:-translate-x-1"
|
||||
@ -127,6 +128,7 @@
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{# Modals - TODO: Convert these to DaisyUI modals #}
|
||||
{% block modals %}
|
||||
|
||||
Reference in New Issue
Block a user