Browse Source

import initial

master
b_b 9 months ago
commit
b5f4996140
  1. 64
      article.html
  2. 1
      cambio.svg
  3. 4
      css/font-awesome.min.css
  4. BIN
      css/images/overlay.png
  5. 1072
      css/main.css
  6. 21
      css/noscript.css
  7. BIN
      css/polices/FontAwesome.otf
  8. BIN
      css/polices/fontawesome-webfont.eot
  9. 2671
      css/polices/fontawesome-webfont.svg
  10. BIN
      css/polices/fontawesome-webfont.ttf
  11. BIN
      css/polices/fontawesome-webfont.woff
  12. BIN
      css/polices/fontawesome-webfont.woff2
  13. BIN
      css/polices/sourcesanspro-regular-webfont.woff
  14. BIN
      css/polices/sourcesanspro-regular-webfont.woff2
  15. 14
      inclure/liste-petitions.html
  16. 7
      inclure/petition.html
  17. 28
      lang/petitions_fr.php
  18. 22
      paquet.xml
  19. 33
      prive/modeles/signature.html
  20. 63
      sommaire.html

64
article.html

@ -0,0 +1,64 @@
<BOUCLE_principale(ARTICLES){id_article}>
<!DOCTYPE HTML>
<html>
<head>
<title>[(#TITRE|couper{80}|textebrut) - ][(#NOM_SITE_SPIP|textebrut)]</title>
[<meta name="description" content="(#INTRODUCTION{150}|attribut_html)" />]
<meta charset="#CHARSET" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
[<link rel="stylesheet" href="(#CHEMIN{css/main.css})" />]
<style type="text/css">
body {
background-image: url("#CHEMIN{css/images/overlay.png}"), -moz-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35)), url("[(#LOGO_ARTICLE_NORMAL|extraire_attribut{src}|supprimer_timestamp)]");
background-image: url("#CHEMIN{css/images/overlay.png}"), -webkit-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35)), url("[(#LOGO_ARTICLE_NORMAL|extraire_attribut{src}|supprimer_timestamp)]");
background-image: url("#CHEMIN{css/images/overlay.png}"), -ms-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35)), url("[(#LOGO_ARTICLE_NORMAL|extraire_attribut{src}|supprimer_timestamp)]");
background-image: url("#CHEMIN{css/images/overlay.png}"), linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35)), url("[(#LOGO_ARTICLE_NORMAL|extraire_attribut{src}|supprimer_timestamp)]");
}
</style>
[<noscript><link rel="stylesheet" href="(#CHEMIN{css/noscript.css})" /></noscript>]
</head>
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper">
<!-- Main -->
<section id="main">
<header>
[<span class="avatar"><img src="(#LOGO_ARTICLE_SURVOL|sinon{#LOGO_ARTICLE_NORMAL}|image_recadre{225:225,-,focus}|image_reduire{225}|extraire_attribut{src})" alt="" /></span>]
<h1>#TITRE</h1>
</header>
<div class="content hentry" id="content">
[<div class="#EDIT{chapo} chapo surlignable clearfix">(#CHAPO|image_reduire{528,*})</div><hr />]
[(#PETITION|oui)<INCLURE{fond=inclure/petition,id_article,env,ajax} /><hr />]
[<div class="#EDIT{texte} texte surlignable clearfix">(#TEXTE|image_reduire{528,*})</div>]
</div>
<footer>
<ul class="icons">
<li><a href="#URL_SITE_SPIP/" class="fa-home">Accueil</a></li>
<li><a href="https://twitter.com/intent/tweet?text=[(#TITRE|attribut_html)]&url=[(#URL_ARTICLE|url_absolue|attribut_html)]" class="fa-twitter">Twitter</a></li>
<li><a href="https://www.facebook.com/sharer/sharer.php?u=[(#URL_ARTICLE|url_absolue|attribut_html)]&t=[(#TITRE|attribut_html)]" class="fa-facebook">Facebook</a></li>
</ul>
</footer>
</section>
<!-- Footer -->
<footer id="footer">
<ul class="copyright">
<li><a href="https://www.eau-et-rivieres.org">Eau & Rivières de Bretagne, Espace associatif - 6, rue Pen ar Créac'h - 29200 BREST</a></li><li><a href="https://www.spip.net">Propulsé par SPIP</a></li><li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
</ul>
</footer>
</div>
<!-- Scripts -->
<script>
if ('addEventListener' in window) {
window.addEventListener('load', function() { document.body.className = document.body.className.replace(/\bis-preload\b/, ''); });
document.body.className += (navigator.userAgent.match(/(MSIE|rv:11\.0)/) ? ' is-ie' : '');
}
</script>
</body>
</html>
</BOUCLE_principale>

1
cambio.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="64" height="64"><path fill="none" d="M0 0h24v24H0z"/><path d="M18 17v5h-2v-5c0-4.451 2.644-8.285 6.447-10.016l.828 1.82A9.002 9.002 0 0 0 18 17zM8 17v5H6v-5A9.002 9.002 0 0 0 .725 8.805l.828-1.821A11.002 11.002 0 0 1 8 17zm4-5a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-2a3 3 0 1 0 0-6 3 3 0 0 0 0 6z" fill="rgba(3,129,151,1)"/></svg>

4
css/font-awesome.min.css
File diff suppressed because it is too large
View File

BIN
css/images/overlay.png

After

Width: 200  |  Height: 200  |  Size: 3.0 KiB

1072
css/main.css
File diff suppressed because it is too large
View File

21
css/noscript.css

@ -0,0 +1,21 @@
/*
Identity by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
/* Basic */
body:after {
display: none;
}
/* Main */
#main {
-moz-transform: none !important;
-webkit-transform: none !important;
-ms-transform: none !important;
transform: none !important;
opacity: 1 !important;
}

BIN
css/polices/FontAwesome.otf

BIN
css/polices/fontawesome-webfont.eot

2671
css/polices/fontawesome-webfont.svg
File diff suppressed because it is too large
View File

BIN
css/polices/fontawesome-webfont.ttf

BIN
css/polices/fontawesome-webfont.woff

BIN
css/polices/fontawesome-webfont.woff2

BIN
css/polices/sourcesanspro-regular-webfont.woff

BIN
css/polices/sourcesanspro-regular-webfont.woff2

14
inclure/liste-petitions.html

@ -0,0 +1,14 @@
<B_petitions>
<h2>Pétitions en cours</h2>
<ul class="alt liste petitions">
<BOUCLE_petitions(ARTICLES){id_rubrique=#CONFIG{cambio/rubrique_petitions,1}}{!par date}>
<li>
<a href="#URL_ARTICLE" style="background-image: linear-gradient(0deg, #00000070 30%, #ffffff44 100%), url('[(#LOGO_ARTICLE_NORMAL|image_recadre{528:150,-,focus}|image_reduire{528,150}|extraire_attribut{src}|supprimer_timestamp)]');">
<h2>#TITRE</h2>#SET{total,0}
<BOUCLE_signatures(SIGNATURES){id_article} />#SET{total,#GRAND_TOTAL}<//B_signatures>
[<h3>(#GET{total}) [(#GET{total}|singulier_ou_pluriel{'signataire','signataires'}|sinon{'signataire'})] depuis le [(#_petitions:DATE|affdate)]</h3>]
</a>
</li>
</BOUCLE_petitions>
</ul>
</B_petitions>

7
inclure/petition.html

@ -0,0 +1,7 @@
[(#REM) Signatures de la petition ]
<BOUCLE_signatures(SIGNATURES){id_article} />
[<h2 class="h2">[(#GRAND_TOTAL)] (#GRAND_TOTAL|singulier_ou_pluriel{'signataire','signataires'}).</h2>]
<//B_signatures>
[(#REM) Signer la petition ]
#FORMULAIRE_SIGNATURE

28
lang/petitions_fr.php

@ -0,0 +1,28 @@
<?php
if (!defined('_ECRIRE_INC_VERSION')) return;
$GLOBALS[$GLOBALS['idx_lang']] = array(
'form_pet_nom_site2' => 'Votre code postal',
'form_pet_mail_confirmation' => 'Bonjour,
Vous avez demandé à signer la pétition :
@titre@.
Vous avez fourni les informations suivantes :
Nom : @nom_email@
Code postal: @nom_site@
IMPORTANT...
Pour valider votre signature, il suffit de vous connecter à
l’adresse ci-dessous (dans le cas contraire, votre demande
sera rejetée) :
@url@
Merci de votre participation
',
);

22
paquet.xml

@ -0,0 +1,22 @@
<paquet
prefix="cambio"
categorie="squelette"
version="2.0.0"
etat="stable"
compatibilite="[3.2.3;3.2.*]"
logo="cambio.svg"
>
<nom>cambio</nom>
<!-- parce qu'il est temps de changer le monde... -->
<auteur>b_b</auteur>
<copyright>2020</copyright>
<licence>GPL v3</licence>
<credit lien="https://html5up.net/">Template graphique par HTML5 UP</credit>
<credit lien="https://remixicon.com/">Logo par Remix Icon</credit>
<necessite nom="pages" compatibilite="[1.4.0;]" />
<necessite nom="spip_reset" compatibilite="[3.0.2;]" />
</paquet>

33
prive/modeles/signature.html

@ -0,0 +1,33 @@
<BOUCLE_signature(SIGNATURES){id_signature}{tout}>
#SET{statut,#STATUT|match{^(publie|poubelle)$}|?{#STATUT,prop}}
#SET{self,#SELF|parametre_url{debut_signature|ad_email,''}}
[(#REM) Le cartouche ---------------------------------------------------------]
<div class='cartouche'>
<h3 class='titre'>
<span class='info_statut'>[(#CHEMIN_IMAGE{[signature-statut-(#GET{statut})-24.png]}|balise_img|inserer_attribut{alt,#VAL{petitions:statut_}|concat{#GET{statut}}|_T})]</span>
<a href='[(#GET{self}|parametre_url{debut_signatures,@#ID_SIGNATURE}|ancre_url{signature#ID_SIGNATURE})]' title='[<:info_numero_abbreviation|attribut_html:> (#ID_SIGNATURE)]'>[(#NOM_EMAIL|sinon{<:petitions:sans_nom:>})]</a>
</h3>
<div class='date'>[(#DATE|date_interface)]</div>
[<div class='ad_email'><:petitions:info_adresse_email:> <a class='ajax' href='[(#GET{self}|parametre_url{ad_email,#AD_EMAIL})]' title='<:petitions:signatures_meme_auteur|attribut_html:>' >(#AD_EMAIL)</a></div>]
[<div class='site'><:petitions:form_pet_nom_site2:> : (#NOM_SITE*)</div>]
[<div class='site'><:petitions:form_pet_adresse_site:> : (#URL_SITE*)</div>]
<BOUCLE_art(ARTICLES){id_petition}{statut==.*}>
#SET{id_article,#ID_ARTICLE}
<div class='reponse_a'>
<p class="article"><:petitions:lien_reponse_article:> : <a href='[(#ID_ARTICLE|generer_url_entite{article})]'>#TITRE</a> [<a href='[(#GET{self}|parametre_url{id_article,#ID_ARTICLE})]' class="ajax"><:petitions:voir_signatures_objet:></a>]</p>
<BOUCLE_rub(RUBRIQUES){id_rubrique}>
<p class="rubrique"><:info_dans_rubrique:> <a href='[(#ID_RUBRIQUE|generer_url_entite{rubrique})]'>#TITRE</a></p>
</BOUCLE_rub>
</div>
#SET{id_article,#ID_ARTICLE}
</BOUCLE_art>
</div>
[(#REM) Le corps ---------------------------------------------------------]
[<div class='texte controle'>(#MESSAGE)</div>]
[(#REM) Les boutons ---------------------------------------------------------]
[(#INCLURE{fond=prive/modeles/signature-actions-#ENV{boutons,moderer},id_signature,id_article=#GET{id_article},statut,self})]
</BOUCLE_signature>

63
sommaire.html

@ -0,0 +1,63 @@
<BOUCLE_principale(ARTICLES){page=home}>
<!DOCTYPE HTML>
<html>
<head>
<title>[(#NOM_SITE_SPIP|textebrut)][ - (#SLOGAN_SITE_SPIP|textebrut)]</title>
[<meta name="description" content="(#DESCRIPTIF_SITE_SPIP|couper{150}|attribut_html)" />]
<meta charset="#CHARSET" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
[<link rel="stylesheet" href="(#CHEMIN{css/main.css})" />]
<style type="text/css">
body {
background-image: url("#CHEMIN{css/images/overlay.png}"), -moz-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35)), url("[(#LOGO_ARTICLE|extraire_attribut{src}|supprimer_timestamp)]");
background-image: url("#CHEMIN{css/images/overlay.png}"), -webkit-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35)), url("[(#LOGO_ARTICLE|extraire_attribut{src}|supprimer_timestamp)]");
background-image: url("#CHEMIN{css/images/overlay.png}"), -ms-linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35)), url("[(#LOGO_ARTICLE|extraire_attribut{src}|supprimer_timestamp)]");
background-image: url("#CHEMIN{css/images/overlay.png}"), linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35)), url("[(#LOGO_ARTICLE|extraire_attribut{src}|supprimer_timestamp)]");
}
</style>
[<noscript><link rel="stylesheet" href="(#CHEMIN{css/noscript.css})" /></noscript>]
</head>
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper">
<!-- Main -->
<section id="main">
<header>
[<span class="avatar"><img src="(#LOGO_SITE_SPIP|image_reduire{225}|extraire_attribut{src})" alt="" /></span>]
<h1>#TITRE</h1>
</header>
<div class="content hentry" id="content">
[<div class="#EDIT{chapo} chapo surlignable clearfix">(#CHAPO|image_reduire{528,*})</div>]
<INCLURE{fond=inclure/liste-petitions,env,ajax}>
[<hr /><div class="#EDIT{texte} texte surlignable clearfix">(#TEXTE|image_reduire{528,*})</div>]
</div>
<footer>
<ul class="icons">
<li><a href="https://twitter.com/intent/tweet?text=[(#NOM_SITE_SPIP|attribut_html)]&url=[(#URL_SITE_SPIP|attribut_html)]" class="fa-twitter">Twitter</a></li>
<li><a href="https://www.facebook.com/sharer/sharer.php?u=[(#URL_SITE_SPIP|attribut_html)]&t=[(#NOM_SITE_SPIP|attribut_html)]" class="fa-facebook">Facebook</a></li>
</ul>
</footer>
</section>
<!-- Footer -->
<footer id="footer">
<ul class="copyright">
<li><a href="https://www.eau-et-rivieres.org">Eau & Rivières de Bretagne, Espace associatif - 6, rue Pen ar Créac'h - 29200 BREST</a></li><li><a href="https://www.spip.net">Propulsé par SPIP</a></li><li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
</ul>
</footer>
</div>
<!-- Scripts -->
<script>
if ('addEventListener' in window) {
window.addEventListener('load', function() { document.body.className = document.body.className.replace(/\bis-preload\b/, ''); });
document.body.className += (navigator.userAgent.match(/(MSIE|rv:11\.0)/) ? ' is-ie' : '');
}
</script>
</body>
</html>
</BOUCLE_principale>
Loading…
Cancel
Save