{% macro icon(cat,name, extra_classes) -%} {%- endmacro -%} {% macro btn_share(href,content,class='primary') -%}
{{content}}
{%- endmacro -%} {% macro modal(id,title,content,footer="",show=False) -%} {% if show %} {% endif %} {%- endmacro -%} {% macro menu_post(href,text, extra_classes) -%}
{%- endmacro -%} {% macro render_nav_item(endpoint, text, _badge='', _use_li=False,extra_class="") %} {% set active = True if request.endpoint and request.endpoint == endpoint else False %} {% set url = endpoint if "://" in endpoint else hurl_for(endpoint, **kwargs) %} {% if _use_li %}{% endif %} {% endmacro %} {% extends 'base/utils.html' %} {# This macro was part of Flask-Bootstrap and was modified under the terms of its BSD License. Copyright (c) 2013, Marc Brinkmann. All rights reserved. #} {# versionadded: New in 1.2.0 #} {% macro render_toast(messages=None, container=False, transform={ 'critical': 'danger', 'error': 'danger', 'info': 'info', 'warning': 'warning', 'debug': 'primary', 'notset': 'primary', 'message': 'primary', }, default_category=config.BOOTSTRAP_MSG_CATEGORY, dismissible=False, dismiss_animate=False) -%} {% with messages = messages or get_flashed_messages(with_categories=True) -%} {% if messages -%} {# don't output anything if there are no messages #} {% endif -%} {% endwith -%} {% endmacro -%}