{% extends "bootstrap/base.html" %} {% block title %}Buku Server{% endblock %} {% block html_attribs %} lang="en"{% endblock %} {% block styles %} {{super()}} {% endblock %} {% block navbar %} {{super()}} {% endblock %} {% block content %}
{{show_flash_message()}}
{%- endblock %} {% macro show_flash_message() %} {%- with messages = get_flashed_messages(with_categories=True) %} {%- if messages %} {% for category, message in messages %}
{{message}}
{% endfor %} {%- endif %} {%- endwith %} {% endmacro %} {% macro show_bookmarks(bookmarks) %} {% for item in bookmarks %} {% else %} {% endfor %}
Bookmark table.
Entry

{% if item.url|netloc %} {% endif %} {{item.title}}

{% if url_render_mode == 'netloc' %} ({{item.url|netloc}}) {% endif %} {% if not url_render_mode or url_render_mode == 'full' %}

{{item.url}}

{% endif %}

{{item.description}}

{% for tag in item.tags %} {{tag}} {% endfor %}

No entry Found
{% endmacro %} {% macro show_bookmarks_search_form(checkbox_class=None) %}
{{search_bookmarks_form.keywords.label}} {% for entry in search_bookmarks_form.keywords %} {{ entry() }} {% endfor %}
{{search_bookmarks_form.all_keywords()}} {{search_bookmarks_form.all_keywords.label}}
{{search_bookmarks_form.deep()}} {{search_bookmarks_form.deep.label}}
{{search_bookmarks_form.regex()}} {{search_bookmarks_form.regex.label}}
{% endmacro %}