avance sur transcriptions
This commit is contained in:
parent
0a761b7103
commit
d6de0befc1
@ -17,7 +17,7 @@
|
||||
<div class="page_extra">
|
||||
<INCLURE{fond=extra/#ENV{type-page},env}>
|
||||
</div>
|
||||
</div>[(#COMPOSITION|=={dossier}|et{#ENV{type-page}|=={article}}|non)
|
||||
</div>[(#COMPOSITION|=={transcriptions}|non)
|
||||
<aside class="page_aside">
|
||||
<INCLURE{fond=aside/#ENV{type-page},env} />
|
||||
</aside><!--.aside-->]
|
||||
|
58
squelettes/content/article-transcription.html
Normal file
58
squelettes/content/article-transcription.html
Normal file
@ -0,0 +1,58 @@
|
||||
<BOUCLE_principale(ARTICLES){id_article}>
|
||||
|
||||
<article>
|
||||
|
||||
<header class="cartouche">
|
||||
|
||||
[<p class="#EDIT{surtitre} surtitre">(#SURTITRE)</p>]
|
||||
<h1><span class="#EDIT{titre} article__titre">#TITRE</span>[
|
||||
<small class="#EDIT{soustitre} soustitre">(#SOUSTITRE)</small>
|
||||
]</h1>
|
||||
|
||||
<p class="article__infos">
|
||||
[<span class="article__date">Publié le (#DATE|nom_jour) [(#DATE|affdate)] #SET{heure,#DATE|heures_minutes} [à (#GET{heure}|=={00h00min}|non)#GET{heure}]</span>]
|
||||
[(#CONFIG{baz_april/afficherauteurs}|=={on}|oui)[<span class="article__auteurs"><:par_auteur:> (#LESAUTEURS)</span>]]
|
||||
</p>
|
||||
|
||||
<div class="postmeta">
|
||||
#MODELE{article_traductions}
|
||||
<BOUCLE_groupes(GROUPES_MOTS){par titre}>
|
||||
<B_tags>
|
||||
<p class="mots">
|
||||
<strong>#TITRE : </strong><BOUCLE_tags(MOTS){id_article}{id_groupe}{', '}>
|
||||
<a href="#URL_MOT">#TITRE</a>
|
||||
</BOUCLE_tags>
|
||||
</p>
|
||||
</B_tags>
|
||||
</BOUCLE_groupes>
|
||||
</div>
|
||||
|
||||
</header>
|
||||
|
||||
<div class="main">
|
||||
|
||||
[<div class="#EDIT{chapo} article__chapo">(#CHAPO)</div>]
|
||||
|
||||
[<div class="#EDIT{texte} article__texte">(#TEXTE|image_reduire{#CONST{_CONTENT_WIDTH},0})</div>]
|
||||
|
||||
</div>
|
||||
|
||||
[<aside>
|
||||
(#INCLURE{fond=inclure/documents,id_article})
|
||||
</aside>]
|
||||
|
||||
<footer>
|
||||
|
||||
[<p class="#EDIT{hyperlien} article__hyperlien"><:voir_en_ligne:/> : <a href="(#URL_SITE)" class="spip_out">[(#NOM_SITE|sinon{[(#URL_SITE|couper{80})]})]</a></p>]
|
||||
|
||||
[<div class="ps">
|
||||
<div class="#EDIT{ps} article__ps">(#PS|image_reduire{#CONST{_CONTENT_WIDTH},0})</div>
|
||||
</div>]
|
||||
|
||||
[<div class="article__notes">(#NOTES)</div>]
|
||||
|
||||
</footer>
|
||||
|
||||
</article>
|
||||
|
||||
</BOUCLE_principale>
|
58
squelettes/content/article-transcriptions.html
Normal file
58
squelettes/content/article-transcriptions.html
Normal file
@ -0,0 +1,58 @@
|
||||
<BOUCLE_principale(ARTICLES){id_article}>
|
||||
|
||||
<article>
|
||||
|
||||
<header class="cartouche">
|
||||
|
||||
[<p class="#EDIT{surtitre} surtitre">(#SURTITRE)</p>]
|
||||
<h1><span class="#EDIT{titre} article__titre">#TITRE</span>[
|
||||
<small class="#EDIT{soustitre} soustitre">(#SOUSTITRE)</small>
|
||||
]</h1>
|
||||
|
||||
<p class="article__infos">
|
||||
[<span class="article__date">Publié le (#DATE|nom_jour) [(#DATE|affdate)] #SET{heure,#DATE|heures_minutes} [à (#GET{heure}|=={00h00min}|non)#GET{heure}]</span>]
|
||||
[(#CONFIG{baz_april/afficherauteurs}|=={on}|oui)[<span class="article__auteurs"><:par_auteur:> (#LESAUTEURS)</span>]]
|
||||
</p>
|
||||
|
||||
<div class="postmeta">
|
||||
#MODELE{article_traductions}
|
||||
<BOUCLE_groupes(GROUPES_MOTS){par titre}>
|
||||
<B_tags>
|
||||
<p class="mots">
|
||||
<strong>#TITRE : </strong><BOUCLE_tags(MOTS){id_article}{id_groupe}{', '}>
|
||||
<a href="#URL_MOT">#TITRE</a>
|
||||
</BOUCLE_tags>
|
||||
</p>
|
||||
</B_tags>
|
||||
</BOUCLE_groupes>
|
||||
</div>
|
||||
|
||||
</header>
|
||||
|
||||
<div class="main">
|
||||
|
||||
[<div class="#EDIT{chapo} article__chapo">(#CHAPO)</div>]
|
||||
|
||||
[<div class="#EDIT{texte} article__texte">(#TEXTE|image_reduire{#CONST{_CONTENT_WIDTH},0})</div>]
|
||||
|
||||
</div>
|
||||
|
||||
[<aside>
|
||||
(#INCLURE{fond=inclure/documents,id_article})
|
||||
</aside>]
|
||||
|
||||
<footer>
|
||||
|
||||
[<p class="#EDIT{hyperlien} article__hyperlien"><:voir_en_ligne:/> : <a href="(#URL_SITE)" class="spip_out">[(#NOM_SITE|sinon{[(#URL_SITE|couper{80})]})]</a></p>]
|
||||
|
||||
[<div class="ps">
|
||||
<div class="#EDIT{ps} article__ps">(#PS|image_reduire{#CONST{_CONTENT_WIDTH},0})</div>
|
||||
</div>]
|
||||
|
||||
[<div class="article__notes">(#NOTES)</div>]
|
||||
|
||||
</footer>
|
||||
|
||||
</article>
|
||||
|
||||
</BOUCLE_principale>
|
3
squelettes/content/rubrique-transcriptions.html
Normal file
3
squelettes/content/rubrique-transcriptions.html
Normal file
@ -0,0 +1,3 @@
|
||||
<BOUCLE_content(RUBRIQUES){id_rubrique}>
|
||||
<INCLURE{fond=content/rubrique,id_rubrique,type-page=rubrique} />
|
||||
</BOUCLE_content>
|
6
squelettes/content/rubrique-transcriptions.xml
Normal file
6
squelettes/content/rubrique-transcriptions.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<composition>
|
||||
<nom>Rubrique Transcriptions</nom>
|
||||
<description>Pour les gros dossiers de l'APRIL</description>
|
||||
<icon>images/rubrique-transcriptions.png</icon>
|
||||
<branche type="article" composition="transcriptions" />
|
||||
</composition>
|
18
squelettes/content/sommaire.html
Normal file
18
squelettes/content/sommaire.html
Normal file
@ -0,0 +1,18 @@
|
||||
<B_accueil>
|
||||
<article class="texte_accueil">
|
||||
<BOUCLE_accueil(ARTICLES){page=accueil}>
|
||||
<div class="main">
|
||||
[<div class="#EDIT{chapo} chapo surlignable">(#CHAPO|image_reduire{700,*})</div>]
|
||||
[<div class="#EDIT{texte} texte surlignable">(#TEXTE|image_reduire{700,*})</div>]
|
||||
</div>
|
||||
<footer>
|
||||
[<div class="#EDIT{ps} ps surlignable"><h2><:info_ps:></h2>(#PS|image_reduire{700,*})</div>]
|
||||
[<div class="notes"><h2><:info_notes:></h2>(#NOTES)</div>]
|
||||
</footer>
|
||||
</BOUCLE_accueil>
|
||||
</article>
|
||||
</B_accueil>
|
||||
[<div id="descriptif_site_spip" class="#EDIT{meta-descriptif_site} texte_accueil">(#DESCRIPTIF_SITE_SPIP)</div>]
|
||||
<//B_accueil>
|
||||
|
||||
<INCLURE{fond=inclure/liste/articles-resume,env,ajax,parpage=10,id_rubrique=1} />
|
16
squelettes/inclure/resume/article.html
Normal file
16
squelettes/inclure/resume/article.html
Normal file
@ -0,0 +1,16 @@
|
||||
<BOUCLE_articles(ARTICLES) {id_article}>
|
||||
<article class="article-resume[ article-resume--(#ENV{class})] block-link-parent">
|
||||
<div class="article-resume__logo">
|
||||
[(#LOGO_ARTICLE_NORMAL|sinon{#CHEMIN{images/nologo.png}}|image_reduire{#CONST{_CONTENT_WIDTH}|div{2}} )]
|
||||
</div>
|
||||
<div class="article-resume__texte">
|
||||
<h2 class="article-resume__titre"><a href="#URL_ARTICLE" class="block-link[ (#ENV{class_link})]">#TITRE</a></h2>
|
||||
<div class="article-resume__infos">
|
||||
[<span class="article-resume__date">(#DATE|nom_jour|ucfirst) [(#DATE|affdate)]</span>]
|
||||
<BOUCLE_auteurs(MOTS){type=personne·s}{id_article}{', '}>[<span class="article-auteurs">(#TITRE)</span>]</BOUCLE_auteurs>
|
||||
</div>
|
||||
<div class="article-resume__intro">
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</BOUCLE_articles>
|
@ -55,10 +55,64 @@
|
||||
// page sommaire
|
||||
.texte_accueil {
|
||||
max-width: 70%;
|
||||
font-size: 1.8rem;
|
||||
line-height: 1.35;
|
||||
font-size: 1.6rem;
|
||||
line-height: 1.5;
|
||||
margin-bottom:$spacer;
|
||||
margin-left:$spacer;
|
||||
font-family:$typo-Merriweather;
|
||||
font-weight:200;
|
||||
color:$couleurPrincipale;
|
||||
}
|
||||
|
||||
|
||||
// resume
|
||||
.article-resume {
|
||||
display:block;
|
||||
border-left:solid $couleurConnexplus ($spacer/3);
|
||||
background-color:$couleurBkgTranscription;
|
||||
padding:($spacer*3) $spacer $spacer ($spacer*1.5);
|
||||
&, a {
|
||||
color:#0a4756;
|
||||
}
|
||||
&:after {
|
||||
content:'';
|
||||
display:block;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
.article-resume__logo {
|
||||
float:right;
|
||||
margin:-($spacer*2) 0 0 ($spacer * 1.5);
|
||||
max-width:30%;
|
||||
width:auto;
|
||||
}
|
||||
.article-resume__date {
|
||||
position:absolute;
|
||||
top:$spacer;
|
||||
left:($spacer*2);
|
||||
&:before {
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.article-auteurs {
|
||||
font-size:110%;
|
||||
font-weight:700;
|
||||
}
|
||||
}
|
||||
|
||||
// composition
|
||||
.composition_transcriptions {
|
||||
.page_content {
|
||||
margin-right:0;
|
||||
article {
|
||||
padding:($spacer*2);
|
||||
background-color:$couleurBkgTranscription;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -8,3 +8,5 @@ $couleurBackgroundTexte: #fcf7f2;
|
||||
|
||||
$couleurConnex: #0099a8;
|
||||
$couleurConnexplus: #62c0c9;
|
||||
|
||||
$couleurBkgTranscription: #fdf7f2;
|
||||
|
Loading…
Reference in New Issue
Block a user