Browse Source

Ménage dans les commentaire du thème original + indentation

pull/5/head
jeanmarie 2 years ago
parent
commit
4a66f3609f
  1. 1
      body.html
  2. 19
      content/404.html
  3. 45
      content/article.html
  4. 21
      content/login.html
  5. 81
      content/plan.html
  6. 104
      content/rubrique.html
  7. 36
      content/sommaire.html
  8. 33
      content/spip_pass.html
  9. 3
      footer/dist.html
  10. 1
      inclure/accueil-articles.html
  11. 1
      inclure/accueil-rubriques.html
  12. 1
      inclure/article_pied.html
  13. 1
      source/html5up_forty.svg

1
body.html

@ -1,6 +1,5 @@
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper">
[(#REM) <!-- Entête général du site --> ]
<header id="header"[ (#ENV{type-page}|in_array{#LISTE{sommaire,rubrique}}|oui) class="alt"]>

19
content/404.html

@ -1,15 +1,14 @@
<div id="main" class="alt">
<!-- One -->
<section id="one">
<div class="inner">
<header class="major">
<h1><:pass_erreur:> 404</h1>
</header>
<div class="chapo">[(#ENV{erreur})][(#ENV{erreur}|non) <:aucun_article:>]</div>
<section id="one">
<div class="inner">
<header class="major">
<h1><:pass_erreur:> 404</h1>
</header>
<div class="chapo">[(#ENV{erreur})][(#ENV{erreur}|non) <:aucun_article:>]</div>
</div>
</section>
</div>
</section>
</div>

45
content/article.html

@ -1,30 +1,29 @@
<BOUCLE_content(ARTICLES){id_article}>
<div id="main" class="alt">
<!-- One -->
<section id="one">
<div class="inner">
<header class="major">
<h1 class="#EDIT{titre}">#TITRE</h1>
[(#CONFIG{html5up_forty/mode_accueil}|=={blog}|oui)[<p class="date_article">(#DATE|affdate_jourcourt)</p>] ]
</header>
[<span class="image main">
(#LOGO_ARTICLE_RUBRIQUE|extraire_attribut{src}
|sinon{#CHEMIN{images/visuel_defaut.jpg}}
|balise_img
|image_recadre{864:259,-,focus}
|adaptive_images{360/768/980/1200/2000})
</span>]
[<div class="#EDIT{chapo} chapo surlignable">(#CHAPO|adaptive_images{1500})</div>]
[<div class="#EDIT{texte} texte surlignable">(#TEXTE|adaptive_images{1500})</div>]
<section id="one">
<div class="inner">
<header class="major">
<h1 class="#EDIT{titre}">#TITRE</h1>
[(#CONFIG{html5up_forty/mode_accueil}|=={blog}|oui)[<p class="date_article">(#DATE|affdate_jourcourt)</p>] ]
</header>
[<span class="image main">
(#LOGO_ARTICLE_RUBRIQUE|extraire_attribut{src}
|sinon{#CHEMIN{images/visuel_defaut.jpg}}
|balise_img
|image_recadre{864:259,-,focus}
|adaptive_images{360/768/980/1200/2000})
</span>]
[<div class="#EDIT{chapo} chapo surlignable">(#CHAPO|adaptive_images{1500})</div>]
[<div class="#EDIT{texte} texte surlignable">(#TEXTE|adaptive_images{1500})</div>]
</div>
<aside class="inner">
[(#REM) Gestion du portfolio et des documents ]
[(#INCLURE{fond=inclure/portfolio,id_article,id_rubrique=#EVAL{null}})]
[(#INCLURE{fond=inclure/documents,id_article})]
</aside>
</section>
</div>
<aside class="inner">
[(#REM) Gestion du portfolio et des documents ]
[(#INCLURE{fond=inclure/portfolio,id_article,id_rubrique=#EVAL{null}})]
[(#INCLURE{fond=inclure/documents,id_article})]
</aside>
</section>
</div>
</BOUCLE_content>

21
content/login.html

@ -5,17 +5,16 @@
[(#ENV{url}|match{^#EVAL{_DIR_RESTREINT_ABS}}|?{#SET{prive,' '}})]
<div id="main" class="alt">
<!-- One -->
<section id="one">
<div class="inner">
<header class="major">
[<h1>(#GET{prive}|?{<:login_acces_prive:>,<:lien_connecter:>})</h1>]
</header>
#MENU_LANG_ECRIRE
<section id="one">
<div class="inner">
<header class="major">
[<h1>(#GET{prive}|?{<:login_acces_prive:>,<:lien_connecter:>})</h1>]
</header>
#MENU_LANG_ECRIRE
[(#FORMULAIRE_LOGIN{#ENV{url}|sinon{#URL_ECRIRE{accueil}}})]
</div>
</section>
[(#FORMULAIRE_LOGIN{#ENV{url}|sinon{#URL_ECRIRE{accueil}}})]
</div>
</section>
</div>

81
content/plan.html

@ -1,48 +1,47 @@
<div id="main" class="alt">
<!-- One -->
<section id="one">
<div class="inner">
<header class="major">
<h1><:plan_site:></h1>
</header>
<section id="one">
<div class="inner">
<header class="major">
<h1><:plan_site:></h1>
</header>
<BOUCLE_secteurs(RUBRIQUES){racine}{par titre}>
<BOUCLE_secteurs(RUBRIQUES){racine}{par titre}>
<h2 class="h2"><a href="#URL_RUBRIQUE">#TITRE</a></h2>
[(#REM) Articles et sous-rubriques ]
<B_articles_racine>
<ul class="plan">
<BOUCLE_articles_racine(ARTICLES){id_rubrique}{par titre}>
<li><a href="#URL_ARTICLE">#TITRE</a></li>
</BOUCLE_articles_racine>
</ul>
</B_articles_racine>
<B_rubriques>
<ul class="plan">
<BOUCLE_rubriques(RUBRIQUES){id_parent}{par titre}>
<li>
<strong><a href="#URL_RUBRIQUE">#TITRE</a></strong>
<B_articles>
<ul class="plan">
<BOUCLE_articles(ARTICLES){id_rubrique}{par titre}>
<li><a href="#URL_ARTICLE">#TITRE</a></li>
</BOUCLE_articles>
</ul>
</B_articles>
<BOUCLE_sous_rubriques(BOUCLE_rubriques)></BOUCLE_sous_rubriques>
</li>
</BOUCLE_rubriques>
</ul>
</B_rubriques>
</BOUCLE_secteurs>
<h2 class="h2"><a href="#URL_RUBRIQUE">#TITRE</a></h2>
[(#REM) Articles et sous-rubriques ]
<B_articles_racine>
<ul class="plan">
<BOUCLE_articles_racine(ARTICLES){id_rubrique}{par titre}>
<li><a href="#URL_ARTICLE">#TITRE</a></li>
</BOUCLE_articles_racine>
</ul>
</B_articles_racine>
<B_rubriques>
<ul class="plan">
<BOUCLE_rubriques(RUBRIQUES){id_parent}{par titre}>
<li>
<strong><a href="#URL_RUBRIQUE">#TITRE</a></strong>
<B_articles>
<ul class="plan">
<BOUCLE_articles(ARTICLES){id_rubrique}{par titre}>
<li><a href="#URL_ARTICLE">#TITRE</a></li>
</BOUCLE_articles>
</ul>
</B_articles>
<BOUCLE_sous_rubriques(BOUCLE_rubriques)></BOUCLE_sous_rubriques>
</li>
</BOUCLE_rubriques>
</ul>
</B_rubriques>
</BOUCLE_secteurs>
</div>
</section>
</div>
</section>
</div>

104
content/rubrique.html

@ -1,62 +1,56 @@
<BOUCLE_content(RUBRIQUES){id_rubrique}>
<!-- Banner -->
<!-- Note: The "styleN" class below should match that of the header element. -->
<section id="banner" class="style2">
<div class="inner">
<span class="image">
[(#LOGO_RUBRIQUE|extraire_attribut{src}
|sinon{#CHEMIN{images/visuel_defaut.jpg}}
|balise_img
|adaptive_images{360/768/980/1200/2000})]
</span>
<header class="major">
<h1 class="#EDIT{titre}">#TITRE</h1>
</header>
[<div class="content">
<div class="#EDIT{texte}">(#DESCRIPTIF)</div>
</div>]
</div>
</section>
<section id="banner" class="style2">
<div class="inner">
<span class="image">
[(#LOGO_RUBRIQUE|extraire_attribut{src}
|sinon{#CHEMIN{images/visuel_defaut.jpg}}
|balise_img
|adaptive_images{360/768/980/1200/2000})]
</span>
<header class="major">
<h1 class="#EDIT{titre}">#TITRE</h1>
</header>
[<div class="content">
<div class="#EDIT{texte}">(#DESCRIPTIF)</div>
</div>]
</div>
</section>
<!-- Main -->
<div id="main">
<div id="main">
[<!-- One -->
<section id="one">
<div class="inner #EDIT{texte}">
(#TEXTE|adaptive_images{1500})
</div>
</section>]
[<section id="one">
<div class="inner #EDIT{texte}">
(#TEXTE|adaptive_images{1500})
</div>
</section>]
<!-- Two -->
<section id="two" class="spotlights">
<BOUCLE_articles(ARTICLES){id_rubrique}>
<section>
<a href="#URL_ARTICLE" class="image">
[(#LOGO_ARTICLE_RUBRIQUE|extraire_attribut{src}
|sinon{#CHEMIN{images/visuel_defaut.jpg}}
|balise_img
|image_recadre{570:510,-,focus}
|adaptive_images{980})]
</a>
<div class="content">
<div class="inner">
<header class="major">
<h3>#TITRE</h3>
</header>
[(#CONFIG{html5up_forty/mode_accueil}|=={blog}|oui)[<p class="date_article">(#DATE|affdate_jourcourt)</p>] ]
#INTRODUCTION{100}
<ul class="actions">
<li><a href="#URL_ARTICLE" class="button"><:zcore:lire_la_suite:></a></li>
</ul>
</div>
</div>
</section>
</BOUCLE_articles>
<section id="two" class="spotlights">
<BOUCLE_articles(ARTICLES){id_rubrique}>
<section>
<a href="#URL_ARTICLE" class="image">
[(#LOGO_ARTICLE_RUBRIQUE|extraire_attribut{src}
|sinon{#CHEMIN{images/visuel_defaut.jpg}}
|balise_img
|image_recadre{570:510,-,focus}
|adaptive_images{980})]
</a>
<div class="content">
<div class="inner">
<header class="major">
<h3>#TITRE</h3>
</header>
[(#CONFIG{html5up_forty/mode_accueil}|=={blog}|oui)[<p class="date_article">(#DATE|affdate_jourcourt)</p>] ]
#INTRODUCTION{100}
<ul class="actions">
<li><a href="#URL_ARTICLE" class="button"><:zcore:lire_la_suite:></a></li>
</ul>
</div>
</div>
</section>
</BOUCLE_articles>
</section>
</section>
<!-- Three -->
<INCLURE{fond=inclure/article_pied} />
</div>
<INCLURE{fond=inclure/article_pied} />
</div>
</BOUCLE_content>

36
content/sommaire.html

@ -1,23 +1,21 @@
<!-- Banner -->
<section id="banner" class="major">
<div class="inner">
<header class="major">
<h1>#NOM_SITE_SPIP</h1>
</header>
<div class="content">
#DESCRIPTIF_SITE_SPIP
</div>
</div>
</section>
<section id="banner" class="major">
<div class="inner">
<header class="major">
<h1>#NOM_SITE_SPIP</h1>
</header>
<div class="content">
#DESCRIPTIF_SITE_SPIP
</div>
</div>
</section>
<!-- Main -->
<div id="main">
<div id="main">
[(#REM) Mode d'affichage de l'accueil : site ou blog ]
[(#CONFIG{html5up_forty/mode_accueil}|=={blog}|non) <INCLURE{fond=inclure/accueil-rubriques,env,ajax} />]
[(#CONFIG{html5up_forty/mode_accueil}|=={blog}|oui) <INCLURE{fond=inclure/accueil-articles,env,ajax} />]
[(#REM) Mode d'affichage de l'accueil : site ou blog ]
[(#CONFIG{html5up_forty/mode_accueil}|=={blog}|non) <INCLURE{fond=inclure/accueil-rubriques,env,ajax} />]
[(#CONFIG{html5up_forty/mode_accueil}|=={blog}|oui) <INCLURE{fond=inclure/accueil-articles,env,ajax} />]
[(#REM) On inclue l'article de pied ]
<INCLURE{fond=inclure/article_pied} />
[(#REM) On inclue l'article de pied ]
<INCLURE{fond=inclure/article_pied} />
</div>
</div>

33
content/spip_pass.html

@ -1,21 +1,20 @@
<div id="main" class="alt">
<!-- One -->
<section id="one">
<div class="inner">
<header class="major">
<h1>#NOM_SITE_SPIP</h1>
</header>
<div class="pass">
[(#ENV{p}|non)
#FORMULAIRE_OUBLI
]
[(#ENV{p}|oui)
#FORMULAIRE_MOT_DE_PASSE
]
</div>
</div>
</section>
<section id="one">
<div class="inner">
<header class="major">
<h1>#NOM_SITE_SPIP</h1>
</header>
<div class="pass">
[(#ENV{p}|non)
#FORMULAIRE_OUBLI
]
[(#ENV{p}|oui)
#FORMULAIRE_MOT_DE_PASSE
]
</div>
</div>
</section>
</div>

3
footer/dist.html

@ -1,5 +1,4 @@
[(#PLUGIN{identite_extra}|ou{#PLUGIN{sociaux}}|ou{#PLUGIN{contact}}|ou{#PLUGIN{mailsubscribers}}|oui)
<!-- Contact -->
<section id="contact">
<div class="inner">
[<section>
@ -42,7 +41,7 @@
</section>
</div>
</section>]
<!-- Footer -->
<footer id="footer">
<nav class="inner">
[(#PLUGIN{sociaux}|oui) <INCLURE{fond=inclure/sociaux}> ]

1
inclure/accueil-articles.html

@ -1,5 +1,4 @@
<B_sommaire>
<!-- One -->
#ANCRE_PAGINATION
<section id="one" class="tiles">
<BOUCLE_sommaire(ARTICLES)

1
inclure/accueil-rubriques.html

@ -1,5 +1,4 @@
<B_sommaire>
<!-- One -->
#ANCRE_PAGINATION
<section id="one" class="tiles">
<BOUCLE_sommaire(RUBRIQUES)

1
inclure/article_pied.html

@ -1,5 +1,4 @@
<BOUCLE_article_pied_accueil(ARTICLES){id_article IN #CONFIG{html5up_forty/article_pied}|picker_selected{article}}>
<!-- Two -->
<section id="two">
<div class="inner">
<header class="major">

1
source/html5up_forty.svg

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
<style type="text/css">

Loading…
Cancel
Save