Browse Source

qques defauts de structure bootstrap...

svn/root/trunk
l.oiseau2nuit@gmail.com 9 years ago
parent
commit
2aafeefbca
  1. 8
      body.html
  2. 15
      content/rubrique.html
  3. 28
      header/dist.html
  4. 8
      header/rubrique.html

8
body.html

@ -3,13 +3,13 @@
<header class="bs-header" id="header"><INCLURE{fond=header/#ENV{type-page},env} /></header>
<section id="wrap">
<section class="container" role="main">
<section class="row" id="content"><INCLURE{fond=content/#ENV{type-page},env} /></section>
<aside class="row" id="extra1"><INCLURE{fond=extra1/#ENV{type-page},env} /></aside>
<aside class="row" id="extra2"><INCLURE{fond=extra2/#ENV{type-page},env} /></aside>
<section class="container" id="content"><INCLURE{fond=content/#ENV{type-page},env} /></section>
<aside class="container" id="extra1"><INCLURE{fond=extra1/#ENV{type-page},env} /></aside>
<aside class="container" id="extra2"><INCLURE{fond=extra2/#ENV{type-page},env} /></aside>
</section>
</section>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"><INCLURE{fond=inclure/nav,env} /></nav>
<footer id="footer"><INCLURE{fond=footer/#ENV{type-page},env} /></footer>
<footer class="container" id="footer"><INCLURE{fond=footer/#ENV{type-page},env} /></footer>
[(#PLUGINS{skiplink}|oui) [<nav class="">(#INCLURE{fond=inclure/remonter})</nav>] ]
[(#REM) Chargements scripts et plugins en pied de page (Exemple : Google analytics) ]
<INCLURE{fond=foot_js/#ENV{type-page},env} />

15
content/rubrique.html

@ -4,24 +4,27 @@
<article>
<header class="page-header">
[<div class="#EDIT{descriptif}">(#DESCRIPTIF|abs_url)</div>]
[<div class="well #EDIT{descriptif}">(#DESCRIPTIF|abs_url)</div>]
<section class="row">
[<article class="#EDIT{texte} col-md-8">(#TEXTE|abs_url)</article>]
[<footer class="well col-md-4">(#NOTES|abs_url)</footer>]
</section>
</header>
<BOUCLE_articles(ARTICLES){id_rubrique}{0,1}>
<INCLURE{fond=liste/articles-resume-col,env,ajax,titre=<:articles_rubrique:>} />
</BOUCLE_articles>
</B_articles>
[<article class="#EDIT{texte} texte">(#TEXTE|abs_url)</article>]
[<footer class="well">(#NOTES|abs_url)</footer>]
</article>
[(#REM) Alternative en attendant mieux...]
<B_sous_rubriques>
<section class="rubriques">
<nav class="col-md-4">
#ANCRE_PAGINATION
<h2 class="h2">[(#ENV{titre,<:sous_rubriques:>})]</h2>
<ul class="liste-items">
<ul class="list-group">
<BOUCLE_sous_rubriques(RUBRIQUES){id_parent} {par num titre, titre} {pagination #ENV{nb,6}}>
#INCLURE{fond=inclure/rubrique-resume,id_rubrique}
</BOUCLE_sous_rubriques>

28
header/dist.html

@ -1,12 +1,18 @@
[(#PLUGINS{skiplink}|oui) #INCLURE{fond=raccourcis} ]
<div class="container">
[<a rel="start home" href="#URL_SITE_SPIP/" title="<:accueil_site:>">(#LOGO_SITE_SPIP_NORMAL
|image_reduire{160,160}
|inserer_attribut{alt,#NOM_SITE_SPIP}
|inserer_attribut{class,"img-circle pull-left"}
)</a>]
<h1 id="nom_site_spip" class="h1">#NOM_SITE_SPIP</h1>
[<p[ class="(#EDIT{meta-slogan_site})"]>(#SLOGAN_SITE_SPIP|PtoBR|abs_url)</p>]
<p><a href="#descriptif" class="btn btn-primary btn-lg" role="button">En savoir + ?</a></p>
</div>
#MENU_LANG
<section class="container">
<section class="row">
<figure class="col-md-3">
[<a rel="start home" href="#URL_SITE_SPIP/" title="<:accueil_site:>">(#LOGO_SITE_SPIP_NORMAL
|image_recadre{260,260,center}
|inserer_attribut{alt,#NOM_SITE_SPIP}
|inserer_attribut{class,"img-circle"}
)</a>]
</figure>
<section class="col-md-9">
<h1 id="nom_site_spip" class="h1">#NOM_SITE_SPIP</h1>
[<p[ class="(#EDIT{meta-slogan_site})"]>(#SLOGAN_SITE_SPIP|PtoBR|abs_url)</p>]
<p><a href="#descriptif" class="btn btn-primary btn-lg" role="button">En savoir + ?</a></p>
</section>
</section>
</section>
[(#MENU_LANG)]

8
header/rubrique.html

@ -1,15 +1,19 @@
[(#PLUGINS{skiplink}|oui) #INCLURE{fond=raccourcis} ]
<BOUCLE_header(RUBRIQUES){id_rubrique}>
<div class="container">
<section class="row">
<figure class="col-md-4">
[(#LOGO_RUBRIQUE_NORMAL
|sinon{[(#LOGO_RUBRIQUE_NORMAL{0})]}
|image_reduire{180,180}
|inserer_attribut{alt,[(#TITRE|textebrut)]}
|inserer_attribut{class,"img-circle"}
)]
</figure>
<section class="col-md-8">
<h1 class="h1 #EDIT{titre}">#TITRE</h1>
[<p class="#EDIT{soutitre}">(#SOUTITRE|PtoBR|abs_url)</p>]
<p><a href="#descriptif" class="btn btn-primary btn-lg" role="button">En savoir + ?</a></p>
[(#INCLURE{fond=inclure/socialtags,env})]
</div>
</section>
</section>
</BOUCLE_header>
Loading…
Cancel
Save