<commit_before>{#

This file is part of the Sonata package.

(c) <NAME> <<EMAIL>>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

#}

{% extends "SonataAdminBundle::standard_layout.html.twig" %}


{% block title %}Pixlr Editor{% endblock title %}

{% block stylesheets %}
    {{ parent() }}
    <style>
        .header {
            text-align: center;
            background: none repeat scroll 0 0 #222222;
            border-bottom: 5px solid #B6B6B6;
            padding: 15px 0;
        }

        body.fixed .wrapper {
            margin-top: 90px;
        }

        a.pixlr-box {
            text-align: center;
            width: 230px;
            float: left;
            margin: 30px;
            margin-left: 35px;
            margin-right: 35px;

            padding: 30px;
            text-decoration: none;

            color: #B6B6B6;
            -webkit-border-radius: 20px;
            -moz-border-radius: 20px;
            border-radius: 20px;
            border:9px solid #B6B6B6;
            background-color:#222222;
        }

        a.pixlr-box:hover {
            color: #222222;
            -webkit-border-radius: 20px;
            -moz-border-radius: 20px;
            border-radius: 20px;
            border:9px solid #222222;
            background-color:#B6B6B6;
            text-decoration: none;
        }

        .centered {
            float: none;
            margin: 0 auto;
        }
    </style>
{% endblock stylesheets %}

{% block logo %}
    <img src="{{ asset('bundles/sonatamedia/extra/pixlr/pixlr.png')}}" alt="Pixlr"/>
{% endblock %}

{% block sonata_nav %}{% endblock %}
{% block sonata_left_side %}{% endblock %}
{% block sonata_wrapper %}
    <section class="content">

        <div class="row">
            <div class="col-sm-6 centered">
                <div class="row">
                    <div class="col-sm-6">
                        <a href="{{ url('sonata_media_pixlr_edit', {'id': media|sonata_urlsafeid , 'mode': 'express'}) }}" class="pixlr-box">
                            <img src="{{ asset('bundles/sonatamedia/extra/pixlr/express_128.png')}}" alt="Pixlr Express"/>
                            {{ "label.pixlr_express_editor"|trans({}, "SonataMediaBundle")|raw }}
                        </a>
                    </div>
                    <div class="col-sm-6">
                        <a href="{{ url('sonata_media_pixlr_edit', {'id': media|sonata_urlsafeid , 'mode': 'editor'}) }}" class="pixlr-box">
                            <img src="{{ asset('bundles/sonatamedia/extra/pixlr/editor_128.png')}}" alt="Pixlr Editor"/>
                            {{ "label.pixlr_advanced_editor"|trans({}, "SonataMediaBundle")|raw }}
                        </a>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-12 centered">
                        <div class="alert alert-warning">
                            {{ "label.pixlr_warning"|trans({}, "SonataMediaBundle")|raw }}
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </section>
{% endblock %}<commit_msg>use the new empty layout<commit_after>{#

This file is part of the Sonata package.

(c) <NAME> <<EMAIL>>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

#}

{% extends "SonataAdminBundle::empty_layout.html.twig" %}


{% block title %}Pixlr Editor{% endblock title %}

{% block stylesheets %}
    {{ parent() }}
    <style>
        .header {
            text-align: center;
            background: none repeat scroll 0 0 #222222;
            border-bottom: 5px solid #B6B6B6;
            padding: 15px 0;
        }

        a.pixlr-box {
            text-align: center;
            width: 230px;
            float: left;
            margin: 30px;
            margin-left: 35px;
            margin-right: 35px;

            padding: 30px;
            text-decoration: none;

            color: #B6B6B6;
            -webkit-border-radius: 20px;
            -moz-border-radius: 20px;
            border-radius: 20px;
            border:9px solid #B6B6B6;
            background-color:#222222;
        }

        a.pixlr-box:hover {
            color: #222222;
            -webkit-border-radius: 20px;
            -moz-border-radius: 20px;
            border-radius: 20px;
            border:9px solid #222222;
            background-color:#B6B6B6;
            text-decoration: none;
        }

        .centered {
            float: none;
            margin: 0 auto;
        }
    </style>
{% endblock stylesheets %}


{% block sonata_wrapper %}
    <section class="content">
        <div class="row header">
           <div class="col-sm-12">
               <img src="{{ asset('bundles/sonatamedia/extra/pixlr/pixlr.png')}}" alt="Pixlr"/>
           </div>
       </div>

        <div class="row">
            <div class="col-sm-6 centered">
                <div class="row">
                    <div class="col-sm-6">
                        <a href="{{ url('sonata_media_pixlr_edit', {'id': media|sonata_urlsafeid , 'mode': 'express'}) }}" class="pixlr-box">
                            <img src="{{ asset('bundles/sonatamedia/extra/pixlr/express_128.png')}}" alt="Pixlr Express"/>
                            {{ "label.pixlr_express_editor"|trans({}, "SonataMediaBundle")|raw }}
                        </a>
                    </div>
                    <div class="col-sm-6">
                        <a href="{{ url('sonata_media_pixlr_edit', {'id': media|sonata_urlsafeid , 'mode': 'editor'}) }}" class="pixlr-box">
                            <img src="{{ asset('bundles/sonatamedia/extra/pixlr/editor_128.png')}}" alt="Pixlr Editor"/>
                            {{ "label.pixlr_advanced_editor"|trans({}, "SonataMediaBundle")|raw }}
                        </a>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-12 centered">
                        <div class="alert alert-warning">
                            {{ "label.pixlr_warning"|trans({}, "SonataMediaBundle")|raw }}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
{% endblock %}
{'fraction_non_alphanumeric': 0.1399157697707066, 'fraction_numerical': 0.02526906878802059, 'mean_word_length': 1.4852713178294574, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6805396', 'n_tokens_mistral': 2055, 'n_tokens_neox': 1826, 'n_words': 392}