diff --git a/src/cryptoadvance/specter/templates/base.jinja b/src/cryptoadvance/specter/templates/base.jinja index 933b8ad5d6..e69de29bb2 100644 --- a/src/cryptoadvance/specter/templates/base.jinja +++ b/src/cryptoadvance/specter/templates/base.jinja @@ -1,170 +0,0 @@ - - - - {{ _("Specter") }} - - - - - - - - - - - - {% if config.DEBUG %} - - {% endif %} - - - {% include "includes/helpers.jinja" %} - {% include "services/inject_in_basejinja_head.jinja" %} - - {% block head %}{% endblock %} - - - - {% include "services/inject_in_basejinja_body_top.jinja" %} - -
- - {% if specter.config.auth.method == "none" or current_user.is_authenticated %} - - - - {% if not hwi_bridge %} - {# url routes are not defined in hwi_bridge mode. Includes with `url_for` will fail. #} - {% include "includes/overlay/overlay.html" %} - {% include "includes/qr-code.html" %} - {% include "includes/asset-label.html" %} - {% endif %} - {% endif %} - - {% include "includes/message-box.html" %} - - {% include "includes/tool-tip.html" %} - -
-
- {% block sidebar %} - {% include "includes/sidebar/sidebar.jinja" %} - {% endblock %} -
-
- - - {% if current_user.is_authenticated and not hwi_bridge %} -
-
- -
-
- - - {% include "components/price_bar.jinja" %} - - - - - - {% if specter.config.auth.method != "none" %} - - - - {% endif %} - -
-
- - - {% endif %} - - -
- {% with messages = get_flashed_messages(with_categories=True) %} - {% if messages %} - {% for category, message in messages | unique %} - {{ message | safe }} - {% endfor %} - {% endif %} - {% endwith %} - {% if error %} - {{error | safe }} - {% endif %} -
- - -
- {% block main %} - {% if error %} -

{{ _("Something went wrong:") }}

{{error}} - {% else %} -
-

{{ _("Here should be some content but unfortunately, none here!") }}

-
- {% endif %} - {% endblock %} - -
-
-
-
- - {% if not hwi_bridge %} - {# url routes are not defined in hwi_bridge mode. `url_for` will fail. #} - - {% endif %} - {% block scripts %} - - {% endblock %} - {% include "services/inject_in_basejinja_body_bottom.jinja" %} - -