41 lines
1.8 KiB
Twig
41 lines
1.8 KiB
Twig
{% extends 'html.twig' %}
|
|
|
|
{% set html_title = (title is defined ? (title ~ ' :: ') : '') ~ site_get_info('name') %}
|
|
|
|
{% block html_head %}
|
|
<link href="{{ asset('common.css') }}" rel="stylesheet">
|
|
<link href="{{ asset('auth.css') }}" rel="stylesheet">
|
|
{% endblock %}
|
|
|
|
{% block html_body %}
|
|
<div class="auth-wrapper">
|
|
<div class="auth-dialog">
|
|
<div class="auth-dialog-body">
|
|
{% block body %}
|
|
{% block body_header %}
|
|
<header class="auth-header js-auth-header">
|
|
{% set body_header_icon = body_header_icon|default('') %}
|
|
<div class="auth-simplehead js-auth-header-simple{% if body_header_icon == '' %} hidden{% endif %}">
|
|
<div class="auth-simplehead-icon auth-simplehead-icon--{{ body_header_icon }} js-auth-header-simple-icon"></div>
|
|
<div class="auth-simplehead-text js-auth-header-simple-text">
|
|
{{ body_header_text|default('') }}
|
|
</div>
|
|
</div>
|
|
</header>
|
|
{% endblock %}
|
|
|
|
<div class="auth-body">
|
|
<div class="auth-banner">
|
|
<div class="auth-banner-text">{{ body_title|default('') }}</div>
|
|
<div class="auth-banner-logo">{{ site_get_info('name') }}</div>
|
|
</div>
|
|
|
|
{% block body_content %}{% endblock %}
|
|
</div>
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="{{ asset('common.js') }}"></script>
|
|
<script src="{{ asset('auth.js') }}"></script>
|
|
{% endblock %}
|