amélioration blog, pagination et liste

This commit is contained in:
chankalan 2021-09-06 22:06:58 +02:00
parent 932d669180
commit c425d90991
3 changed files with 152 additions and 133 deletions

View File

@ -87,6 +87,7 @@ function libreavous_declarer_champs_extras($champs = array()) {
'rows' => '10',
'cols' => '40',
'sql' => 'text DEFAULT \'\' NOT NULL',
'inserer_barre' => 'edition',
),
'verifier' => array(
),
@ -100,6 +101,7 @@ function libreavous_declarer_champs_extras($champs = array()) {
'rows' => '20',
'cols' => '40',
'sql' => 'text DEFAULT \'\' NOT NULL',
'inserer_barre' => 'edition',
),
'verifier' => array(
),
@ -126,6 +128,7 @@ function libreavous_declarer_champs_extras($champs = array()) {
'rows' => '5',
'cols' => '40',
'sql' => 'text DEFAULT \'\' NOT NULL',
'inserer_barre' => 'edition',
),
'verifier' => array(
),
@ -135,7 +138,7 @@ function libreavous_declarer_champs_extras($champs = array()) {
'saisie' => 'input',
'options' => array(
'nom' => 'drupal_guid',
'label' => 'GUID Drupral',
'label' => 'GUID Drupal',
'type' => 'text',
'size' => '40',
'autocomplete' => 'defaut',

View File

@ -91,11 +91,14 @@
</B_photos>
<div class="fb detail_emission">
[(#PODCAST_PERSONNES|oui)<a href="#personnesparticipantes" class="btn taille70 blanc"><:libreavous:personnes_participantes:></a>]
<p>[(#PODCAST_PERSONNES|oui)<a href="#personnesparticipantes" class="btn taille70 blanc"><:libreavous:personnes_participantes:></a>]
[(#PODCAST_REFERENCES|ou{#GET{references}|=={oui}}|oui)<a href="#references" class="btn taille70 blanc"><:libreavous:references:></a>]
[(#PODCAST_TRANSCRIPTION|oui)<a href="#transcription" class="btn taille70 blanc"><:libreavous:transcription:></a>]
[(#PODCAST_MUSIQUE|oui)<a href="#pausesmusicales" class="btn taille70 blanc"><:libreavous:pauses_musicales:></a>]
[(#CONFIG{libreavous/licence}|oui)<a href="#licence" class="btn taille70 blanc"><:libreavous:licence:></a>]
</p>
[<div class="texte #EDIT{texte}">(#TEXTE)</div>]
[<h2 id="personnesparticipantes">Personnes participantes</h2>
<div class="#EDIT{podcast_personnes}">(#PODCAST_PERSONNES|propre)</div>]

View File

@ -218,6 +218,14 @@ span.btn {
position:absolute;
margin-top:-2.6rem;
}
.article_blog & {
margin-top:0;
padding:$spacer ($spacer*2);
background-color:white;
.pagination .pagination-items a, .pagination .lien_pagination a {
color:$couleurPrincipale;
}
}
}
}
@ -330,6 +338,8 @@ h2 {
}
}
.liste.articles.blog {
padding:$spacer ($spacer*2);
background-color:white;
.liste-items {
list-style:none;
margin:0 0 ($spacer*2);
@ -634,8 +644,11 @@ div.rating-cancel a {
color:$couleurSecondaire;
}
.pagination .pagination-items a {
.pagination .pagination-items a, .pagination .lien_pagination a /* spip 3 et 4 */ {
color:white;
.composition_blog & {
color:$couleurPrincipale;
}
}