@extends('template.master')

@section('main-css')
    <link href="{{ asset('css/themes/' . config('constants.TEMAS')[config('constants.GENERAL.TEMA')] . '/login.css') }}" rel="stylesheet" type="text/css"/>
    @yield('styles')
@endsection

@section('plugins-css')
@endsection

@section('main-js')
    <script src="{{ asset('js/login.js') }}" type="text/javascript"></script>
    @yield('scripts')
@endsection

@section('plugins-js')
@endsection

@section('body')
    <body class="login" style="background-image: url({{ asset('img/themes/' . config('constants.TEMAS')[config('constants.GENERAL.TEMA')] . '/login-bg.png') }})">
        <div class="content">
            <div class="logo">
                <a href="{{ url('/') }}"><img src="{{ asset('img/themes/' . config('constants.TEMAS')[config('constants.GENERAL.TEMA')] . '/logo.png') }}" alt="logo"/></a>
            </div>
            @yield('content')
        </div>
        <div class="copyright"> <?php echo date("Y"); ?> &copy; {{ config('constants.SISTEMAS')[config('constants.GENERAL.SISTEMA')] }} por
            <a target="_blank" href="http://www.enchufate.pe">Ench&uacute;fate</a>
        </div>
    </body>
@endsection
