{% extends 'layout-without-menu.twig' %}
{# {% extends 'layout.twig' %} #}

{% block header %}

    <div class="container-fluid">
        <!-- client -->
        {% include '@GlobalApplication/Component/page_header.twig' with getHeaderData() %}
    </div>

    <div class="container-fluid bs-row flex-nowrap">
		<main id="main-content" class="bs-col">
		   {{ menuTop(menuActive) }}
        </main>
    </div>

{% endblock %}

{% block body %}

    <div class="contenu">
    
        <div class="row" style="margin-bottom: 100px;">
        
            <div class="module">
                {% if ConnexionOXASRM %}
				<a class="tuiles_index" id="p2p" onclick="executeSRM(' {{ _haplusweb | raw }}','{{ session_id | raw }}');">
					<div class="tuile">
						<div class="divIcone pictos">
						</div>
						<div class="text">
							{{ 'OXA.SRM' | trad }}
						</div>
					</div>
					<div class="descriptif">
						{{ 'e-Sourcing & Achats' | trad }}
					</div>
				</a>
                {% endif %}

                {% if ConnexionEproc %}
				<a class="tuiles_index" id="s2c" href="{{ path(('Index.Index.index')) }}">
					<div class="tuile">
						<div class="divIcone pictos">
						</div>
						<div class="text">
							{{ 'OXA.PROC' | trad }}
						</div>
					</div>
					<div class="descriptif">
						{{ 'e-Procurement' | trad }}
					</div>
				</a>
                {% endif %}
            </div>
    
        </div>

        <div class="row">
            <div class="col-lg-5 col-md-5 col-sm-5 col-xs-5" >
                {% if listeAccesRapide | length > 0 %}
                <div id="acces-rapide">
                    <h2 class="border-bottom">{{ 'Mes Accès rapides' | trad }}</h2>
                    <div class="scroll_favoris">
                        {% for AccesRapide in listeAccesRapide %}
                            {% if AccesRapide.PATH_PARAMS%}
                                <a href="{{ path(AccesRapide.PATH_FAV, AccesRapide.PATH_PARAMS) }}" class="glyphicon glyphicon-triangle-right">
                            {% else %}
                                <a href="{{ path(AccesRapide.PATH_FAV) }}" class="glyphicon glyphicon-triangle-right">
                            {% endif %}
                                    <span style='font-family:"Segoe UI", Helvetica, Arial, sans-serif;'>{{ AccesRapide.TITRE_FAV }}</span>
                                </a>
                        {% endfor %}
                    </div>
                </div>
                {% endif %}
                
                {% include '@index/_favoris.twig' %}
            </div>
            <div class="col-lg-7 col-md-7 col-sm-7 col-xs-7">
                <h2 class="border-bottom">{{ 'Mes Actualités' | trad }}</h2>
                <iframe name="I2" width="100%" height="665" align="left" id="I2" src="{{ actu.URL_PAGE }}" border="0" frameborder="0" scrolling="yes" >&nbsp;</iframe>
            </div>
        </div>
    </div>
    

{% endblock %}