{#- ---------------------------------------------------------------------------- Macro for rendering the main menu of the application. ----------------------------------------------------------------------------- #} {%- macro render_menu_main() -%}
{%- endmacro %} {#- ---------------------------------------------------------------------------- Macro for rendering the authentication and anonymous submenus of the application. ----------------------------------------------------------------------------- #} {%- macro render_submenu_auth() -%} {%- if current_user.is_authenticated %}{{ form_item_value }}
{{ item | pprint }}: --- {%- for k,v in item.__dict__.items() %} {{ k }}: {{ v | pprint }} {%- endfor %}
{{ var.__str__() }}{{ gettext('Repr:') }}
{{ var | pprint }}
Name | # | % | |
---|---|---|---|
{{ loop.index }} | {{ chitemkey }} | {{ babel_format_decimal(chdata.get(chitemkey, 0)) }} | |
Sum | {{ babel_format_decimal(chstats.get('sum_' + chstatkey, 0)) }} |
{{ get_fa_icon('min') }} Min | {{ babel_format_decimal(chstats.get('min_' + chstatkey, 0)) }} |
---|---|
{{ get_fa_icon('max') }} Max | {{ babel_format_decimal(chstats.get('max_' + chstatkey, 0)) }} |
{{ get_fa_icon('sum') }} Sum | {{ babel_format_decimal(chstats.get('sum_' + chstatkey, 0)) }} |
{{ get_fa_icon('cnt') }} Cnt | {{ babel_format_decimal(chstats.get('cnt_' + chstatkey, 0)) }} |
{{ get_fa_icon('avg') }} Avg | {{ babel_format_decimal(chstats.get('avg_' + chstatkey, 0)) }} |