#include "/commons_site.html"/>
<#include "dashboard_notification_util.html"/>
<@cRow class='mt-l'>
<@cCol>
<@cTitle level=2>Mes demandes@cTitle>
<@cRow class='mt-l'>
<@cCol>
<@cFormRow>
<@cCol cols='12 col-md-2'>
<@cInput name='date' type='date' id='date'/>
@cCol>
<@cCol cols='12 col-md-3'>
<@cSelect id='cat' name='cat'>
<@cOption label="Rubriques (toutes)" value=""/>
<#if categoryList??>
<#list categoryList as key, value>
<@cOption value=key label=value />
#list>
#if>
@cSelect>
@cCol>
<@cCol cols='12 col-md-3'>
<@cInput name='search' id='search' placeholder='Rechercher une demande'/>
@cCol>
<@cBtn id="searchButton" label="Rechercher" type="button" disabled=true/>
<@cBtn id="resetButton" label="Réinitialiser filtres" type="button" href='jsp/site/Portal.jsp?page=mydashboard&panel=toutes_mes_demandes#demands' params="style='display: none;'"/>
@cFormRow>
<@cTitle level=3 class='main-info-color d-block d-md-flex justify-content-between align-items-center'>
<@cInline class='d-flex'>
<@cInline type='span' class='ml-3'>Mes demandes en cours@cInline>
@cInline>
<@cLink class='d-none d-sm-block ml-2 fs-sm main-info-color' id='toutes_mes_demandes_inprogress' href='jsp/site/Portal.jsp?page=mydashboard&panel=toutes_mes_demandes#demands' label='Voir toutes mes demandes' />
@cTitle>
<#if list_demands?? && list_demands?has_content>
<@cBlock class='form'>
<@tabDemands listDemandDashboard=list_demands class='demand-inp'/>
@cBlock>
<@cPagination paginator=paginator fragment='demands' />
<#else>
<@cAlert title='Vous n\'avez fait aucune demande.' />
#if>
@cCol>
@cRow>
@cCol>
@cRow>