Work in progress
This commit is contained in:
parent
e2fff1a1e6
commit
1c6e48e04e
13
article.html
13
article.html
@ -1,13 +1,16 @@
|
|||||||
<BOUCLE_principale(ARTICLES) {id_article}>
|
<BOUCLE_principale(ARTICLES) {id_article}>
|
||||||
<html>
|
<html>
|
||||||
|
<INCLURE{fond=inc/head} />
|
||||||
<body>
|
<body>
|
||||||
|
<div class="page">
|
||||||
|
|
||||||
<INCLURE{fond=inc/header} />
|
<INCLURE{fond=inc/header} />
|
||||||
<div class="page">
|
|
||||||
<main class="main" role="main">
|
<main class="main" role="main">
|
||||||
|
|
||||||
[(#REM) Contenu principal : contenu de l'article]
|
[(#REM) Contenu principal : contenu de l'article]
|
||||||
|
|
||||||
<div class="contenus">
|
<div class="contenus">
|
||||||
<h1>
|
<h1>
|
||||||
[<a href="(#URL_SITE)">[(#LOGO_ARTICLE|image_reduire{100,*})][(#NOM_SITE|sinon{[(#URL_SITE|couper{80})]})]</a>]
|
[<a href="(#URL_SITE)">[(#LOGO_ARTICLE|image_reduire{100,*})][(#NOM_SITE|sinon{[(#URL_SITE|couper{80})]})]</a>]
|
||||||
</h1>
|
</h1>
|
||||||
|
0
css/font.css
Normal file
0
css/font.css
Normal file
0
css/links.css
Normal file
0
css/links.css
Normal file
@ -1,8 +1,22 @@
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #F1F1F1;
|
background-color: #F1F1F1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dev {
|
.page {
|
||||||
border: 2px solid;
|
max-width: 1406px;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*header (logo, slogan, informations sites) + barre de navigation + futur recherche*/
|
||||||
|
.sidebar {
|
||||||
|
display: block;
|
||||||
|
max-width: 30%;
|
||||||
|
margin-right: -100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contenu principal de chaque page*/
|
||||||
|
.contenu {
|
||||||
|
display: block;
|
||||||
|
max-width: 70%;
|
||||||
|
margin-left: 30%;
|
||||||
}
|
}
|
0
css/typo.css
Normal file
0
css/typo.css
Normal file
@ -1,4 +1,4 @@
|
|||||||
<footer role="contentinfo" class="dev">
|
<footer class="footer" role="contentinfo">
|
||||||
<p>
|
<p>
|
||||||
<BOUCLE_annee(ARTICLES){par date}{0,1}>[(#DATE|annee|!={#VAL{Y}|date}|oui)[(#DATE|annee)]]</BOUCLE_annee> - </B_annee>[(#DATE|annee) ]#NOM_SITE_SPIP
|
<BOUCLE_annee(ARTICLES){par date}{0,1}>[(#DATE|annee|!={#VAL{Y}|date}|oui)[(#DATE|annee)]]</BOUCLE_annee> - </B_annee>[(#DATE|annee) ]#NOM_SITE_SPIP
|
||||||
<br />[(#SESSION{id_auteur}|non) | <a href="[(#URL_PAGE{login}|parametre_url{url,#SELF})]" rel="nofollow" class='login_modal'><:lien_connecter:></a>][
|
<br />[(#SESSION{id_auteur}|non) | <a href="[(#URL_PAGE{login}|parametre_url{url,#SELF})]" rel="nofollow" class='login_modal'><:lien_connecter:></a>][
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<head>
|
||||||
[(#REM)
|
[(#REM)
|
||||||
Head standard de toutes les pages ;
|
Head standard de toutes les pages ;
|
||||||
les elements specifiques (title, description) figurent dans chaque squelette
|
les elements specifiques (title, description) figurent dans chaque squelette
|
||||||
@ -15,11 +16,12 @@
|
|||||||
1. Base CSS http://tinytypo.tetue.net/ ]
|
1. Base CSS http://tinytypo.tetue.net/ ]
|
||||||
[<link rel="stylesheet" href="(#CHEMIN{css/reset.css}|direction_css|timestamp)" type="text/css" />]
|
[<link rel="stylesheet" href="(#CHEMIN{css/reset.css}|direction_css|timestamp)" type="text/css" />]
|
||||||
[<link rel="stylesheet" href="(#CHEMIN{css/clear.css}|direction_css|timestamp)" type="text/css" />]
|
[<link rel="stylesheet" href="(#CHEMIN{css/clear.css}|direction_css|timestamp)" type="text/css" />]
|
||||||
[<link href="(#PRODUIRE{fond=css/variables.css})" rel="stylesheet" type="text/css" />]
|
[<link rel="stylesheet" href="(#PRODUIRE{fond=css/variables.css})" type="text/css" />]
|
||||||
[<link rel="stylesheet" href="(#CHEMIN{css/font.css}|direction_css|timestamp)" type="text/css" />]
|
[<link rel="stylesheet" href="(#CHEMIN{css/font.css}|direction_css|timestamp)" type="text/css" />]
|
||||||
[<link rel="stylesheet" href="(#CHEMIN{css/links.css}|direction_css|timestamp)" type="text/css" />]
|
[<link rel="stylesheet" href="(#CHEMIN{css/links.css}|direction_css|timestamp)" type="text/css" />]
|
||||||
[<link rel="stylesheet" href="(#CHEMIN{css/typo.css}|direction_css|timestamp)" type="text/css" />]
|
[<link rel="stylesheet" href="(#CHEMIN{css/typo.css}|direction_css|timestamp)" type="text/css" />]
|
||||||
[<link rel="stylesheet" href="(#CHEMIN{css/theme.css}|direction_css|timestamp)" type="text/css" />]
|
[<link rel="stylesheet" href="(#CHEMIN{css/theme.css}|direction_css|timestamp)" type="text/css" />]
|
||||||
|
[<link rel="stylesheet" href="(#CHEMIN{css/perso.css}|direction_css|timestamp)" type="text/css" />]
|
||||||
|
|
||||||
[(#REM)
|
[(#REM)
|
||||||
Balise permettant aux plugins d'inserer des appels javascript ;
|
Balise permettant aux plugins d'inserer des appels javascript ;
|
||||||
@ -39,4 +41,6 @@
|
|||||||
[<link rel="shortcut icon" type="image/x-icon" href="(#CHEMIN{favicon.ico})" />]]
|
[<link rel="shortcut icon" type="image/x-icon" href="(#CHEMIN{favicon.ico})" />]]
|
||||||
|
|
||||||
[(#REM) meta robots ]
|
[(#REM) meta robots ]
|
||||||
[<meta name="robots" content="(#ENV{robots})" />]
|
[<meta name="robots" content="(#ENV{robots})" />]
|
||||||
|
|
||||||
|
</head>
|
@ -1,11 +1,30 @@
|
|||||||
<header role="banner">
|
<div class="sidebar">
|
||||||
|
<header class="header" role="banner">
|
||||||
[(#ENV{home,'non'}|=={oui}|?{
|
[(#ENV{home,'non'}|=={oui}|?{
|
||||||
<h1>[(#LOGO_SITE_SPIP|image_reduire{224,96})]#NOM_SITE_SPIP</h1>
|
<h1 class="titre-majeur">[(#LOGO_SITE_SPIP|image_reduire{224,96})]#NOM_SITE_SPIP</h1>
|
||||||
,
|
,
|
||||||
<strong><a rel="start home" href="#URL_SITE_SPIP/" title="<:accueil_site:>">[(#LOGO_SITE_SPIP
|
<strong class="titre-majeur"><a rel="start home" href="#URL_SITE_SPIP/" title="<:accueil_site:>">[(#LOGO_SITE_SPIP
|
||||||
|image_reduire{224,96})]#NOM_SITE_SPIP</a></strong>
|
|image_reduire{224,96})]#NOM_SITE_SPIP</a></strong>
|
||||||
})][<p>(#SLOGAN_SITE_SPIP)</p>]
|
})][<p class="slogan-spip">(#SLOGAN_SITE_SPIP)</p>]
|
||||||
<hr/>
|
|
||||||
<ul>Aujourd'hui :<BOUCLE_taxo(MOTS) {tout} {type=taxonomie}>[(#COMPTEUR_BOUCLE|=={1}|?{'',' '})[(#COMPTEUR_BOUCLE|=={#TOTAL_BOUCLE}|?{'et',','})]]
|
<p class="ressources_infos">Aujourd'hui :<BOUCLE_taxo(MOTS) {tout} {type=taxonomie}>
|
||||||
<BOUCLE_nbr_taxo(ARTICLES) {titre_mot=#TITRE} ></BOUCLE_nbr_taxo>#_nbr_taxo:TOTAL_BOUCLE #TITRE</BOUCLE_taxo>
|
[(#COMPTEUR_BOUCLE|=={1}|?{'',' '})[(#COMPTEUR_BOUCLE|=={#TOTAL_BOUCLE}|?{'et',','})]]
|
||||||
</header>
|
<BOUCLE_nbr_taxo(ARTICLES) {titre_mot=#TITRE} ></BOUCLE_nbr_taxo>
|
||||||
|
#_nbr_taxo:TOTAL_BOUCLE #TITRE
|
||||||
|
</BOUCLE_taxo>
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<nav class="navigation" role="navigation">
|
||||||
|
<ul>
|
||||||
|
<BOUCLE_nav(RUBRIQUES) {racine} {par titre}>
|
||||||
|
<li><a href="#URL_RUBRIQUE">#TITRE</a></li>
|
||||||
|
<ul>
|
||||||
|
<BOUCLE_su_nav(RUBRIQUES) {id_parent} {enfants} {par titre}>
|
||||||
|
<li><a href="#URL_RUBRIQUE">#TITRE</a></li>
|
||||||
|
</BOUCLE_su_nav>
|
||||||
|
</ul>
|
||||||
|
</BOUCLE_nav>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</div>
|
10
inc/nav.html
10
inc/nav.html
@ -1,10 +0,0 @@
|
|||||||
<ul>
|
|
||||||
<BOUCLE_nav(RUBRIQUES) {racine} {par titre}>
|
|
||||||
<li><a href="#URL_RUBRIQUE">(#TITRE)</a></li>
|
|
||||||
<ul>
|
|
||||||
<BOUCLE_su_nav(RUBRIQUES) {id_parent} {enfants} {par titre}>
|
|
||||||
<li><a href="#URL_RUBRIQUE">#TITRE</a></li>
|
|
||||||
</BOUCLE_su_nav>
|
|
||||||
</ul>
|
|
||||||
</BOUCLE_nav>
|
|
||||||
</ul>
|
|
@ -1,7 +1,7 @@
|
|||||||
<paquet
|
<paquet
|
||||||
prefix="lutine"
|
prefix="lutine"
|
||||||
categorie="squelette"
|
categorie="squelette"
|
||||||
version="0.0.12"
|
version="0.0.13"
|
||||||
etat="test"
|
etat="test"
|
||||||
compatibilite="[4.3.0;4.*]"
|
compatibilite="[4.3.0;4.*]"
|
||||||
logo="prive/themes/spip/images/lutine-xx.svg"
|
logo="prive/themes/spip/images/lutine-xx.svg"
|
||||||
|
@ -1,23 +1,25 @@
|
|||||||
<BOUCLE_principale(RUBRIQUES) {id_rubrique}>
|
<BOUCLE_principale(RUBRIQUES) {id_rubrique}>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
<INCLURE{fond=inc/head} />
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<INCLURE{fond=inc/header} />
|
|
||||||
|
|
||||||
<div class="page">
|
<div class="page">
|
||||||
<main class="main" role="main">
|
<INCLURE{fond=inc/header} />
|
||||||
[(#REM) Contenu principal : contenu de la rubrique ]
|
<div class="contenu">
|
||||||
|
|
||||||
|
|
||||||
<p class="arbo"><a href="#URL_SITE_SPIP/"><:accueil_site:></a><BOUCLE_ariane(HIERARCHIE){id_rubrique}> > <a href="#URL_RUBRIQUE">[(#TITRE|couper{80})]</a></BOUCLE_ariane>[ > <strong class="on">(#TITRE|couper{80})</strong>]</p><!--.arbo-->
|
[(#REM) Contenu principal : contenu de la rubrique]
|
||||||
|
|
||||||
<h1>#TITRE</h1>
|
<p class="arbo"><a href="#URL_SITE_SPIP/"><:accueil_site:></a><BOUCLE_ariane(HIERARCHIE){id_rubrique}> > <a href="#URL_RUBRIQUE">[(#TITRE|couper{80})]</a></BOUCLE_ariane>[ > <strong class="on">(#TITRE|couper{80})</strong>]</p><!--.arbo-->
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<main class="main" role="main"></main>
|
||||||
|
<h1>#TITRE</h1>
|
||||||
|
<div>
|
||||||
[<div>(#TEXTE|image_reduire{672,*})</div>]
|
[<div>(#TEXTE|image_reduire{672,*})</div>]
|
||||||
|
|
||||||
[(#REM) Articles de la rubrique ]
|
[(#REM) Articles de la rubrique ]
|
||||||
<h2>
|
|
||||||
|
<h2>
|
||||||
<:lutine:rubrique_titre_article:>
|
<:lutine:rubrique_titre_article:>
|
||||||
</h2>
|
</h2>
|
||||||
<B_articles>
|
<B_articles>
|
||||||
@ -28,7 +30,7 @@
|
|||||||
<h3>
|
<h3>
|
||||||
[<a href="(#URL_SITE)">[(#LOGO_ARTICLE|image_reduire{100,*})][(#NOM_SITE|sinon{[(#URL_SITE|couper{80})]})]</a>]
|
[<a href="(#URL_SITE)">[(#LOGO_ARTICLE|image_reduire{100,*})][(#NOM_SITE|sinon{[(#URL_SITE|couper{80})]})]</a>]
|
||||||
</h3>
|
</h3>
|
||||||
<!--/!\--> <BOUCLE_mots(MOTS?) {id_article} {id_groupe=7} {par titre}>
|
<BOUCLE_mots(MOTS) {id_article} {type=langue} {par titre}>
|
||||||
<p><:lutine:article_langue_ressource:><a href="#URL_MOT" rel="tag">#TITRE</a>
|
<p><:lutine:article_langue_ressource:><a href="#URL_MOT" rel="tag">#TITRE</a>
|
||||||
</p>
|
</p>
|
||||||
</BOUCLE_mots>
|
</BOUCLE_mots>
|
||||||
@ -62,20 +64,15 @@
|
|||||||
</B_miniplan>
|
</B_miniplan>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
</BOUCLE_sous_rubriques>
|
</BOUCLE_sous_rubriques>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</B_sous_rubriques>
|
|
||||||
|
|
||||||
<//B_articles>[(#REM) supprimer pour toujours avoir le miniplan]
|
|
||||||
|
|
||||||
</div><!--.content-->
|
</div><!--.content-->
|
||||||
</div><!--.wrapper-->
|
|
||||||
|
|
||||||
</main><!--.main-->
|
</main><!--.main-->
|
||||||
|
|
||||||
<INCLURE{fond=inclure/footer,self=#SELF} />
|
<INCLURE{fond=inclure/footer,self=#SELF} />
|
||||||
|
</div><!--.contenu-->
|
||||||
</div><!--.page-->
|
</div><!--.page-->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -6,20 +6,20 @@
|
|||||||
|
|
||||||
]<!DOCTYPE html>
|
]<!DOCTYPE html>
|
||||||
<html lang="#LANG">
|
<html lang="#LANG">
|
||||||
<head>
|
<INCLURE{fond=inc/head} />
|
||||||
<INCLURE{fond=inc/head} />
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<INCLURE{fond=inc/nav} />
|
<div class="page">
|
||||||
<INCLURE{fond=inc/header} />
|
<INCLURE{fond=inc/header} />
|
||||||
<!--dev Lien vers un article choisit dans la page de conf-->
|
<div class="contenu">
|
||||||
<BOUCLE_article_main(ARTICLES) {id_article=62} >
|
|
||||||
|
<main class="main" role="main">
|
||||||
|
<BOUCLE_article_main(ARTICLES) {id_article=62} ><!--dev : un article choisit dans la page de conf-->
|
||||||
|
|
||||||
<p class="info-publi"><abbr class="published" title="[(#DATE|date_iso)]">[(#DATE|nom_jour) ][(#DATE|affdate)]</abbr>[<span class="sep">, </span><span class="auteurs"><:par_auteur:> (#LESAUTEURS)</span>]</p>
|
<p class="info-publi"><abbr class="published" title="[(#DATE|date_iso)]">[(#DATE|nom_jour) ][(#DATE|affdate)]</abbr>[<span class="sep">, </span><span class="auteurs"><:par_auteur:> (#LESAUTEURS)</span>]</p>
|
||||||
|
|
||||||
#TEXTE
|
#TEXTE
|
||||||
</BOUCLE_article_main>
|
</BOUCLE_article_main>
|
||||||
<!--/dev-->
|
</main>
|
||||||
<INCLURE{fond=inc/footer} />
|
<INCLURE{fond=inc/footer} />
|
||||||
|
</div><!--contenu-->
|
||||||
</body>
|
</body>
|
Loading…
Reference in New Issue
Block a user