nettoyage liste émissions

This commit is contained in:
chankalan 2021-09-08 11:29:22 +02:00
parent 5f20997079
commit ba9fbf6215
8 changed files with 50 additions and 35 deletions

View File

@ -1,7 +1,7 @@
<paquet <paquet
prefix="libreavous" prefix="libreavous"
categorie="squelette" categorie="squelette"
version="0.5.1" version="0.5.2"
schema="0.1.6" schema="0.1.6"
etat="dev" etat="dev"
compatibilite="[3.2.8;4.0.*]" compatibilite="[3.2.8;4.0.*]"

View File

@ -4,6 +4,8 @@
[<div class="#EDIT{texte} texte surlignable">(#TEXTE|adaptive_images{#CONST{_CONTENT_WIDTH}})</div>] [<div class="#EDIT{texte} texte surlignable">(#TEXTE|adaptive_images{#CONST{_CONTENT_WIDTH}})</div>]
<INCLURE{fond=inclure/liste/emissions-precedentes,ajax,env} /> <INCLURE{fond=inclure/derniere_emission} />
<INCLURE{fond=inclure/liste/emissions-precedentes,ajax,env,debutliste=10} />
</BOUCLE_principale> </BOUCLE_principale>

View File

@ -91,7 +91,8 @@
<INCLURE{fond=inclure/derniere_emission} /> <INCLURE{fond=inclure/derniere_emission} />
<INCLURE{fond=inclure/emissions_precedentes,nb=6} /> <INCLURE{fond=inclure/liste/emissions-precedentes,ajax,env,nb=6} />
[(#MODELE{bouton,lienobjet=rubrique,lienidobjet=1,class=center taille130,texte=Toutes les émissions})] [(#MODELE{bouton,lienobjet=rubrique,lienidobjet=1,class=center taille130,texte=Toutes les émissions})]

View File

@ -42,14 +42,15 @@
</div> </div>
</B_s> </B_s>
[<div class="emission-Programme #EDIT{chapo}">(#CHAPO)</div>] [<div class="emission-programme #EDIT{chapo}">(#CHAPO)</div>]
<//B_s> <//B_s>
<p class="flex"> <p class="flex">
[(#PODCAST_CODE|oui)
<a href="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/[(#PODCAST_CODE)]/libre-a-vous-[(#PODCAST_CODE)].ogg" class="btn blanc ogg podcast taille130" title="[(#PODCAST_OGG|taille_en_octets)]"><small><:libreavous:emission_integrale:></small><br /><:libreavous:podcast:> <:libreavous:ogg:></a> <a href="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/[(#PODCAST_CODE)]/libre-a-vous-[(#PODCAST_CODE)].ogg" class="btn blanc ogg podcast taille130" title="[(#PODCAST_OGG|taille_en_octets)]"><small><:libreavous:emission_integrale:></small><br /><:libreavous:podcast:> <:libreavous:ogg:></a>
<a href="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/[(#PODCAST_CODE)]/libre-a-vous-[(#PODCAST_CODE)].mp3" class="btn blanc mp3 podcast taille130" title="[(#PODCAST_MP3|taille_en_octets)]"><small><:libreavous:emission_integrale:></small><br /><:libreavous:podcast:> <:libreavous:mp3:></a> <a href="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/[(#PODCAST_CODE)]/libre-a-vous-[(#PODCAST_CODE)].mp3" class="btn blanc mp3 podcast taille130" title="[(#PODCAST_MP3|taille_en_octets)]"><small><:libreavous:emission_integrale:></small><br /><:libreavous:podcast:> <:libreavous:mp3:></a>
]
<a href="#URL_ARTICLE" class="btn taille80 blanc"><:libreavous:page_de_l_emission:></a> <a href="#URL_ARTICLE" class="btn taille80 blanc"><:libreavous:page_de_l_emission:></a>
[<a href="(#PODCAST_TRANSCRIPTION)" class="btn taille80 blanc">Transciption</a>] [<a href="(#PODCAST_TRANSCRIPTION)" class="btn taille80 blanc">Transciption</a>]
</p> </p>

View File

@ -1,12 +0,0 @@
<BOUCLE_emissions(RUBRIQUES){composition=emissions}>
<B_e><div class="liste articles emissions emissions_precedentes">
<h2><:libreavous:emissions_precedentes:></h2>
<ul>
<BOUCLE_e(ARTICLES){id_rubrique}{!par date}{date < #ENV{date}}{1,#ENV{nb,n}}>
<li>
<INCLURE{fond=inclure/resume/emission,id_article} />
</li>
</BOUCLE_e>
</ul>
</div></B_e>
</BOUCLE_emissions>

View File

@ -1,12 +1,10 @@
<BOUCLE_emissions(RUBRIQUES){composition=emissions}><B_e><div class="liste articles emissions emissions_precedentes">#ANCRE_PAGINATION
<B_emissions><div class="liste articles emissions emissions_precedentes">#ANCRE_PAGINATION
<h2><:libreavous:emissions_precedentes:></h2> <h2><:libreavous:emissions_precedentes:></h2>
<ul> <ul>
<BOUCLE_emissions(ARTICLES){id_rubrique}{!par date}{date < #ENV{date}}{1,n}{pagination 10}> <BOUCLE_e(ARTICLES){id_rubrique}{!par date}{date < #ENV{date}}{1,#ENV{nb,10000}}{pagination #ENV{parpage,10}}>
<li> <li><INCLURE{fond=inclure/resume/emission,id_article} /></li>
<INCLURE{fond=inclure/resume/emission,id_article} /> </BOUCLE_e>
</li>
</BOUCLE_emissions>
</ul> </ul>
[<nav class="pagination">(#PAGINATION{page})</nav>] [<nav class="pagination">(#PAGINATION{page})</nav>]
</div></B_emissions> </div></B_e>
</BOUCLE_emissions>

View File

@ -17,6 +17,10 @@
</BOUCLE_sl> </BOUCLE_sl>
</B_sl> </B_sl>
<h1><span class="#EDIT{titre} article__titre">[(#TITRE|libreavous_supp_numero)]</span></h1>
<//B_sl>
<div class="postmeta"> <div class="postmeta">
#MODELE{article_traductions} #MODELE{article_traductions}
<BOUCLE_groupes(GROUPES_MOTS){par titre}> <BOUCLE_groupes(GROUPES_MOTS){par titre}>
@ -43,15 +47,15 @@
</div> </div>
</B_s> </B_s>
[<div class="emission-Programme #EDIT{chapo}">(#CHAPO)</div>] [<div class="emission-programme #EDIT{chapo}">(#CHAPO)</div>]
<//B_s> <//B_s>
</div> </div>
[(#PODCAST_CODE|oui)
<ul class="telecharger"> <ul class="telecharger">
<li><a href="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/[(#PODCAST_CODE)]/libre-a-vous-[(#PODCAST_CODE)].ogg" class="btn blanc ogg podcast" title="[(#PODCAST_OGG|taille_en_octets)]"><small><:libreavous:emission_integrale:></small><br /><:libreavous:podcast:> <:libreavous:ogg:></a></li> <li><a href="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/[(#PODCAST_CODE)]/libre-a-vous-[(#PODCAST_CODE)].ogg" class="btn blanc ogg podcast" title="[(#PODCAST_OGG|taille_en_octets)]"><small><:libreavous:emission_integrale:></small><br /><:libreavous:podcast:> <:libreavous:ogg:></a></li>
<li><a href="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/[(#PODCAST_CODE)]/libre-a-vous-[(#PODCAST_CODE)].mp3" class="btn blanc mp3 podcast" title="[(#PODCAST_MP3|taille_en_octets)]"><small><:libreavous:emission_integrale:></small><br /><:libreavous:podcast:> <:libreavous:mp3:></a></li> <li><a href="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/[(#PODCAST_CODE)]/libre-a-vous-[(#PODCAST_CODE)].mp3" class="btn blanc mp3 podcast" title="[(#PODCAST_MP3|taille_en_octets)]"><small><:libreavous:emission_integrale:></small><br /><:libreavous:podcast:> <:libreavous:mp3:></a></li>
</ul> </ul>]
</article> </article>
</BOUCLE_e> </BOUCLE_e>

View File

@ -453,6 +453,9 @@ h2 {
font-size:1.2rem; font-size:1.2rem;
} }
} }
.derniere_emission & {
margin:0 -($spacer*4);
}
} }
@ -555,7 +558,7 @@ div.rating-cancel a {
font-size:1.2rem; font-size:1.2rem;
} }
p.flex { p.flex {
margin-bottom:1rem; margin:1rem 0;
padding-right:2rem; padding-right:2rem;
align-items:center; align-items:center;
.podcast { .podcast {
@ -622,6 +625,18 @@ div.rating-cancel a {
margin-left:-$spacer; margin-left:-$spacer;
} }
} }
.pagination .pagination-items a, .pagination .pagination-items span, .pagination .lien_pagination, .pagination .lien_pagination span {
color:white;
&.on, &:hover {
background:transparent !important;
color:$couleurPrincipaleOn !important;
color:$couleurPrincipale;
}
}
.sujet_autre {
margin: $spacer -($spacer) -($spacer);
padding:$spacer;
}
} }
.liste.emissions.chroniques { .liste.emissions.chroniques {
> ul > li { > ul > li {
@ -631,6 +646,7 @@ div.rating-cancel a {
.emission-resume.article-resume { .emission-resume.article-resume {
align-items:start; align-items:start;
} }
} }
.prochaine_emission { .prochaine_emission {
.article__date { .article__date {
@ -647,7 +663,7 @@ div.rating-cancel a {
color:$couleurSecondaire; color:$couleurSecondaire;
} }
.pagination .pagination-items a, .pagination .lien_pagination a /* spip 3 et 4 */ { .pagination .pagination-items a, .pagination .pagination-items span, .pagination .lien_pagination a /* spip 3 et 4 */ {
color:white; color:white;
.composition_blog & { .composition_blog & {
color:$couleurPrincipale; color:$couleurPrincipale;
@ -655,6 +671,7 @@ div.rating-cancel a {
} }
/*! Plusieurs typographies sont finalement trop grosses, j'ai réduit. */ /*! Plusieurs typographies sont finalement trop grosses, j'ai réduit. */
h1, .h1 { h1, .h1 {
font-size: 2.6em; font-size: 2.6em;
@ -754,7 +771,11 @@ a.spip_out {
border-bottom-width:1px; border-bottom-width:1px;
} }
} }
.header_initiatives {
.inclure_blocs {
display:none;
}
}
@media (max-width:940px) { @media (max-width:940px) {
.page_header > .page_container { .page_header > .page_container {