1
0
Fork 0
mirror of https://github.com/fastogt/fastocloud_admin.git synced 2025-03-09 23:38:52 +00:00
fastocloud_admin/app/templates/layouts/layout.html
2019-08-22 07:16:08 -04:00

42 lines
No EOL
1 KiB
HTML

{% extends "bootstrap/base.html" %}
{% macro render_bootstrap_field(field) %}
<div class="row">
<label class="col-md-4">{{ field.label }}</label>
<div class="col-md-8">
{{ field(class='form-control')|safe }}
</div>
</div>
{% endmacro %}
{% macro render_bootstrap_form(form) %}
<div class="row">
<label class="col-md-4">{{ form.label }}</label>
<div class="col-md-8">
{{ form() }}
</div>
</div>
{% endmacro %}
{% block title %}
{{ config['PUBLIC_CONFIG'].site.title }}
{% endblock %}
{%- block metas %}
{{super()}}
<meta charset="utf-8">
<meta name="description" content="{{ config['PUBLIC_CONFIG'].site.title }}"/>
<meta name="keywords" content="{{ config['PUBLIC_CONFIG'].site.keywords }}"/>
<meta name="copyright" content="{{ config['PUBLIC_CONFIG'].company.domain }}"/>
{% endblock %}
{% block styles %}
{{super()}}
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
{% endblock %}
{% block content %}
{% endblock %}
{% block scripts %}
{{super()}}
{% endblock %}