Source

symfony-on-dotcloud / src / Acme / DemoBundle / Resources / views / Welcome / index.html.twig

Full commit
{% extends 'AcmeDemoBundle::layout.html.twig' %}

{% block title %}Symfony - Welcome{% endblock %}

{% block content_header '' %}

{% block content %}
    {% set version = constant('Symfony\\Component\\HttpKernel\\Kernel::MAJOR_VERSION') ~ '.' ~ constant('Symfony\\Component\\HttpKernel\\Kernel::MINOR_VERSION')%}

    <h1>Welcome!</h1>

    <p>Congratulations! You have successfully installed a new Symfony application.</p>

    <div class="symfony-blocks-welcome">
        <div class="block-quick-tour">
            <div class="illustration">
                <img src="{{ asset('bundles/acmedemo/images/welcome-quick-tour.gif') }}" alt="Quick tour" />
            </div>
            <a class="symfony-button-green" href="http://symfony.com/doc/{{ version }}/quick_tour/index.html">Read the Quick Tour</a>
        </div>
        {% if app.environment == 'dev' %}
            <div class="block-configure">
                <div class="illustration">
                    <img src="{{ asset('bundles/acmedemo/images/welcome-configure.gif') }}" alt="Configure your application" />
                </div>
                <a class="symfony-button-green" href="{{ path('_configurator_home') }}">Configure</a>
            </div>
        {% endif %}
        <div class="block-demo">
            <div class="illustration">
                <img src="{{ asset('bundles/acmedemo/images/welcome-demo.gif') }}" alt="Demo" />
            </div>
            <a class="symfony-button-green" href="{{ path('_demo') }}">Run The Demo</a>
        </div>
    </div>

    <div class="symfony-blocks-help">
        <div class="block-documentation">
            <ul>
                <li><strong>Documentation</strong></li>
                <li><a href="http://symfony.com/doc/{{ version }}/book/index.html">The Book</a></li>
                <li><a href="http://symfony.com/doc/{{ version }}/cookbook/index.html">The Cookbook</a></li>
                <li><a href="http://symfony.com/doc/{{ version }}/components/index.html">The Components</a></li>
                <li><a href="http://symfony.com/doc/{{ version }}/reference/index.html">Reference</a></li>
                <li><a href="http://symfony.com/doc/{{ version }}/glossary.html">Glossary</a></li>
            </ul>
        </div>
        <div class="block-documentation-more">
            <ul>
                <li><strong>Sensio</strong></li>
                <li><a href="http://trainings.sensiolabs.com">Trainings</a></li>
                <li><a href="http://books.sensiolabs.com">Books</a></li>
            </ul>
        </div>
        <div class="block-community">
            <ul>
                <li><strong>Community</strong></li>
                <li><a href="http://symfony.com/irc">IRC channel</a></li>
                <li><a href="http://symfony.com/mailing-lists">Mailing lists</a></li>
                <li><a href="http://forum.symfony-project.org">Forum</a></li>
                <li><a href="http://symfony.com/doc/{{ version }}/contributing/index.html">Contributing</a></li>
            </ul>
        </div>
    </div>
{% endblock %}