Browse Source

un peu + d'esthétique pour les forms et breadcrumb

svn/root/trunk
l.oiseau2nuit@gmail.com 3 years ago
parent
commit
dea085185a
  1. 18
      breadcrumb.html
  2. 2
      formulaires/ecrire_auteur.html
  3. 15
      formulaires/recherche.html

18
breadcrumb.html

@ -1,8 +1,10 @@
<nav class="bs-extra bs-breadcrumb" role="navigation">
<ol role="navigation" class="container breadcrumb" prefix="v: http://rdf.data-vocabulary.org/#">
[<li typeof="v:Breadcrumb"><i class="fa fa-fw fa-lg fa-home" aria-hidden="true"></i>
(#ENV{type-page}|match{sommaire}|?{<span property="v:title"><:accueil_site:></span>,<a rel="home v:url" property="v:title" itemprop="url" href="#URL_SITE_SPIP/"><:accueil_site:></a>})
</li>]
<INCLURE{fond=breadcrumb/#ENV{type-page},env} />
</ol>
</nav>
<section class="bs-extra bs-breadcrumb">
<nav class="container" role="navigation">
<ol role="navigation" class="breadcrumb" prefix="v: http://rdf.data-vocabulary.org/#">
[<li typeof="v:Breadcrumb"><i class="fa fa-fw fa-lg fa-home" aria-hidden="true"></i>
(#ENV{type-page}|match{sommaire}|?{<span property="v:title"><:accueil_site:></span>,<a rel="home v:url" property="v:title" itemprop="url" href="#URL_SITE_SPIP/"><:accueil_site:></a>})
</li>]
<INCLURE{fond=breadcrumb/#ENV{type-page},env} />
</ol>
</nav>
</section>

2
formulaires/ecrire_auteur.html

@ -1,4 +1,4 @@
<div class="formulaire_spip formulaire_ecrire_auteur ajax" id="formulaire_ecrire_auteur#ENV{id}">
<div class="formulaire_ecrire_auteur ajax" id="formulaire_ecrire_auteur#ENV{id}">
<br class='bugajaxie' />
[<p class="reponse_formulaire reponse_formulaire_ok bg-success">(#ENV*{message_ok})</p>]
[<p class="reponse_formulaire reponse_formulaire_erreur bg-danger">(#ENV*{message_erreur})</p>]

15
formulaires/recherche.html

@ -1,9 +1,8 @@
<form class="[(#ENV{class})] form-inline" role="form" action="[(#ENV{action})]" method="get">
<form class="form-inline[ (#ENV{class})]" role="form" action="[(#ENV{action})]" method="get">
[(#ENV{action}|form_hidden)]
<div class="form-group editer saisie_input">
[<input class="form-control" type="hidden" name="lang" value="(#ENV{lang})" />]
<input[ (#HTML5|?{type="search" class="form-control",type="text" class="form-control"[ placeholder="(#ENV{recherche}|sinon{<:search:>})"]})] name="recherche" id="#ENV{_id_champ}"[ value="(#ENV{recherche})"] accesskey="4" autocapitalize="off" autocorrect="off" />
<button type="submit" class="form-control btn btn-primary" title="<:info_rechercher:>"><i class="fa fa-fw fa-lg fa-search" aria-hidden="true"></i></button>
</div>
</form>
<div class="form-group editer saisie_input">
[<input class="form-control" type="hidden" name="lang" value="(#ENV{lang})" />]
<input[ (#HTML5|?{type="search" class="form-control",type="text" class="form-control"[ placeholder="(#ENV{recherche}|sinon{<:info_rechercher:>})"]})] name="recherche" id="#ENV{_id_champ}"[ value="(#ENV{recherche}|sinon{<:info_rechercher:>})"] accesskey="4" autocapitalize="off" autocorrect="off" onFocus="if(this.value=='<:info_rechercher:>')this.value='';" />
<button type="submit" class="form-control btn btn-primary" title="<:info_rechercher:>"><i class="fa fa-fw fa-lg fa-search" aria-hidden="true"></i></button>
</div>
</form>
Loading…
Cancel
Save