<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
{% block head %}
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
    <link rel="shortcut icon" href="{{ asset('favicon.ico') }}" />
    <title>{% block title %}COMPANY NAME{% endblock %}</title>
    {% block js_import %}
    {% endblock %}
    
    {% block css_declaration %}
    {% endblock %}
    
    {% block css_import %}
    <link rel="stylesheet" href="{{ asset('bundles/companybase/css/company_style.css') }}" type="text/css"/>
    {% endblock %}
    
    {% block js_declaration %}
    {% endblock %}
    
{% endblock %}
</head>
<body>
{% block body %} 

{% block header %}
    <div id="header">
        <div><a href="{{ url('CompanyBaseBundle_homepage') }}">Company</a></div>
        {% if is_granted("IS_AUTHENTICATED_FULLY") %}
        <div><a href="{{ url('fos_user_profile_show') }}">{{ app.user.username }}</a>&nbsp;|&nbsp;<a href="{{ url('fos_user_security_logout') }}">{{ 'layout.logout'|trans({}, 'FOSUserBundle') }}</a></div>
        {% else %}
        <a href="{{ path('fos_user_security_login') }}">{{ 'layout.login'|trans({}, 'FOSUserBundle') }}</a>&nbsp;|&nbsp;<a href="{{ path('fos_user_registration_register') }}">{{ 'layout.register'|trans({}, 'FOSUserBundle') }}</a>
        {% endif %}
    </div>
    <div>
    {% for key, message in app.session.getFlashes() %}
        <div class="{{ key }}">
            {{ message|trans({}, 'FOSUserBundle') }}
        </div>
    {% endfor %}
    </div>
{% endblock %}

{% block toolbar %}
{% endblock %}


{% block content %}
{% endblock %}

{% block footer %}
    <div id="footer">
        <p>{{ 'footer.message' | trans({}, 'CompanyBaseBundle')}}</p>
    </div>
{% endblock %}

{% endblock %}
</body>
</html>