<!DOCTYPE html>
<html>
    <head>
        <title>Welcome to Pimcore!</title>

        <meta charset="UTF-8">
        <meta name="robots" content="noindex, follow">

        <link rel="icon" type="image/png" href="/bundles/pimcoreadmin/img/favicon/favicon-32x32.png">

        <link rel="stylesheet" href="/bundles/pimcoreadmin/css/login.css" type="text/css">

        {% for pluginCssPath in pluginCssPaths %}
            <link rel="stylesheet" type="text/css" href="{{ pluginCssPath }}?_dc={{ 'now'|date('U') }}">
        {% endfor %}
    </head>
    <body class="pimcore_version_11 {{ adminSettings['branding']['login_screen_invert_colors'] ? 'inverted' : '' }}">
        <style>
            #background {
                background-image: url("{{ pimcore_login_background_image('/bundles/pimcoreadmin/img/login/pimconaut2024.jpg') }}");
            }
        </style>

        {% set customColor = adminSettings['branding']['color_login_screen'] %}
        {% if (customColor is not empty) %}
        <style>
            #content button {
                background: {{ customColor }};
            }

            #content a {
                color: {{ customColor }};
            }
        </style>
        {% endif %}

        <div id="logo">
            <img alt="{{ "Pimcore's logotype"|trans([], 'admin') }}" src="{{ path('pimcore_settings_display_custom_logo') ~ (adminSettings['branding']['login_screen_invert_colors'] ? '' : '?white=true') }}">
        </div>

        <div id="content">
            {{ block('content') }}
        </div>

        {% if debug is defined and debug %}
            <div id="github">
                <a class="github-button" href="https://github.com/pimcore/pimcore" data-color-scheme="no-preference: dark; light: dark; dark: dark;" data-size="large" aria-label="Star pimcore/pimcore on GitHub">Star</a>
            </div>
            <script async defer src="https://buttons.github.io/buttons.js" {{ pimcore_csp.getNonceHtmlAttribute()|raw }}></script>
        {% endif %}

        {#
            <div id="news">
                <h2>News</h2>
                <hr>
                <p>
                    <a href="#">Where is Master Data Management Heading in the Future?</a>
                </p>
                <hr>
                <p>
                    <a href="#">Print and Pimcore announce technology partnership to ease publishing workflows</a>
                </p>
            </div>
        #}

        <div id="contentBackground"></div>
        <div id="background"></div>
        <div id="footer">
            &copy; 2009-{{ "now"|date("Y") }} <a href="https://www.pimcore.com/">Pimcore GmbH</a><br>
            BE RESPECTFUL AND HONOR OUR WORK FOR FREE & OPEN CORE SOFTWARE BY NOT REMOVING OUR COPYRIGHT NOTICE!
            KEEP IN MIND THAT REMOVING THE COPYRIGHT NOTICE IS VIOLATING OUR LICENSING TERMS!
        </div>

        {% if block('below_footer') is defined %}
            {{ block('below_footer') }}
        {% endif %}

    </body>
</html>
