[CSS+HTML] + lien accueil
[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 <div class="descriptif"><p>#DESCRIPTIF</p></div>
27 </BOUCLE_gis>
28 </li>
29 </ul>
30 <div class="logoatelier">
31 #LOGO_SITE
32 </div>
33 <nav>
34 <a href="#">Retour à l'accueil</a>
35 </nav>
36 </BOUCLE_sites>
37 </div>
38 </B_sites>
39 </div>
40
41 <!--2EME COLONNE-->
42 <div class="col-12 col-m-6 col-l-5">
43 <div id=atelierdescription>
44 <div class="article">
45 <h1>#TITRE</h1>
46 <h3>???</h3>
47 <p>#TEXTE</p>
48 </div>
49 <B_articles>
50 <div id="news">
51 <BOUCLE_articles(ARTICLES){0,8}{!par date}{id_rubrique}>
52 <div class="article">
53 <a href="#">[(#LOGO_ARTICLE_RUBRIQUE|inserer_attribut{alt,"logo"}|image_reduire{150,150})]</a>
54 <a href="#"><h1>#TITRE</h1></a>
55 <h3>[(#DATE|affdate)]</h3>
56 <p>#INTRODUCTION</p>
57 </div>
58 </BOUCLE_articles>
59 </div>
60 </B_articles>
61 </div>
62 </div>
63
64 <!--3EME COLONNE-->
65 <div class="col-12 col-m-12 col-l-4">
66 <BOUCLE_carte(SITES){id_rubrique}>
67 <div class="map">
68 [(#INCLURE{fond=modeles/carte_gis, objet=site, id_objet=#ID_SYNDIC, fullscreen=oui, autocenterandzoom=oui, height=100%})]
69 </div>
70 </BOUCLE_carte>
71 </div>
72 <div class="col-12 col-m-12 col-l-4">
73 <div class="agenda">
74 <h1>Agenda</h1>
75 <B_evenements>
76 <ul>
77 <BOUCLE_evenements(EVENEMENTS){age<=0}{0,5}{par date_debut}{id_rubrique}>
78 <li>
79 <div class="event">
80 <div class="date">
81 <p><time datetime="#DATE_DEBUT">[(#DATE_DEBUT|affdate{d M})]</time></p>
82 <p><time class="horaire" datetime="#DATE_DEBUT">[(#DATE_DEBUT|heures)]:[(#DATE_DEBUT|minutes)]</time></p>
83 </div>
84 <div class="nature">
85 <p>#TITRE</p>
86 </div>
87 </div>
88 </li>
89 </BOUCLE_evenements>
90 </ul>
91 </B_evenements>
92 </div>
93 </div>
94 </section>
95 </BOUCLE_rubriques>
96 <footer>
97 <div class="textfooter">
98 <ul>
99 <li>
100 <h3><a href="#">Licence libre</a></h3>
101 </li>
102 <li>
103 <h3><a href="#">À propos</a></h3>
104 </li>
105 <li>
106 <h3><a href="#">L'Heureux Cyclage</a></h3>
107 </li>
108 </ul>
109 </div>
110 </footer>
111 </body>
112 </html>