[SKEL] ~carte a 100% de hauteur
[lhc/web/clavettes.git] / rubrique.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4
5 <BOUCLE_rubriques(RUBRIQUES){id_rubrique}>
6 <title>[(#NOM_SITE_SPIP|textebrut)][ - (#TITRE|textebrut)]</title>
7 <INCLURE{fond=inclure/head}/>
8 </head>
9
10 <body>
11 <header>
12 <a href="#URL_SITE_SPIP">[(#LOGO_SITE_SPIP|inserer_attribut{alt,#NOM_SITE_SPIP})]</a>
13 </header>
14 <section id="wrap">
15 <!--1ERE COLONNE-->
16 <div class="col-12 col-m-6 col-l-3">
17 <B_sites>
18 <div id="ateliers">
19 <BOUCLE_sites(SITES){id_rubrique}{0,1}>
20 <ul>
21 <li[ style="background-color:#(#ID_RUBRIQUE|couleur_rubrique);"]>
22 <a href="#"><h1>#NOM_SITE</h1></a>
23 <BOUCLE_gis(GIS){objet='site'}{id_objet=#ID_SYNDIC}>
24 <h2>• #TITRE</h2>
25 <address>#ADRESSE #CODE_POSTAL #VILLE</address>
26 <p>#DESCRIPTIF</p>
27 </BOUCLE_gis>
28 </li>
29 </ul>
30 <div class="logoatelier">
31 #LOGO_SITE
32 </div>
33 </BOUCLE_sites>
34 </div>
35 </B_sites>
36 </div>
37
38 <!--2EME COLONNE-->
39 <div class="col-12 col-m-6 col-l-5">
40 <div id=atelierdescription>
41 <div class="article">
42 <h1>#TITRE</h1>
43 <h3>???</h3>
44 <p>#TEXTE</p>
45 </div>
46 <B_articles>
47 <div id="news">
48 <BOUCLE_articles(ARTICLES){0,8}{!par date}{id_rubrique}>
49 <div class="article">
50 <a href="#">[(#LOGO_ARTICLE_RUBRIQUE|inserer_attribut{alt,"logo"}|image_reduire{150,150})]</a>
51 <a href="#"><h1>#TITRE</h1></a>
52 <h3>[(#DATE|affdate)]</h3>
53 <p>#INTRODUCTION</p>
54 </div>
55 </BOUCLE_articles>
56 </div>
57 </B_articles>
58 </div>
59 </div>
60
61 <!--3EME COLONNE-->
62 <div class="col-12 col-m-12 col-l-4">
63 <BOUCLE_carte(SITES){id_rubrique}>
64 <div class="map">
65 [(#INCLURE{fond=modeles/carte_gis, objet=site, id_objet=#ID_SYNDIC, fullscreen=oui, autocenterandzoom=oui, height=100%})]
66 </div>
67 </BOUCLE_carte>
68 </div>
69 <div class="col-12 col-m-12 col-l-4">
70 <div class="agenda">
71 <h1>Agenda</h1>
72 <B_evenements>
73 <ul>
74 <BOUCLE_evenements(EVENEMENTS){age<=0}{0,5}{par date_debut}{id_rubrique}>
75 <li>
76 <div class="event">
77 <div class="date">
78 <p><time datetime="#DATE_DEBUT">[(#DATE_DEBUT|affdate{d M})]</time></p>
79 <p><time class="horaire" datetime="#DATE_DEBUT">[(#DATE_DEBUT|heures)]:[(#DATE_DEBUT|minutes)]</time></p>
80 </div>
81 <div class="nature">
82 <p>#TITRE</p>
83 </div>
84 </div>
85 </li>
86 </BOUCLE_evenements>
87 </ul>
88 </B_evenements>
89 </div>
90 </div>
91 </section>
92 </BOUCLE_rubriques>
93 <footer>
94 <div class="textfooter">
95 <ul>
96 <li>
97 <h3><a href="#">Licence libre</a></h3>
98 </li>
99 <li>
100 <h3><a href="#">À propos</a></h3>
101 </li>
102 <li>
103 <h3><a href="#">L'Heureux Cyclage</a></h3>
104 </li>
105 </ul>
106 </div>
107 </footer>
108 </body>
109 </html>