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
prefix="libreavous"
categorie="squelette"
version="0.5.1"
version="0.5.2"
schema="0.1.6"
etat="dev"
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>]
<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>

View File

@ -91,7 +91,8 @@
<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})]

View File

@ -42,14 +42,15 @@
</div>
</B_s>
[<div class="emission-Programme #EDIT{chapo}">(#CHAPO)</div>]
[<div class="emission-programme #EDIT{chapo}">(#CHAPO)</div>]
<//B_s>
<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)].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="(#PODCAST_TRANSCRIPTION)" class="btn taille80 blanc">Transciption</a>]
</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 @@
<B_emissions><div class="liste articles emissions emissions_precedentes">#ANCRE_PAGINATION
<h2><:libreavous:emissions_precedentes:></h2>
<ul>
<BOUCLE_emissions(ARTICLES){id_rubrique}{!par date}{date < #ENV{date}}{1,n}{pagination 10}>
<li>
<INCLURE{fond=inclure/resume/emission,id_article} />
</li>
</BOUCLE_emissions>
</ul>
[<nav class="pagination">(#PAGINATION{page})</nav>]
</div></B_emissions>
<BOUCLE_emissions(RUBRIQUES){composition=emissions}><B_e><div class="liste articles emissions emissions_precedentes">#ANCRE_PAGINATION
<h2><:libreavous:emissions_precedentes:></h2>
<ul>
<BOUCLE_e(ARTICLES){id_rubrique}{!par date}{date < #ENV{date}}{1,#ENV{nb,10000}}{pagination #ENV{parpage,10}}>
<li><INCLURE{fond=inclure/resume/emission,id_article} /></li>
</BOUCLE_e>
</ul>
[<nav class="pagination">(#PAGINATION{page})</nav>]
</div></B_e>
</BOUCLE_emissions>

View File

@ -16,6 +16,10 @@
</h1>
</BOUCLE_sl>
</B_sl>
<h1><span class="#EDIT{titre} article__titre">[(#TITRE|libreavous_supp_numero)]</span></h1>
<//B_sl>
<div class="postmeta">
#MODELE{article_traductions}
@ -43,15 +47,15 @@
</div>
</B_s>
[<div class="emission-Programme #EDIT{chapo}">(#CHAPO)</div>]
[<div class="emission-programme #EDIT{chapo}">(#CHAPO)</div>]
<//B_s>
</div>
[(#PODCAST_CODE|oui)
<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)].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>
</BOUCLE_e>

View File

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