Skip to content
Extraits de code Groupes Projets
Valider ee2740b1 rédigé par real3t@gmail.com's avatar real3t@gmail.com
Parcourir les fichiers

[SoyezCréateurs] La page antichrono_grid peut être vraiment lourde à calculer...

[SoyezCréateurs] La page antichrono_grid peut être vraiment lourde à calculer : on l'affiche seulement année par année, en ajax avec le sommaire sous forme d'onglet
parent 44768c42
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -794,6 +794,7 @@ noisettes/navigation/ads_search.html -text ...@@ -794,6 +794,7 @@ noisettes/navigation/ads_search.html -text
noisettes/navigation/frmrechercheparmots.html -text noisettes/navigation/frmrechercheparmots.html -text
noisettes/navigation/inc_frmabonnement_mailsubscriber.html -text noisettes/navigation/inc_frmabonnement_mailsubscriber.html -text
noisettes/navigation/nuagedemotcle.html -text noisettes/navigation/nuagedemotcle.html -text
noisettes/plan/inc_antichrono_grid.html -text
noisettes/plan/inc_plan_articles_liste.html -text noisettes/plan/inc_plan_articles_liste.html -text
noisettes/plan/plan.html -text noisettes/plan/plan.html -text
noisettes/plan/plan_branche.html -text noisettes/plan/plan_branche.html -text
......
...@@ -84,76 +84,12 @@ ...@@ -84,76 +84,12 @@
</BOUCLE_AnneeSites> </BOUCLE_AnneeSites>
</B_AnneeSites> </B_AnneeSites>
<BOUCLE_Min2anness(DATA) <INCLURE{
{source table,#GET{listeliens}} fond=noisettes/plan/inc_antichrono_grid,
{!par date} listeliens=#GET{listeliens},
{fusion year} env,
{1,1} ajax
> </BOUCLE_Min2anness> } />
<div id='sommaire'><h2><:soyezcreateurs:sommaire:></h2>
<B_Sommaire>
<ul>
<BOUCLE_Sommaire(DATA)
{source table,#GET{listeliens}}
{!par date}
{fusion year}
>
<li><a href="#annee_#YEAR">#YEAR</a></li>
</BOUCLE_Sommaire>
</ul>
</B_Sommaire>
</div>
</B_Min2anness>
<B_AnneeObjet>
<div class="masonry petitestuiles">
<BOUCLE_AnneeObjet(DATA)
{source table,#GET{listeliens}}
{!par date}
{fusion year}
>
<B_ListeMois>
<div id="annee_#YEAR" class="grid-item masonry-brick">
<div class="content-actus alaune year">
[<img src="(#GET{logoyear}|image_focus{308,#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}}|extraire_attribut{src})" alt="" width="308" height="#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}" />]
<div class="h2"><span class="titre-actus">[(#YEAR)]</span></div>
</div>
</div>
<BOUCLE_ListeMois(DATA)
{liste 12,11,10,9,8,7,6,5,4,3,2,1}
>
<B_ObjetsDuMois>
<div class="grid-item masonry-brick">
<div class="content-actus alaune month">
[<img src="(#GET{logomonth}|image_focus{308,#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}}|extraire_attribut{src})" alt="" width="308" height="#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}" />]
<div class="h2"><span class="titre-actus">[(#YEAR|concat{-,#_ListeMois:VALEUR#VAL,-01}|nom_mois|ucfirst)]</span></div>
</div>
</div>
<BOUCLE_ObjetsDuMois(DATA)
{source table,#GET{listeliens}}
{year=#_AnneeObjet:YEAR}
{month=#_ListeMois:VALEUR}
{!par date}
>
<div class="grid-item masonry-brick[ (#CLASS)]">
<div class="content-actus alaune[ (#COULEURRUBRIQUE)]">
<a href="#URL_ARTICLE"[ title="(#DESCRIPTIF|attribut_html)"]>
[<img src="(#LOGO|image_focus{308,#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}}|extraire_attribut{src})" alt="" width="308" height="#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}" />]
<div class="h2"><span class="titre-actus">#TITRE[ <span class="secondary-information">((#TYPE))</span>]</span>
<span class="icon icon-arrow-right2 icon-lg">&#10140;</span></div>
</a>
</div>
</div>
</BOUCLE_ObjetsDuMois>
</B_ObjetsDuMois>
</BOUCLE_ListeMois>
</B_ListeMois>
</BOUCLE_AnneeObjet>
</div>
</B_AnneeObjet>
</div> </div>
</main> </main>
......
#SET{currentyear,#DATE|annee}
<BOUCLE_Min2anness(DATA)
{source table,#ENV{listeliens}}
{!par date}
{fusion year}
{1,1}
> </BOUCLE_Min2anness>
<B_Sommaire>
<div class="onglets">
<ul id='liste_tabs'>
<BOUCLE_Sommaire(DATA)
{source table,#ENV{listeliens}}
{!par date}
{fusion year}
>
<li>[(#ENV{year,#GET{currentyear}}|=={#YEAR}|?{<strong>,<a href="[(#SELF|parametre_url{'year',[(#YEAR|!={#GET{currentyear}}|?{#YEAR,''})]})]" class="ajax">})]#YEAR[(#ENV{year}|=={#YEAR}|?{</strong>,</a>})]</li>
</BOUCLE_Sommaire>
</ul>
</div>
</B_Sommaire>
</B_Min2anness>
<B_AnneeObjet>
<div class="masonry petitestuiles">
<BOUCLE_AnneeObjet(DATA)
{source table,#ENV{listeliens}}
{year=#ENV{year,#GET{currentyear}}}
{!par date}
{fusion year}
>
<B_ListeMois>
<div id="annee_#YEAR" class="grid-item masonry-brick">
<div class="content-actus alaune year">
[<img src="(#GET{logoyear}|image_focus{308,#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}}|extraire_attribut{src})" alt="" width="308" height="#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}" />]
<div class="h2"><span class="titre-actus">[(#YEAR)]</span></div>
</div>
</div>
<BOUCLE_ListeMois(DATA)
{liste 12,11,10,9,8,7,6,5,4,3,2,1}
>
<B_ObjetsDuMois>
<div class="grid-item masonry-brick">
<div class="content-actus alaune month">
[<img src="(#GET{logomonth}|image_focus{308,#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}}|extraire_attribut{src})" alt="" width="308" height="#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}" />]
<div class="h2"><span class="titre-actus">[(#YEAR|concat{-,#_ListeMois:VALEUR#VAL,-01}|nom_mois|ucfirst)]</span></div>
</div>
</div>
<BOUCLE_ObjetsDuMois(DATA)
{source table,#ENV{listeliens}}
{year=#_AnneeObjet:YEAR}
{month=#_ListeMois:VALEUR}
{!par date}
>
<div class="grid-item masonry-brick[ (#CLASS)]">
<div class="content-actus alaune[ (#COULEURRUBRIQUE)]">
<a href="#URL_ARTICLE"[ title="(#DESCRIPTIF|attribut_html)"]>
[<img src="(#LOGO|image_focus{308,#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}}|extraire_attribut{src})" alt="" width="308" height="#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}" />]
<div class="h2"><span class="titre-actus">#TITRE[ <span class="secondary-information">((#TYPE))</span>]</span>
<span class="icon icon-arrow-right2 icon-lg">&#10140;</span></div>
</a>
</div>
</div>
</BOUCLE_ObjetsDuMois>
</B_ObjetsDuMois>
</BOUCLE_ListeMois>
</B_ListeMois>
</BOUCLE_AnneeObjet>
</div>
</B_AnneeObjet>
\ No newline at end of file
<paquet <paquet
prefix="soyezcreateurs" prefix="soyezcreateurs"
categorie="squelette" categorie="squelette"
version="5.0.52" version="5.0.53"
etat="stable" etat="stable"
compatibilite="[3.1.8;3.2.*]" compatibilite="[3.1.8;3.2.*]"
logo="img_pack/soyezcreateurs_48.png" logo="img_pack/soyezcreateurs_48.png"
......
...@@ -1074,9 +1074,9 @@ table.programmation caption { text-align: left; } ...@@ -1074,9 +1074,9 @@ table.programmation caption { text-align: left; }
/* Onglets de la page de téléchargement */ /* Onglets de la page de téléchargement */
.onglets ul { border-bottom:1px solid [#(#GET{c_cadrestexte_bk}|couleur_inverserluminosite{30})]; padding-bottom:5px; text-align:right; } .onglets ul { border-bottom:1px solid [#(#GET{c_cadrestexte_bk}|couleur_inverserluminosite{30})]; text-align:right; margin-left: 0!important; margin-right: 0!important;}
.onglets li { display: inline; margin:0 5px;} .onglets li { display: inline; margin:0 5px;}
.onglets li a, .onglets li strong { border:1px solid [#(#GET{c_cadrestexte_bk}|couleur_inverserluminosite{30})]; padding:5px 10px; } .onglets li a, .onglets li strong { border:1px solid [#(#GET{c_cadrestexte_bk}|couleur_inverserluminosite{30})]; padding:5px 10px; display: inline-block; position: relative; bottom: -1px; }
.onglets li strong { background: #GET{c_container_bk}; border-bottom-color: #GET{c_container_bk};} .onglets li strong { background: #GET{c_container_bk}; border-bottom-color: #GET{c_container_bk};}
#telecharger .highlight_anchor { #telecharger .highlight_anchor {
background: transparent; background: transparent;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter