Browse Source

v0.2.0, un pas de géant

master
chankalan 2 years ago
parent
commit
f39e29ba19
  1. 2
      baz_april_options.php
  2. 30
      footer/dist.html
  3. 7
      inclure/boussole.html
  4. 9
      lang/baz_april_fr.php
  5. 2
      lang/paquet-baz_april_fr.php
  6. 46
      paquet.xml
  7. 2
      readme.md
  8. 68
      sociaux_pipelines.php
  9. 0
      squelettes/401.html
  10. 0
      squelettes/article.html
  11. 0
      squelettes/aside/dist.html
  12. 0
      squelettes/aside/z_apl.html
  13. 0
      squelettes/auteur.html
  14. 0
      squelettes/backend.html
  15. 14
      squelettes/body.html
  16. 0
      squelettes/breadcrumb/401.html
  17. 0
      squelettes/breadcrumb/404.html
  18. 0
      squelettes/breadcrumb/auteur.html
  19. 0
      squelettes/breadcrumb/dist.html
  20. 0
      squelettes/breadcrumb/inc-objet.html
  21. 0
      squelettes/breadcrumb/login.html
  22. 0
      squelettes/breadcrumb/mot.html
  23. 0
      squelettes/breadcrumb/plan.html
  24. 0
      squelettes/breadcrumb/recherche.html
  25. 3
      squelettes/connex/dist.html
  26. 0
      squelettes/content/401.html
  27. 0
      squelettes/content/404.html
  28. 0
      squelettes/content/article.html
  29. 0
      squelettes/content/auteur.html
  30. 18
      squelettes/content/boussole.html
  31. 0
      squelettes/content/login.html
  32. 0
      squelettes/content/mot.html
  33. 0
      squelettes/content/plan.html
  34. 0
      squelettes/content/recherche.html
  35. 0
      squelettes/content/rubrique-blog.html
  36. 0
      squelettes/content/rubrique-blog.xml
  37. 0
      squelettes/content/rubrique-dossier.html
  38. 0
      squelettes/content/rubrique-dossier.xml
  39. 0
      squelettes/content/rubrique-pagerubrique.html
  40. 0
      squelettes/content/rubrique-pagerubrique.xml
  41. 0
      squelettes/content/rubrique.html
  42. 0
      squelettes/content/site.html
  43. 0
      squelettes/content/sommaire.html
  44. 0
      squelettes/content/spip_pass.html
  45. 0
      squelettes/content/z_apl.html
  46. 6
      squelettes/csv/boussole.csv
  47. 6
      squelettes/csv/boussole_cachee.csv
  48. 0
      squelettes/extra/article.html
  49. 0
      squelettes/extra/auteur.html
  50. 0
      squelettes/extra/dist.html
  51. 0
      squelettes/extra/mot.html
  52. 0
      squelettes/extra/rubrique.html
  53. 0
      squelettes/extra/site.html
  54. 0
      squelettes/extra/sommaire.html
  55. 0
      squelettes/extra/z_apl.html
  56. 14
      squelettes/footer/dist.html
  57. 0
      squelettes/head/404.html
  58. 0
      squelettes/head/article.html
  59. 0
      squelettes/head/auteur.html
  60. 0
      squelettes/head/dist.html
  61. 0
      squelettes/head/mot.html
  62. 0
      squelettes/head/plan.html
  63. 0
      squelettes/head/recherche.html
  64. 0
      squelettes/head/rubrique.html
  65. 0
      squelettes/head/site.html
  66. 0
      squelettes/head/sommaire.html
  67. 0
      squelettes/head_js/dist.html
  68. 0
      squelettes/header/dist.html
  69. 0
      squelettes/inclure/archives-mois.html
  70. 0
      squelettes/inclure/article-hero.html
  71. 0
      squelettes/inclure/articles-resume.html
  72. 0
      squelettes/inclure/articles.html
  73. 7
      squelettes/inclure/boussole.html
  74. 0
      squelettes/inclure/documents.html
  75. 4
      squelettes/inclure/head.html
  76. 0
      squelettes/inclure/liste-articles.html
  77. 0
      squelettes/inclure/liste-rubriques.html
  78. 0
      squelettes/inclure/mots-articles-rubrique.html
  79. 2
      squelettes/inclure/nav-secteurs.html
  80. 0
      squelettes/inclure/periode-mois.html
  81. 0
      squelettes/inclure/petition.html
  82. 0
      squelettes/inclure/resume/article.html
  83. 0
      squelettes/inclure/resume/rubrique.html
  84. 0
      squelettes/inclure/resume/site.html
  85. 0
      squelettes/inclure/resume/syndic_article.html
  86. 7
      squelettes/inclure/rezo.html
  87. 0
      squelettes/inclure/rss-item.html
  88. 0
      squelettes/inclure/rubriques.html
  89. 18
      squelettes/js/baz_script.js
  90. 0
      squelettes/js/css3-mediaqueries.js
  91. 0
      squelettes/js/html5shiv.js
  92. 0
      squelettes/liste/articles-auteur.html
  93. 0
      squelettes/liste/articles-recherche.html
  94. 0
      squelettes/liste/articles-resume.html
  95. 0
      squelettes/liste/rubriques-recherche.html
  96. 0
      squelettes/liste/syndicarticles.html
  97. 0
      squelettes/modeles/icone.html
  98. 0
      squelettes/modeles/iconebloc.html
  99. 0
      squelettes/modeles/imagesenligne.html
  100. 0
      squelettes/modeles/rubrique_articles.html
  101. Some files were not shown because too many files have changed in this diff Show More

