valeur sql drupal_guid + une page minimum pour chaque chapitre au cas

où + fix page plan + bkg logo blanc en attendant la solution
This commit is contained in:
chankalan 2021-10-18 15:44:10 +02:00
parent d4504ee224
commit c3ad866665
3 changed files with 26 additions and 2 deletions

View File

@ -258,7 +258,7 @@ function libreavous_declarer_tables_objets_sql($tables) {
'mp3' => 'varchar(255) NOT NULL DEFAULT ""',
'ogg' => 'varchar(255) NOT NULL DEFAULT ""',
'references_sujet' => 'text NOT NULL DEFAULT ""',
'drupal_guid' => 'varchar(255) NOT NULL DEFAULT ""',
'drupal_guid' => 'text NOT NULL DEFAULT ""',
'drupal_pubdate' => 'varchar(255) NOT NULL DEFAULT ""',
'description_rss' => 'text NOT NULL DEFAULT ""',
'maj' => 'timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP'

View File

@ -0,0 +1,20 @@
<BOUCLE_chapitre(CHAPITRES){id_chapitre}>
<article>
<header class="cartouche">
<h1>#TITRE</h1>
</header>
<div class="main">
<p>Dans <BOUCLE_article(ARTICLES){id_article}><a href="#URL_ARTICLE">#[(#SURTITRE)] - [(#TITRE|libreavous_supp_numero)]</a></BOUCLE_article></p>
[<h3 class="spip">Références</h3>
(#REFERENCES_SUJET|propre)]
<h3 class="spip">Fichiers</h3>
<ul>
<li><a href="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/[(#CODE_PODCAST)]/libre-a-vous-[(#CODE_PODCAST)]-[(#CODE_FICHIER)].ogg">libre-a-vous-[(#CODE_PODCAST)]-[(#CODE_FICHIER)].ogg</a> ([(#OGG|taille_en_octets)] Mio)</li>
<li><a href="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/[(#CODE_PODCAST)]/libre-a-vous-[(#CODE_PODCAST)]-[(#CODE_FICHIER)].mp3">libre-a-vous-[(#CODE_PODCAST)]-[(#CODE_FICHIER)].mp3</a> ([(#MP3|taille_en_octets)] Mio)</li>
</ul>
</div>
</article>
</BOUCLE_chapitre>

View File

@ -35,9 +35,13 @@ span.btn {
padding:0;
> .page_container {
background-color:$couleurSecondaire;
@include flex();
align-items:stretch;
}
.header_title {
min-width: 150px;
background:white;
}
.header_menu {
flex-grow: 2;
@ -1028,7 +1032,7 @@ a:hover .fab, a:hover .fas {
}
.page_recherche {
.page_recherche, .page_plan {
.page_content .formulaire_spip.formulaire_recherche {
float:right;
padding-left:0 !important;