{% extends "bootstrap.html" %} {% from 'helper.mac' import js, js_ready, onload, css, href, button, img %} {% block title %}Willkommen - Marhaban{% endblock %} {% block styles %} {{ super() }} {{ css('lib/bootstrap-theme.min.css') }} {{ css('base.css') }} {{ css('app.css') }} {{ css('lib/datatables/css/jquery.datatables.min.css') }} {% endblock %} {% block navbar %}
{% endblock %} {% block content %}
{% if payment_active %} {% if current_user.is_authenticated and not current_user.payed %} {% endif %} {% endif %}
{% for message in get_flashed_messages() %}
{{ button(caption='×', class='close', data_dismiss='alert') }} {{ message }}
{% endfor %}
{% block pagecontent %} {% endblock %}
{% if talker_active %} {% include "mbox.html" %} {% endif %} {% endblock %} {% block scripts %} {{ super() }} {{ js('js/jquery-4.0.0.min.js') }} {{ moment.include_moment(local_js=url_for('static', filename='lib/moment.min.js')) }} {{ moment.locale('de') }} {{ js('base.js') }} {{ js('lib/bootstrap-toggle.min.js') }} {{ js('lib/URI.js') }} {{ js('lib/datatables/js/jquery.datatables.min.js') }} {% if talker_active %} {% endif %} {% if payment_active %} {% if current_user.is_authenticated %} {% call js_ready() %} $("#start_payment").click(function () { window.location.replace('/payment') }); {% endcall %} {% endif %} {% endif %} {% endblock %}