2
baz_april_options.php

@ -3,7 +3,7 @@ if (!defined("_ECRIRE_INC_VERSION")) return;
// les blocs de baz
if (!isset($GLOBALS['z_blocs'])) {
$GLOBALS['z_blocs'] = array('content','aside','extra','head','head_js','header','footer','breadcrumb');
$GLOBALS['z_blocs'] = array('content','aside','extra','connex','head','head_js','header','footer','breadcrumb');
}
// les images de plus de 2000*1000 pixels de haut seront réduites en 2000x1000 maximum

30
footer/dist.html

@ -1,30 +0,0 @@
<p class="colophon">
<BOUCLE_annee(ARTICLES){par date}{0,1}>[(#DATE|annee|!={#VAL{Y}|date}|oui)[(#DATE|annee)]]</BOUCLE_annee>-</B_annee>[(#DATE|annee) ] &mdash; #NOM_SITE_SPIP<br />
<a rel="contents" href="#URL_PAGE{plan}"><:plan_site:></a><span class="sep"> |
</span><a href="#URL_PAGE{backend}" rel="alternate" title="<:syndiquer_site:>">RSS&nbsp;2.0</a>
<B_mentions>
<span class="sep"> |
</span><BOUCLE_mentions(ARTICLES){page=mentions}>
<a href="#URL_ARTICLE">#TITRE</a>
</BOUCLE_mentions>
<B_contact>
<span class="sep"> | </span>
<BOUCLE_contact(ARTICLES){page=contact}>
<a href="#URL_ARTICLE">#TITRE</a>
</BOUCLE_contact>
</p>
<p class="colophon"><?php
if (isset($GLOBALS['visiteur_session']['id_auteur']) AND $GLOBALS['visiteur_session']['id_auteur']) {
?><a href="#URL_LOGOUT" rel="nofollow"><:icone_deconnecter:></a><?php
if (include_spip('inc/autoriser') AND autoriser('ecrire')){
?><span class="sep"> | </span><a href="#EVAL{_DIR_RESTREINT_ABS}"><:espace_prive:></a>
<span class="sep"> | </span><?php
}
}
else {
?><a href="[(#URL_PAGE{login}|parametre_url{url,#SELF|parametre_url{url,''}})]" rel="nofollow" class='login_modal'><:lien_connecter:></a>
<span class="sep"> | </span><?php
}
?>
<span class="generator"><a href="http://www.spip.net/" title="<:site_realise_avec_spip:>" class="spip_out">SPIP</a></span>
</p>

7
inclure/boussole.html

@ -1,7 +0,0 @@
<div class="header__boussole">
<div class="page--container">
<nav class="nav">
<a href="#">inclure un menu</a>
</nav>
</div>
</div>

9
lang/baz_april_fr.php

@ -5,11 +5,18 @@ if (!defined('_ECRIRE_INC_VERSION')) return;
$GLOBALS[$GLOBALS['idx_lang']] = array(
'cfg_baz_april' => 'Configuration du jeu de squelettes<br />
APRIL - base',
'site_april' => 'Sites April ...',
'des_initiatives_april' => 'Des initiatives de l’April',
'actualites' => 'Actualités',
'archives' => 'Archives',
'articles_recents_du_site' => 'Articles publiés récemment sur ce site',
'articles_lies' => 'Articles liés',
'aucun_article_dans_cette_periode' => 'Aucun article durant cette période',
'tags' => 'Tags',
'tri_periodique' => 'Tri périodique'
'tri_periodique' => 'Tri périodique',
);

2
lang/paquet-baz_april_fr.php

@ -8,5 +8,5 @@ if (!defined('_ECRIRE_INC_VERSION')) return;
$GLOBALS[$GLOBALS['idx_lang']] = array(
'baz_april_description' => 'squelettes HTML5 avec scss et Tiny Typo',
// 'baz_april_slogan' => 'squelettes APRIL',
'baz_april_slogan' => 'squelettes de base pour les sites APRIL',
);

46
paquet.xml

@ -1,11 +1,10 @@
<paquet
prefix="baz_april"
categorie="squelette"
version="0.1.3"
version="0.2.0"
schema="0.0.1"
etat="dev"
compatibilite="[3.2.7;3.3.*]"
logo="img/baz-32.png"
>
<nom>APRIL - base</nom>
<!-- Base de développement sur Z-core + SCSSPHP (SASS) + Tiny Typo + FontAwesome v5 -->
@ -18,24 +17,31 @@
<licence lien="https://www.gnu.org/licenses/gpl-3.0.html">GPL 3 pour le squelette SPIP</licence>
<licence lien="http://scripts.sil.org">SIL pour les typographies</licence>
<necessite nom="Zcore" compatibilite="[2.6.7;[" />
<necessite nom="scssphp" compatibilite="[1.4.7;[" />
<necessite nom="noizetier" compatibilite="[3.0.109;[" />
<necessite nom="pages" compatibilite="[1.3.7;[" />
<necessite nom="crayons" compatibilite="[1.26.3;[" />
<necessite nom="porte_plume_intertitres" compatibilite="[1.1.3;[" />
<necessite nom="compositions" compatibilite="[3.3.0;[" />
<necessite nom="mailcrypt" compatibilite="[2.2.0;[" />
<necessite nom="bellespuces" compatibilite="[0.1.1;[" />
<necessite nom="facteur" compatibilite="[3.4.7;[" />
<necessite nom="ppp" compatibilite="[1.0.7;[" />
<necessite nom="roles_documents" compatibilite="[0.2.2;[" />
<necessite nom="feuillederoute" compatibilite="[1.2.0;[" />
<necessite nom="tri_par_rubrique" compatibilite="[1.4.2;[" />
<necessite nom="basicone" compatibilite="[0.1.3;[" />
<necessite nom="menus" compatibilite="[1.7.25;[" />
<necessite nom="Zcore" />
<necessite nom="scssphp" />
<necessite nom="noizetier" />
<necessite nom="pages" />
<necessite nom="crayons" />
<necessite nom="porte_plume_intertitres" />
<necessite nom="compositions" />
<necessite nom="mailcrypt" />
<necessite nom="bellespuces" />
<necessite nom="facteur" />
<necessite nom="ppp" />
<necessite nom="roles_documents" />
<necessite nom="feuillederoute" />
<necessite nom="tri_par_rubrique" />
<necessite nom="basicone" />
<necessite nom="menus" />
<necessite nom="prive_fluide_remix" />
<!-- <necessite nom="rang" /> -->
<utilise nom="compositions" compatibilite="[3.5.9;[" />
<utilise nom="photoswipe" compatibilite="[0.3.4;[" />
<utilise nom="compositions" />
<utilise nom="photoswipe" />
<utilise nom="sociaux" />
<chemin path="squelettes" />
<chemin path="squelettes/scss" />
<chemin path="" />
</paquet>

2
readme.md

@ -41,3 +41,5 @@ git clone https://github.com/nd-/tri_par_rubrique.git
git clone https://git.spip.net/spip-contrib-extensions/role_documents.git
git clone https://git.spip.net/spip-contrib-extensions/menus.git
git clone https://git.spip.net/spip-contrib-extensions/prive_fluide_remix.git

68
sociaux_pipelines.php

@ -0,0 +1,68 @@
<?php
/**
* Plugin sociaux
* Licence GPL3
*
*/
if (!defined("_ECRIRE_INC_VERSION")) {
return;
}
/**
* Inserer une CSS pour le contenu embed
*
* @param $head
*
* @return string
*/
function sociaux_insert_head_css($head) {
include_spip('inc/config');
if (lire_config('sociaux/css', 0)) {
$head .= '<link rel="stylesheet" type="text/css" href="' . find_in_path('lib/socicon/style.css') . '" />' . "\n";
$head .= '<link rel="stylesheet" type="text/css" href="' . find_in_path('css/sociaux.css') . '" />' . "\n";
}
return $head;
}
function sociaux_sociaux_lister($flux) {
/**
* On reprend les éléments initiaux de la v1 du plugin :
* facebook, twitter, instagram, blogger, pinterest, linkedin, youtube, rss, email, tripadvisor, vimeo, flickr
*
*/
if (isset($flux['data'])) {
$flux['data']['mail'] = 'E-mail';
$flux['data']['rss'] = 'RSS';
$flux['data']['facebook'] = 'Facebook';
$flux['data']['twitter'] = 'Twitter';
$flux['data']['mastodon'] = 'Mastodon';
$flux['data']['instagram'] = 'Instagram';
$flux['data']['blogger'] = 'Blogger';
$flux['data']['pinterest'] = 'Pinterest';
$flux['data']['linkedin'] = 'Linkedin';
$flux['data']['youtube'] = 'Youtube';
$flux['data']['tripadvisor'] = 'TripAdvisor';
$flux['data']['vimeo'] = 'Vimeo';
$flux['data']['flickr'] = 'Flickr';
$flux['data']['viber'] = 'Viber';
$flux['data']['whatsapp'] = 'Whatsapp';
$flux['data']['skype'] = 'Skype';
}
return $flux;
}
/**
* Ajoute les scripts JS et CSS de saisies dans l'espace privé
*
* @param string $flux
* @return string
**/
function sociaux_header_prive($flux){
$css = find_in_path('lib/socicon/style.css');
$flux .= "\n<link rel='stylesheet' href='$css' type='text/css' media='all' />\n";
return $flux;
}

0
401.html → squelettes/401.html

0
article.html → squelettes/article.html

0
aside/dist.html → squelettes/aside/dist.html

0
aside/z_apl.html → squelettes/aside/z_apl.html

0
auteur.html → squelettes/auteur.html

0
backend.html → squelettes/backend.html

14
body.html → squelettes/body.html

@ -3,7 +3,6 @@
<li class="accesrapide"><a class="accesrapide__lien visuallyhidden focusable" href="#contenu"><:baz_april:evitement_contenu:></a></li>
<li class="accesrapide"><a class="accesrapide__lien visuallyhidden focusable" href="#navigation"><:baz_april:evitement_navigation:></a></li>
</ul>
<div id="boussole_spip">[(#REM) La boussole SPIP va s'insérer ici ]</div>
<div class="page__wrapper">
<header class="page__header">
@ -11,7 +10,7 @@
<INCLURE{fond=header/#ENV{type-page},env} />
<INCLURE{fond=inclure/nav-secteurs,env} />
</div>
<INCLURE{fond=inclure/boussole} />
[<div class="header__boussole" data-page="(#URL_PAGE{boussole}|parametre_url{var_zajax,content})"></div>]
</header>
<div class="page__content page--container">
@ -27,15 +26,12 @@
</aside><!--.aside-->]
</div>
<aside class="connex">
<INCLURE{fond=connex/#ENV{type-page},env} />
</aside>
<footer class="page__footer">
<div class="page--container">
<div class="menus_footer flex flex5">
#INCLURE{fond=inclure/menu, env, identifiant=pied1}
#INCLURE{fond=inclure/menu, env, identifiant=pied2}
#INCLURE{fond=inclure/menu, env, identifiant=pied3}
#INCLURE{fond=inclure/menu, env, identifiant=pied4}
#INCLURE{fond=inclure/menu, env, identifiant=pied5}
</div>
<INCLURE{fond=footer/#ENV{type-page},env} />
</div>
</footer>

0
breadcrumb/401.html → squelettes/breadcrumb/401.html

0
breadcrumb/404.html → squelettes/breadcrumb/404.html

0
breadcrumb/auteur.html → squelettes/breadcrumb/auteur.html

0
breadcrumb/dist.html → squelettes/breadcrumb/dist.html

0
breadcrumb/inc-objet.html → squelettes/breadcrumb/inc-objet.html

0
breadcrumb/login.html → squelettes/breadcrumb/login.html

0
breadcrumb/mot.html → squelettes/breadcrumb/mot.html

0
breadcrumb/plan.html → squelettes/breadcrumb/plan.html

0
breadcrumb/recherche.html → squelettes/breadcrumb/recherche.html

3
squelettes/connex/dist.html

@ -0,0 +1,3 @@
<!-- connex -->[(#REM) charger un fichier different pour chaque page ]
<!--<div class="page--container">
</div>-->

0
content/401.html → squelettes/content/401.html

0
content/404.html → squelettes/content/404.html

0
content/article.html → squelettes/content/article.html

0
content/auteur.html → squelettes/content/auteur.html

18
squelettes/content/boussole.html

@ -0,0 +1,18 @@
<div class="page--container">
<span class="initiatives"><:baz_april:des_initiatives_april:></span>
<button type="button" class="btn-boussole"><:baz_april:site_april:></button>
<nav class="nav"><BOUCLE_csv(DATA){source csv, #CHEMIN{csv/boussole.csv}}>
<a href="#VALEUR{1}">#VALEUR{0}</a></BOUCLE_csv>
</nav>
</div>
<script type="text/javascript">
jQuery(function($){
// afficher/masquer la boussole < medium
$('.btn-boussole').on('click', function(){
$(this).toggleClass('actif').siblings('.nav').toggleClass('ouvert');
$('.principale .btn-nav').removeClass('actif').siblings('.nav-list').removeClass('ouvert');
});
});
</script>

0
content/login.html → squelettes/content/login.html

0
content/mot.html → squelettes/content/mot.html

0
content/plan.html → squelettes/content/plan.html

0
content/recherche.html → squelettes/content/recherche.html

0
content/rubrique-blog.html → squelettes/content/rubrique-blog.html

0
content/rubrique-blog.xml → squelettes/content/rubrique-blog.xml

0
content/rubrique-dossier.html → squelettes/content/rubrique-dossier.html

0
content/rubrique-dossier.xml → squelettes/content/rubrique-dossier.xml

0
content/rubrique-pagerubrique.html → squelettes/content/rubrique-pagerubrique.html

0
content/rubrique-pagerubrique.xml → squelettes/content/rubrique-pagerubrique.xml

0
content/rubrique.html → squelettes/content/rubrique.html

0
content/site.html → squelettes/content/site.html

0
content/sommaire.html → squelettes/content/sommaire.html

0
content/spip_pass.html → squelettes/content/spip_pass.html

0
content/z_apl.html → squelettes/content/z_apl.html

6
squelettes/csv/boussole.csv

@ -0,0 +1,6 @@
April,https://www.april.org
Expolibre,https://www.expolibre.org
Chapril,https://www.chapril.org
Libre à vous,https://www.libreavous.org
Libre à lire,https://www.librealire.org
Candidat.fr,https://www.candidat.fr
1 April https://www.april.org
2 Expolibre https://www.expolibre.org
3 Chapril https://www.chapril.org
4 Libre à vous https://www.libreavous.org
5 Libre à lire https://www.librealire.org
6 Candidat.fr https://www.candidat.fr

6
squelettes/csv/boussole_cachee.csv

@ -0,0 +1,6 @@
April,https://www.april.org
Expolibre,https://www.expolibre.org
Chapril,https://www.chapril.org
Libre à vous,https://www.libreavous.org
Libre à lire,https://www.librealire.org
Candidat.fr,https://www.candidat.fr
1 April https://www.april.org
2 Expolibre https://www.expolibre.org
3 Chapril https://www.chapril.org
4 Libre à vous https://www.libreavous.org
5 Libre à lire https://www.librealire.org
6 Candidat.fr https://www.candidat.fr

0
extra/article.html → squelettes/extra/article.html

0
extra/auteur.html → squelettes/extra/auteur.html

0
extra/dist.html → squelettes/extra/dist.html

0
extra/mot.html → squelettes/extra/mot.html

0
extra/rubrique.html → squelettes/extra/rubrique.html

0
extra/site.html → squelettes/extra/site.html

0
extra/sommaire.html → squelettes/extra/sommaire.html

0
extra/z_apl.html → squelettes/extra/z_apl.html

14
squelettes/footer/dist.html

@ -0,0 +1,14 @@
<p class="colophon">
<span class="april"><img src="#CHEMIN{scss/img/logo_april_b.png}" /></span>
<BOUCLE_contact(ARTICLES){page=contact}>
<a href="#URL_ARTICLE">#TITRE</a>
</BOUCLE_contact>
<INCLURE{fond=inclure/rezo} />
<BOUCLE_mentions(ARTICLES){page=mentions}>
<a href="#URL_ARTICLE">#TITRE</a>
</BOUCLE_mentions>
<a rel="contents" href="#URL_PAGE{plan}"><:plan_site:></a>
</p>

0
head/404.html → squelettes/head/404.html

0
head/article.html → squelettes/head/article.html

0
head/auteur.html → squelettes/head/auteur.html

0
head/dist.html → squelettes/head/dist.html

0
head/mot.html → squelettes/head/mot.html

0
head/plan.html → squelettes/head/plan.html

0
head/recherche.html → squelettes/head/recherche.html

0
head/rubrique.html → squelettes/head/rubrique.html

0
head/site.html → squelettes/head/site.html

0
head/sommaire.html → squelettes/head/sommaire.html

0
head_js/dist.html → squelettes/head_js/dist.html

0
header/dist.html → squelettes/header/dist.html

0
inclure/archives-mois.html → squelettes/inclure/archives-mois.html

0
inclure/article-hero.html → squelettes/inclure/article-hero.html

0
inclure/articles-resume.html → squelettes/inclure/articles-resume.html

0
inclure/articles.html → squelettes/inclure/articles.html

7
squelettes/inclure/boussole.html

@ -0,0 +1,7 @@
<div class="header__boussole">
<div class="page--container">
<nav class="nav"><BOUCLE_csv(DATA){source csv, #CHEMIN{csv/boussole.csv}}>
<a href="#VALEUR{1}">#VALEUR{0}</a></BOUCLE_csv>
</nav>
</div>
</div>

0
inclure/documents.html → squelettes/inclure/documents.html

4
inclure/head.html → squelettes/inclure/head.html

@ -8,8 +8,10 @@
[(#REM) Lien vers le flux RSS du site ]
[<link rel="alternate" type="application/rss+xml" title="<:syndiquer_site:>" href="(#URL_PAGE{backend})" />]
[(#REM) baz css ]
[(#REM) baz scss ]
[<link rel="stylesheet" href="(#CSS{scss/baz.css})" type="text/css" />]
[(#REM) surcharge facile pur css ]
[<link rel="stylesheet" href="(#CSS{css/perso.css})" type="text/css" />]
#INSERT_HEAD_CSS

0
inclure/liste-articles.html → squelettes/inclure/liste-articles.html

0
inclure/liste-rubriques.html → squelettes/inclure/liste-rubriques.html

0
inclure/mots-articles-rubrique.html → squelettes/inclure/mots-articles-rubrique.html

2
inclure/nav-secteurs.html → squelettes/inclure/nav-secteurs.html

@ -1,5 +1,5 @@
<B_nav>
<nav class="nav" aria-label="Menu principal">
<nav class="nav principale" aria-label="Menu principal">
<ul class="nav-list">
<BOUCLE_nav(RUBRIQUES) {racine} {par num titre, titre}>
<li class="nav-item[ (#EXPOSE)][ (#COMPTEUR_BOUCLE|=={1}|oui)first][ (#COMPTEUR_BOUCLE|=={#TOTAL_BOUCLE}|oui)last]"><a href="#URL_RUBRIQUE"[ class="(#EXPOSE)"]>#TITRE</a></li>

0
inclure/periode-mois.html → squelettes/inclure/periode-mois.html

0
inclure/petition.html → squelettes/inclure/petition.html

0
inclure/resume/article.html → squelettes/inclure/resume/article.html

0
inclure/resume/rubrique.html → squelettes/inclure/resume/rubrique.html

0
inclure/resume/site.html → squelettes/inclure/resume/site.html

0
inclure/resume/syndic_article.html → squelettes/inclure/resume/syndic_article.html

7
squelettes/inclure/rezo.html

@ -0,0 +1,7 @@
[(#REM) Avec plugin sociaux ]
<!-- sociaux -->[(#SET{rezo,[(#PIPELINE{sociaux_lister,#ARRAY{args,#ARRAY{skel,#SQUELETTE,date,#ENV**{date}},data,#ARRAY}})]})]
<span class="sociaux">
<BOUCLE_rezo (DATA) {source tableau,#GET{rezo}}>[(#CONFIG{sociaux/#CLE}|oui)
<a href="[(#CLE|=={mail}|oui)mailto:][(#CLE|=={skype}|oui)callto:]#CONFIG{sociaux/#CLE}" class="#CLE[(#CLE|in_array{#LISTE{rss,mail,whatsapp,skype}}|non)spip_out]">[(#CONFIG{sociaux/css}|oui)<span class="socicon socicon-#CLE"></span>]<span class="name">[(#VALEUR)]</span></a>]</BOUCLE_rezo>
</span>
<!-- #sociaux -->

0
inclure/rss-item.html → squelettes/inclure/rss-item.html

0
inclure/rubriques.html → squelettes/inclure/rubriques.html

18
js/baz_script.js → squelettes/js/baz_script.js

@ -11,7 +11,7 @@ jQuery(function($){
// masquer les mois des annees precedentes, les afficher au clic sur l'annee
$.each( ['.annees.archive'], function(i,hi){
$( ".periode div" ).find(hi).each(function(index) {
// Creer un div apres le h3 et y placer tout ce qui se trouve apres et jusqu'au hi suivant
// Creer un div apres et y placer tout ce qui se trouve apres et jusqu'au hi suivant
$(this).after("<span class=\"mois_archives\"></span>").next().append($(this).next().nextUntil(hi));
// plier/deplier le contenu
// $(this).next().hide();
@ -23,4 +23,20 @@ jQuery(function($){
});
});
// charger la boussole
function boussole(){
var boussole = $('.header__boussole').attr('data-page');
$('.header__boussole').load(boussole);
}
boussole();
// placer le html du bouton du menu, visible < medium
$('.nav.principale').prepend('<button type="button" class="btn-nav"><span class="ham"></span>MENU</button>');
// afficher/masquer le menu
$('.principale .btn-nav').on('click', function(){
$(this).toggleClass('actif').siblings('ul').toggleClass('ouvert');
$('.btn-boussole').removeClass('actif');
$('.header__boussole .nav').removeClass('ouvert');
});
});

0
js/css3-mediaqueries.js → squelettes/js/css3-mediaqueries.js

0
js/html5shiv.js → squelettes/js/html5shiv.js vendored

0
liste/articles-auteur.html → squelettes/liste/articles-auteur.html

0
liste/articles-recherche.html → squelettes/liste/articles-recherche.html

0
liste/articles-resume.html → squelettes/liste/articles-resume.html

0
liste/rubriques-recherche.html → squelettes/liste/rubriques-recherche.html

0
liste/syndicarticles.html → squelettes/liste/syndicarticles.html

0
modeles/icone.html → squelettes/modeles/icone.html

0
modeles/iconebloc.html → squelettes/modeles/iconebloc.html

0
modeles/imagesenligne.html → squelettes/modeles/imagesenligne.html

0
modeles/rubrique_articles.html → squelettes/modeles/rubrique_articles.html

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save