Browse Source

Ajouter un raccourcis inserer_modeles pour les boutons Foundation

svn/root/tags/v6.7.6
p@henix.be 5 years ago
parent
commit
8a1fa5373c
  1. 3
      .gitattributes
  2. BIN
      icones_barre/fi-button.png
  3. 12
      icones_barre/fi-button.svg
  4. 7
      lang/foundation_6_fr.php
  5. 35
      modeles/button.yaml
  6. 2
      paquet.xml

3
.gitattributes vendored

@ -10,6 +10,8 @@ formulaires/modele_grille_foundation.php -text
/foundation_6_fonctions.php -text
/foundation_6_options.php -text
/foundation_6_pipelines.php -text
icones_barre/fi-button.png -text
icones_barre/fi-button.svg -text
icones_barre/fi-database.png -text
icones_barre/fi-database.svg -text
icones_barre/fi-layout.png -text
@ -321,6 +323,7 @@ lib/foundation-icons/svgs/fi-yen.svg -text
lib/foundation-icons/svgs/fi-zoom-in.svg -text
lib/foundation-icons/svgs/fi-zoom-out.svg -text
modeles/button.html -text
modeles/button.yaml -text
modeles/fin_grille.html -text
modeles/fin_grille_element.html -text
modeles/grille.html -text

BIN
icones_barre/fi-button.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

12
icones_barre/fi-button.svg

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="100px" height="100px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve">
<g>
<path d="M80.049,22.127c-0.004-1.192-0.97-2.156-2.163-2.156c-0.028,0-0.054,0.007-0.082,0.008v0H22.302
c-0.063-0.006-0.125-0.019-0.19-0.019c-1.194,0-2.163,0.968-2.163,2.163c0,0.101,0.016,0.198,0.03,0.295V77.87h0.001
c0,0.003-0.001,0.006-0.001,0.009c0,1.194,0.969,2.162,2.163,2.162c0.046,0,0.089-0.011,0.134-0.013v0.002h55.688v-0.018
c1.153-0.042,2.077-0.98,2.084-2.142h0.001L80.049,22.127L80.049,22.127z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 911 B

7
lang/foundation_6_fr.php

@ -34,5 +34,10 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'grille_large_up' => 'Grille large (desktop)',
'grille_medium_up' => 'Grille medium (Tablette)',
'grille_small_up' => 'Grille small (Smartphone)',
'modele_grille_class' => 'Class css'
'modele_grille_class' => 'Class css',
'button' => 'Bouton',
'button_container_class' => 'Class du container',
'button_href' => 'Lien du bouton',
'button_class' => 'Class du bouton',
'button_titre' => 'Titre du bouton'
);

35
modeles/button.yaml

@ -0,0 +1,35 @@
nom: '<:foundation_6:button:>'
logo: 'icones_barre/fi-button.png'
icone_barre: 'fi-button.png'
parametres:
-
saisie: 'hidden'
options:
nom: 'modele'
defaut: 'button'
-
saisie: 'input'
options:
nom: 'titre'
label: '<:foundation_6:button_titre:>'
obligatoire: 'oui'
defaut: ''
-
saisie: 'input'
options:
nom: 'href'
label: '<:foundation_6:button_href:>'
obligatoire: 'oui'
defaut: ''
-
saisie: 'input'
options:
nom: 'container_class'
label: '<:foundation_6:button_container_class:>'
defaut: ''
-
saisie: 'input'
options:
nom: 'class'
label: '<:foundation_6:button_class:>'
defaut: ''

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="foundation_6"
categorie="outil"
version="6.7.4"
version="6.7.5"
etat="stable"
compatibilite="[3.0.0;3.2.*]"
logo="prive/themes/spip/images/foundation_6-64.png"

Loading…
Cancel
Save