/trunk/src/org/tela_botanica/del/client/composants/moteurrecherche/MoteurRechercheVue.ui.xml |
---|
12,8 → 12,8 |
<g:Button styleName="{style.boutonRecherche}" ui:field="boutonRecherche" text="{constants.rechercher}"> |
</g:Button> |
<g:Label styleName="{style.lienRechercheAvancee}" ui:field="lienRechercheAvancee" text="{constants.rechercheAvancee}"></g:Label> |
<g:HTMLPanel styleName="{style.rechercheAvancee}" |
ui:field="rechercheAvancee"> |
<g:HTMLPanel styleName="{style.rechercheAvancee}" ui:field="rechercheAvancee"> |
<g:Button ui:field="boutonFermer" styleName="{style.boutonFermer}">Fermer</g:Button> |
<g:HTMLPanel styleName="{style.champRecherche}"> |
<g:Label text="{constants.departement}" /> |
<g:TextBox ui:field="departement" /> |
/trunk/src/org/tela_botanica/del/client/composants/moteurrecherche/MoteurRecherchePresenteur.java |
---|
31,6 → 31,8 |
public abstract HasClickHandlers getBoutonRechercheSimple(); |
public abstract HasClickHandlers getBoutonFermer(); |
public abstract HasClickHandlers getBoutonRechercheAvancee(); |
public abstract HasKeyPressHandlers getChampSaisie(); |
119,6 → 121,13 |
} |
}); |
vue.getBoutonFermer().addClickHandler(new ClickHandler() { |
@Override |
public void onClick(ClickEvent event) { |
vue.basculerAffichageZoneCache(); |
} |
}); |
vue.getBoutonRechercheAvancee().addClickHandler(new ClickHandler() { |
public void onClick(ClickEvent event) { |
collecterInfosRecherche(); |
/trunk/src/org/tela_botanica/del/client/composants/moteurrecherche/MoteurRechercheVue.java |
---|
30,7 → 30,7 |
@UiField |
Label lienRechercheAvancee, recherchePrecedente; |
@UiField |
Button boutonRecherche, boutonRechercheAvancee; |
Button boutonRecherche, boutonRechercheAvancee, boutonFermer; |
@UiField |
TextBox recherchePrincipale, departement, commune, famille, genre, tag, motCle, auteur, date; |
61,6 → 61,11 |
} |
@Override |
public HasClickHandlers getBoutonFermer() { |
return boutonFermer; |
} |
@Override |
public HasClickHandlers getBoutonRechercheAvancee() { |
return boutonRechercheAvancee; |
} |
/trunk/src/org/tela_botanica/del/client/composants/moteurrecherche/MoteurRecherche.css |
---|
1,6 → 1,8 |
.recherchePrincipale {width: 370px; font-size:18px; padding:5px; -moz-border-radius:10px; border:solid 1px #AAA; float:left;} |
.recherchePrincipale {width: 700px; font-size:18px; padding:5px; -moz-border-radius:10px; border:solid 1px #AAA; float:left;} |
.boutonRecherche {border:solid 1px #AAA; -moz-border-radius:10px; padding:5px; cursor:pointer; float:left; margin:0 10px 0 10px} |
.lienRechercheAvancee {cursor:pointer; text-decoration:underline; color:blue; float:left; margin-right:240px; margin:5px } |
.rechercheAvancee {border:solid 1px #333; padding:10px; -moz-border-radius:0 0 10px 10px; -moz-box-shadow:5px 5px 10px #EEE;position:absolute; width:700px; margin-top:40px; background:white; z-index:2000} |
.champRecherche {float:left; width:50%; padding-bottom:5px} |
.champRecherche {float:left; width:45%; padding-bottom:5px} |
.champRecherche input {width:90%} |
.recherchePrecedente {color:#555; padding:5px; font-style:italic; clear:left} |
.boutonFermer {float:right; background:url("./img/cross.png") no-repeat 0 2px; border:none; padding:0 0 0 16px; color:blue; text-decoration:underline; cursor:pointer } |