Skip to content

Commit

Permalink
Merge pull request #7 from adrillon/avertissements
Browse files Browse the repository at this point in the history
Ajout de templates pour la balise Avertissement
  • Loading branch information
psychoz971 authored Feb 1, 2018
2 parents d3617ef + d4d2768 commit e595de7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions xml_templates/balises/avertissement.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[(#REM)
Variables:
data : Contenu a parser
-->]

<B_avertissement>
<div class="xml-avertissement lead">
<BOUCLE_avertissement(DATA){source tableau, #ENV{data}|table_valeur{0/children}}>
<INCLURE{fond=xml_templates/balises/#CLE, env}{data=#VALEUR} />
</BOUCLE_avertissement>
</div>
</B_avertissement>
12 changes: 12 additions & 0 deletions xml_templates/balises/titre.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[(#REM)
Variables:
data : Contenu a parser
-->]

<B_titre>
<div class="xml-titre">
<h3 class="panel-title" >
[(#ENV{data}|table_valeur{0/text})]
</h3>
</div>
</B_titre>

0 comments on commit e595de7

Please sign in to comment.