<!DOCTYPE html>
{% if app.debug -%}
    <!-- {% if page is defined %}page-Eintrag mit ID {{ page.id }}{% else %}Für diese Seite existiert kein page-Eintrag, sondern ein Twig-Seitetemplate in app/Resources/views/default/pages{% endif %} -->
{%- endif %}

<!--[if lt IE 7 ]><html class="ie ie6" lang="de"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="de"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="de"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="de"><!--<![endif]-->
<head>

    <title>
        {% block page_title %}
            FeWo-Adminbereich
        {% endblock page_title %}
    </title>

    <!-- Favicons -->
    <link rel="shortcut icon" href="/bundles/app/images/favicon.ico" type="image/x-icon" />
    <link rel="apple-touch-icon" href="/bundles/app/images/apple-icon.png" />
    <link rel="apple-touch-icon" sizes="72x72" href="/bundles/app/images/apple-icon-72x72.png" />
    <link rel="apple-touch-icon" sizes="114x114" href="/bundles/app/images/apple-icon-114x114.png" />

    {% block stylesheets %}
        {% stylesheets
        'bundles/app/css/bootstrap-3.3.7.css'
        filter='cssrewrite'
        %}
        <link rel="stylesheet" href="{{ asset_url }}"/>
        {% endstylesheets %}
        {% stylesheets
        'bundles/app/css/custom.css'
        filter='cssrewrite'
        %}
        <link rel="stylesheet" href="{{ asset_url }}"/>
        {% endstylesheets %}
        <style>.box-slider .slide:not(.active) {display: none;}</style>{# TODO Move to custom.css #}
    {% endblock stylesheets %}

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>
<body>
<div id="wrapper">
    <header class="header fixedheader setbg">
        <div class="menu-container">
            <div class="container">
                <div class="menu-wrapper">
                    <nav id="navigation" class="navbar" role="navigation" itemscope itemtype="https://schema.org/SiteNavigationElement">
                        <div class="navbar-inner">
                            <div id="navbar-collapse" class="navbar-left navbar-collapse collapse clearfix">
                                <ul class="nav navbar-nav">

                                    <li itemprop="name">
                                        <a href="/admin/fewo/lodgings" title="Wohnungen/Objekte" itemprop="">Objekte</a>
                                    </li>
                                    <li itemprop="name">
                                        <a href="/admin/fewo/seasons" title="Saisons" itemprop="">Saisons</a>
                                    </li>
                                    <li itemprop="name">
                                        <a href="/logout" title="Logout" itemprop="">Logout</a>
                                    </li>
                                </ul><!-- end navbar-right -->
                            </div><!-- end navbar-callopse -->
                        </div>
                    </nav><!-- end navigation -->
                </div><!-- menu wrapper -->
            </div><!-- end container -->
        </div><!-- end menu-container -->
    </header>


    <section class="section clearfix" style="padding-top: 100px;">
        <div class="container">
            <div class="row">
                <div id="fullwidth" class="col-sm-12">

                    <!-- START CONTENT -->
                    <div class="row">

                        <div id="content" class="col-md-9 col-sm-8 col-xs-12">
                            {% block body %}
                                <section class="clearfix">
                                    <div class="content-copy">
                                        <h1>Sterntours - Adminbereich</h1>
                                    </div>
                                </section><!-- end section -->
                            {% endblock %}
                        </div><!-- end col -->

                    </div><!-- end row -->
                    <!-- END CONTENT -->

                </div><!-- end fullwidth -->
            </div><!-- end row -->
        </div><!-- end container -->
    </section><!-- end section -->

    {#{% include 'default/components/footer.html.twig' %}#}

</div><!-- end wrapper -->

<!-- default modal -->
{#{% embed 'default/components/embed/modal.html.twig' with {id: 'default'} %}{% endembed %}#}

{#TODO ausmisten und im gleichen zuge das CSS für den Datepicker einfügen#}
{% block javascripts %}
    {% javascripts
    '@AppBundle/Resources/public/js/jquery-3.1.1.js'
    '@AppBundle/Resources/public/js/jquery-ui-1.12.1.js'
    '@AppBundle/Resources/public/js/bootstrap-3.3.7.js'
    '@AppBundle/Resources/public/js/jquery.prettyPhoto-3.1.6.js'
    '@AppBundle/Resources/public/js/parallax.js'
    '@AppBundle/Resources/public/js/owl.carousel-2.2.0.js'
    '@AppBundle/Resources/public/js/bootstrap-select-1.12.0.js'
    '@AppBundle/Resources/public/js/custom.js'
    %}
    <script src="{{ asset_url }}"></script>
    {% endjavascripts %}
{% endblock javascripts %}

</body>
</html>
