templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
    <html lang="en">
    
    <head>
        <title>DocuManager</title>
        
        <meta charset="UTF-8">
        <link rel="shortcut icon" href="favicon.ico" />
        <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700" />
        <link href="{{ asset('assets/plugins/global/plugins.bundle.css')}}" rel="stylesheet" type="text/css" />
        <link href="{{ asset('assets/css/style.bundle.css') }}" rel="stylesheet" type="text/css" />
        <style>
            .text-white {
                font-size: 2rem;
            }
    
            img {
                width: 306px;
                height: 240px;
            }
        </style>
    
        <script>
            var lang = {
                emailNotValid: '',
                emailRequired: '',
                passwordRequired: '',
                pleaseWait: '',
                someErrors: '',
                errorOccurred: '',
                gotIt: ''
            };
        </script>
            {% block head %}
            {% endblock %}
    
    </head>
    <body id="kt_body" class="app-blank bgi-size-cover bgi-position-center bgi-no-repeat" style="
             background-image: url({{asset('assets/media/misc/pattern-2.png')}});
             background-position: center; 
             background-repeat: no-repeat; 
             background-size: cover">
        {% for label, messages in app.flashes %}
        {% for message in messages %}
            <div class="alert alert-{{ label }} alert-dismissible fade show" role="alert">
                {{ message }}
                <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Cerrar"></button>
            </div>
        {% endfor %}
        {% endfor %}
        
    {% block body %}
    
        <div class="d-flex flex-column flex-root">
            
            <div class="d-flex flex-column flex-column-fluid flex-lg-row">
                <div class="d-flex flex-center w-lg-50 pt-15 pt-lg-0 px-10">
                    <div class="d-flex flex-center flex-lg-start flex-column">
                        <a class="mb-7">
                            <img alt="Logo" src="{{ asset('assets/media/logos/DocuManager_transparente.png')}}" />
                        </a>
                    </div>
                </div>
                <div class="d-flex flex-center w-lg-50 p-10">
                    <div class="card rounded-3 w-md-550px">
                        <div class="card-body p-10 p-lg-20">
                            <form action="{{ path('index') }}" method="POST" accept-charset="UTF-8" class="form w-100" novalidate="novalidate" id="kt_sign_in_form" data-kt-redirect-url="<?= site_url('home'); ?>">
                                
                                <div class="text-center mb-11">
                                    <h1 class="text-dark fw-bolder mb-3">Entrar</h1>
                                </div>
                                <div class="fv-row mb-8">
                                    <input name="_username" type="email" placeholder="Email" value="{{ last_username }}" autocomplete="off" class="form-control bg-transparent" />
                                </div>
                                <div class="fv-row mb-3">
                                    <input name="_password" type="password" placeholder="Contraseņa" autocomplete="off" class="form-control bg-transparent" />                                
                                </div>
                                {% if error %}
                                                                <div class="badget text-danger">
                                                                    {{ error.message }}
                                                                </div>
                                                            {%  endif %}
                                
                                <div class="d-grid mb-10">
                                    <button type="submit" id="kt_sign_in_submit" class="btn btn-primary">
                                        <span class="indicator-label">Entrar</span>
                                        <span class="indicator-progress">Entrando
                                            <span class="spinner-border spinner-border-sm align-middle ms-2"></span>
                                        </span>
                                    </button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
            <script>
                var hostUrl = "assets/";            
            </script>
            <script src="{{ asset('assets/plugins/global/plugins.bundle.js')}}"></script>
            <script src="{{ asset('assets/js/scripts.bundle.js')}}"></script>
            {#<script src="assets/js/custom/authentication/sign-in/general.js"></script>#}
    
    {% endblock %}
    {% block footerjs %}
    {% endblock %}
    </body>
    </html>