/trunk/war/del.html |
---|
24,8 → 24,10 |
</p> |
</noscript> |
<nav role="navigation" id="navigation"></nav> |
<div id="titre"> |
<h1>IdentiPlante</h1> |
<div id="main"> |
<div id="zoneIdentification"></div> |
<div id="zoneTitre"><h1>IdentiPlante</h1></div> |
<div id="zoneLiens"></div> |
</div> |
<div id="contenu"></div> |
/trunk/war/del.css |
---|
16,7 → 16,7 |
font-size: 2em; |
font-weight: bold; |
color: #777777; |
margin: 40px 0px 0px; |
margin: 0; |
text-align: center; |
} |
49,20 → 49,23 |
margin: 15px 6px 6px; |
} |
#titre { |
text-align: center; |
background: #B0CB70; |
opacity: 0.9; |
position: fixed; |
width: 100% |
#zoneTitre { |
width:45%; |
margin-top:13px; |
} |
#titre h1 { |
width: 200px; |
/*background: url(./img/identiplante_mini.png) no-repeat 240px 0px;*/ |
margin: 0 auto; |
padding: 10px 50px 10px 50px |
#zoneIdentification { |
background: url("./img/carre_orange.png") no-repeat scroll 83px 10px transparent; |
float: right; |
padding-bottom: 35px; |
padding-left: 26px; |
width: 40%; |
} |
#zoneLiens { |
clear:both; |
} |
#zoneTitre h1 { |
font-size:72px; |
} |
.titre2 { |
94,32 → 97,20 |
} |
#navigation { |
position: fixed; |
width: 100%; |
top: 0; |
z-index: 3000 |
} |
#navigation>div>div { |
float: left; |
padding: 10px; |
background: #7DA422; |
margin-right: 3px; |
height: 20px; |
} |
#navigation>div>div:hover { |
background: #9Fc644 |
} |
#navigation a { |
text-decoration: none; |
color: #222; |
font-weight: bold |
} |
#contenu { |
padding: 56px 0 0 5%; |
#main { |
width:1000px; |
margin:0 auto; |
} |
#contenu a { |
366,7 → 357,8 |
} |
.limiteMax { |
max-width:870px; |
max-width:1000px; |
margin:0 auto; |
} |
.arrondi { |
568,3 → 560,41 |
opacity:1; |
color: black; |
} |
/** FROM TELA */ |
.importance1 { |
margin:10px 10px 20px 10px; |
background-color:#eaedcd; |
padding:8px; |
font-family:arial; |
font-size:11px; |
color:#3a3633; |
border-radius:10px; |
-moz-border-radius:10px; |
-webkit-border-radius:10px; |
box-shadow:7px 7px 11px #555; |
-moz-box-shadow:2px 2px 5px #aaa; |
-webkit-box-shadow:7px 7px 11px #aaa; |
filter:progid:DXImageTransform.Microsoft.Shadow(color='#aaaaaa', Direction=135, Strength=4);/* pour ie8 */ |
zoom:1;/* pour ie8 */ |
} |
.traitTela li { |
background: url("http://www.tela-botanica.org/sites/commun/generique/images/traitTela.jpg") no-repeat scroll 0 6px transparent; |
font-family: arial; |
font-size: 12px; |
font-weight: bold; |
color:#777; |
list-style: none outside none; |
padding: 10px 0 0 30px; |
} |
.connect { |
width:130px; |
margin:0; |
padding:0; |
} |
.contenuCentre { |
text-align:center; |
} |
/trunk/war/img/carre_orange.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/war/img/carre_orange.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/services/modules/0.1/observations/ListeObservations.php |
---|
59,6 → 59,7 |
// Lancement du service |
$liaisons = $this->chargerLiaisons(); |
$total = $this->compterObservations(); |
$this->navigation->setTotal($total); |
$observations = $this->chargerObservations($liaisons); |
/trunk/src/org/tela_botanica/del/client/vues/vueinitiale/VueInitiale.java |
---|
File deleted |
/trunk/src/org/tela_botanica/del/client/vues/vueinitiale/partagerUrl.css |
---|
File deleted |
/trunk/src/org/tela_botanica/del/client/vues/vueinitiale/PartagerUrlVue.ui.xml |
---|
File deleted |
\ No newline at end of file |
/trunk/src/org/tela_botanica/del/client/vues/vueinitiale/PartagerUrlPresenteur.java |
---|
File deleted |
/trunk/src/org/tela_botanica/del/client/vues/vueinitiale/PresenteurInitial.java |
---|
File deleted |
\ No newline at end of file |
/trunk/src/org/tela_botanica/del/client/vues/vueinitiale/PartagerUrlVue.java |
---|
File deleted |
/trunk/src/org/tela_botanica/del/client/vues/vueinitiale/VueInitiale.ui.xml |
---|
File deleted |
\ No newline at end of file |
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/resultats/ResultatsRechercheObservationsVue.ui.xml |
---|
8,7 → 8,7 |
<ui:style src="ResultatsRechercheObservations.css" /> |
<g:HTMLPanel> |
<g:HTMLPanel styleName="{style.barreNavigation}"> |
<g:HTMLPanel styleName="{style.barreNavigation} limiteMax"> |
<g:VerticalPanel ui:field="zonePaginationHaut" styleName="gauche" /> |
<g:HTMLPanel ui:field="zoneTri" styleName="droite {style.zoneTri} petit"> |
<g:Label text="{constants.tri}" styleName="gauche"/> |
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/resultats/observations/observation.css |
---|
20,6 → 20,7 |
min-height: 230px; |
margin-top: 7px; |
padding: 10px 10px 10px 16px; |
width:470px; |
} |
.nomEspece { |
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/resultats/observations/ObservationVue.ui.xml |
---|
13,12 → 13,14 |
<g:HTMLPanel styleName="{style.panneauDeterminations}"> |
<g:Label styleName="titre2 {style.titrePropositions}">Proposition des membres du réseau</g:Label> |
<g:HTMLPanel ui:field="determinationsPanel" /> |
<g:Button ui:field="boutonAjoutProposition" styleName="bouton-petit {style.ajouterProposition}" |
<g:HTMLPanel styleName="nettoyage"> |
<g:Button ui:field="boutonAjoutProposition" styleName="bouton-petit {style.ajouterProposition}" |
text="{constants.proposerSaDetermination}" /> |
<g:Button ui:field="boutonAjoutCommentaire" styleName="bouton-petit" |
<g:Button ui:field="boutonAjoutCommentaire" styleName="bouton-petit" |
text="{constants.ajouterCommentaire}" /> |
<g:Button ui:field="boutonPlusDeDetails" styleName="bouton-petit {style.ajouterProposition}" |
<g:Button ui:field="boutonPlusDeDetails" styleName="bouton-petit {style.ajouterProposition}" |
text="Voir tous les commentaires" /> |
</g:HTMLPanel> |
</g:HTMLPanel> |
</g:HTMLPanel> |
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/resultats/observationdeterminations/observationdetermination.css |
---|
35,7 → 35,9 |
margin-top: 2px; |
margin-bottom: 30px; |
} |
.ligneProposition { |
clear:both; |
} |
.ligneProposition>div { |
display: block; |
float: left; |
83,6 → 85,6 |
.rss { |
position:absolute; |
margin-top:-25px; |
margin-left:316px; |
margin-left:446px; |
} |
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/resultats/ResultatsRechercheObservations.css |
---|
7,7 → 7,6 |
} |
.barreNavigation { |
max-width: 780px; |
margin-top: 0; |
padding-bottom: 20px; |
} |
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/moteur/MoteurRechercheObservationsVue.ui.xml |
---|
1,6 → 1,5 |
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' |
xmlns:g='urn:import:com.google.gwt.user.client.ui' ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat' |
ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator" |
ui:generateLocales="default"> |
<ui:with field='res' |
type='org.tela_botanica.del.client.resources.Ressources' /> |
8,11 → 7,17 |
<ui:style src="MoteurRechercheObservations.css" /> |
<g:HTMLPanel> |
<g:HTMLPanel styleName="limiteMax"> |
<g:HTML ui:field="chapeau" styleName="chapeau"></g:HTML> |
<g:HTMLPanel styleName="limiteMax"> |
<g:HTMLPanel> |
<ui:msg key="chapeauObservation">Cet espace vous permet d'échanger sur la détermination d'espèces. |
Vous ne parvenez pas à déterminer une plante ? Soumettez-la aux membres du réseau. |
Vous avez relevé des erreurs dans les images soumises par le réseau ? Postez un commentaire ou proposez une nouvelle détermination.</ui:msg> |
<g:Label ui:field="ajouterObservation" text="{constants.ajouterObservation}" title="{constants.legendeAjouterObservation}" styleName="acceder-outil {style.lienProposerObservation}"/> |
<g:Label text="{constants.rechercherObservation}" styleName="titre" /> |
<g:HTMLPanel ui:field="zonePartageUrl"></g:HTMLPanel> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="limiteMax importance1"> |
<g:Label text="{constants.rechercherObservation}" styleName="titre {style.titreRechercheObs}" /> |
<g:Label text="{constants.entrerMotClef}" styleName="gris {style.entrerMotClef}" /> |
<g:HTMLPanel ui:field="zoneRecherche" /> |
<g:HorizontalPanel styleName="{style.zoneStatut}"> |
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/moteur/MoteurRechercheObservationsPresenteur.java |
---|
2,6 → 2,8 |
import org.tela_botanica.del.client.composants.moteurrecherche.MoteurRecherchePresenteur; |
import org.tela_botanica.del.client.composants.moteurrecherche.MoteurRechercheVue; |
import org.tela_botanica.del.client.composants.partageurl.PartageUrlPresenteur; |
import org.tela_botanica.del.client.composants.partageurl.PartageUrlVue; |
import org.tela_botanica.del.client.composants.presenteur.Presenteur; |
import org.tela_botanica.del.client.config.Config; |
import org.tela_botanica.del.client.modeles.ModeRecherche; |
16,6 → 18,7 |
import com.google.gwt.user.client.Window; |
import com.google.gwt.user.client.ui.HasWidgets; |
import com.google.gwt.user.client.ui.IsWidget; |
import com.google.gwt.user.client.ui.Panel; |
public class MoteurRechercheObservationsPresenteur extends Presenteur { |
35,6 → 38,8 |
public HasClickHandlers getRadioAConfirmer(); |
public void decocherRadioTout(); |
public Panel getZonePartageUrl(); |
} |
48,7 → 53,10 |
composite.add(vue.asWidget()); |
ajouterMoteurRechercheAvancee(); |
PartageUrlPresenteur presenteurPartageUrl = new PartageUrlPresenteur(new PartageUrlVue()); |
presenteurPartageUrl.go(vue.getZonePartageUrl()); |
gererEvenements(); |
} |
protected void ajouterMoteurRechercheAvancee() { |
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/moteur/MoteurRechercheObservationsVue.java |
---|
1,5 → 1,7 |
package org.tela_botanica.del.client.vues.rechercheobservations.moteur; |
import org.tela_botanica.del.client.composants.partageurl.PartageUrlPresenteur; |
import org.tela_botanica.del.client.composants.partageurl.PartageUrlVue; |
import org.tela_botanica.del.client.i18n.I18n; |
import com.google.gwt.core.client.GWT; |
24,14 → 26,11 |
private static Binder binder = GWT.create(Binder.class); |
@UiField |
Panel zoneRecherche, zoneResultats; |
Panel zoneRecherche, zoneResultats, zonePartageUrl; |
@UiField |
Label ajouterObservation; |
@UiField |
HTML chapeau; |
@UiField |
CheckBox radioTout, radioDeterminer, radioConfirmer, radioDiscussion; |
38,11 → 37,14 |
public HasWidgets getZoneRecherche() { |
return zoneRecherche; |
} |
public Panel getZonePartageUrl() { |
return zonePartageUrl; |
} |
// Constructeur de la vue |
public MoteurRechercheObservationsVue() { |
initWidget(binder.createAndBindUi(this)); |
this.chapeau.setHTML(I18n.getVocabulary().introRechercheObservations()); |
} |
public Panel getZoneResultats() { |
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/moteur/MoteurRechercheObservationsVueBinderImplGenMessages.properties |
---|
New file |
0,0 → 1,12 |
# Generated from org.tela_botanica.del.client.vues.rechercheobservations.moteur.MoteurRechercheObservationsVueBinderImplGenMessages |
# for locale fr |
chapeauObservation=<ul class="traitTela">\ |
<li>Cet espace vous permet d''échanger sur la détermination d''espèces.</li> \ |
<li>Vous ne parvenez pas à déterminer une plante ? <br />Soumettez-la aux membres du réseau.</li> \ |
<li>Vous avez relevé des erreurs dans les images soumises par le réseau ? <br />Postez un commentaire ou proposez une nouvelle détermination.</li> \ |
</ul> |
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/moteur/MoteurRechercheObservations.css |
---|
1,14 → 1,16 |
.entrerMotClef { |
margin-bottom: 10px |
margin-bottom: 10px; |
font-size:12px |
} |
.lienProposerObservation { |
float: right; |
margin-top:20px; |
margin-left:65px; |
margin-top:10px; |
margin-bottom:10px; |
} |
.zoneStatut { |
margin-top:-36px; |
margin-top:; |
} |
.zoneStatut span { |
19,3 → 21,8 |
.zoneStatut label { |
padding-left:2px; |
} |
.titreRechercheObs { |
margin-top:5px; |
} |
/trunk/src/org/tela_botanica/del/client/vues/rechercheimages/resultats/images/ImagePresenteur.java |
---|
35,6 → 35,7 |
import org.tela_botanica.del.client.services.rest.VoteProtocoleServiceConcret; |
import org.tela_botanica.del.client.services.rest.async.ListeMotsClesImageCallBack; |
import com.google.gwt.core.client.GWT; |
import com.google.gwt.event.dom.client.ClickEvent; |
import com.google.gwt.event.dom.client.ClickHandler; |
import com.google.gwt.event.dom.client.HasClickHandlers; |
/trunk/src/org/tela_botanica/del/client/vues/rechercheimages/resultats/ResultatRechercheImageVue.ui.xml |
---|
8,7 → 8,7 |
<ui:with field="constants" type="org.tela_botanica.del.client.i18n.Vocabulary" /> |
<g:HTMLPanel styleName="{style.contenuResultat}"> |
<g:HTMLPanel styleName="{style.barreNavigation}"> |
<g:HTMLPanel styleName="{style.barreNavigation} limiteMax limiteMin"> |
<g:VerticalPanel ui:field="panneauPaginationHaut" styleName="gauche {style.paginationHaut}" /> |
<g:HTMLPanel styleName="gauche {style.protocoles}"> |
<g:ListBox ui:field="listeProtocoles" /> |
39,6 → 39,6 |
<g:Label ui:field="aucunResultat" styleName="{style.aucunResultat}" text="{constants.aucunResultat}" visible="false" /> |
<g:HTMLPanel ui:field="imageTable" styleName="{style.images}" /> |
<g:HTMLPanel styleName="nettoyage"></g:HTMLPanel> |
<g:VerticalPanel ui:field="panneauPagination" /> |
<g:VerticalPanel ui:field="panneauPagination" styleName="limiteMax limiteMin"/> |
</g:HTMLPanel> |
</ui:UiBinder> |
/trunk/src/org/tela_botanica/del/client/vues/rechercheimages/moteur/MoteurRechercheImageVue.ui.xml |
---|
1,6 → 1,5 |
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' |
xmlns:g='urn:import:com.google.gwt.user.client.ui' ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat' |
ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator" |
ui:generateLocales="default"> |
<ui:with field='res' |
11,11 → 10,13 |
<g:HTMLPanel> |
<g:HTMLPanel styleName="limiteMax"> |
<g:Label text="{constants.introRechercheImages}" styleName="chapeau"/> |
<ui:msg key="chapeauImages">Cette galerie vous permet de rechercher les illustrations des membres du réseau issues du Carnet en ligne... et de voter pour la qualité des images selon un protocole défini.</ui:msg> |
<g:Label ui:field="ajouterObservation" text="{constants.ajouterImage}" title="{constants.legendeAjouterObservation}" styleName="acceder-outil {style.lienProposerImage}"/> |
<g:Label text="{constants.rechercherImage}" styleName="titre" /> |
<g:Label text="{constants.entrerMotClef}" styleName="gris {style.entrerMotClef}" /> |
<g:HTMLPanel ui:field="zoneRecherche" /> |
<g:HTMLPanel styleName="importance1"> |
<g:Label text="{constants.rechercherImage}" styleName="titre {style.titreRecherche}" /> |
<g:Label text="{constants.entrerMotClef}" styleName="gris {style.entrerMotClef}" /> |
<g:HTMLPanel ui:field="zoneRecherche" /> |
</g:HTMLPanel> |
</g:HTMLPanel> |
<g:HTMLPanel ui:field="panneauResultats" /> |
/trunk/src/org/tela_botanica/del/client/vues/rechercheimages/moteur/rechercheImage.css |
---|
25,6 → 25,11 |
} |
.lienProposerImage { |
float: right; |
margin-top:20px; |
margin-left:70px; |
margin-bottom:10px; |
} |
.titreRecherche { |
margin:0; |
} |
/trunk/src/org/tela_botanica/del/client/vues/rechercheimages/moteur/MoteurRechercheImageVueMyUiBinderImplGenMessages.properties |
---|
New file |
0,0 → 1,2 |
chapeauImages=<ul class="traitTela"><li>Cette galerie vous permet de rechercher les illustrations des membres du réseau issues du <br /> \ |
Carnet en ligne... et de voter pour la qualité des images selon un protocole défini.</li></ul> |
/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/determinationVue.css |
---|
6,11 → 6,13 |
.zoneVote { |
margin-left: 5px; |
height: 100%; |
float: left; |
display:inline-block; |
vertical-align:top; |
border-left: solid 1px #DDD; |
border-right: solid 1px #DDD; |
padding-left: 10px; |
padding-right:10px; |
text-align:left; |
} |
.taxonPlusProbable { |
26,7 → 28,9 |
.zoneDetailImage { |
height: 100%; |
width: 255px; |
float: left; |
display:inline-block; |
vertical-align:top; |
text-align:left; |
clear: left; |
} |
58,6 → 62,9 |
.zoneOutils { |
width: 15%; |
padding-left:10px; |
display:inline-block; |
vertical-align:top; |
text-align:left; |
} |
.boutons { |
/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/DeterminationVue.ui.xml |
---|
6,50 → 6,50 |
<ui:with field="constants" type="org.tela_botanica.del.client.i18n.Vocabulary"/> |
<ui:style src="determinationVue.css" /> |
<g:HTMLPanel styleName="limiteMin"> |
<g:HTMLPanel> |
<g:HTMLPanel> |
<g:HTMLPanel styleName="limiteMax"> |
<g:Hyperlink ui:field="lienRetour" styleName="lien">Retour</g:Hyperlink> |
<g:HTMLPanel ui:field="metadonnees" styleName="{style.metadonnees}"/> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="{style.zoneDetailImage}"> |
<g:VerticalPanel ui:field="detailImageObservation" styleName="{style.zoneImage}"/> |
<g:Label text="Votes associés à l'image" styleName="titre"></g:Label> |
<g:HTMLPanel ui:field="voteProtocole" styleName="{style.voteProtocole}"/> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="{style.zoneVote}"> |
<g:Label styleName="titre" text="{constants.titreDetermination}" /> |
<g:HTMLPanel styleName="nettoyage {style.boutons}"> |
<g:Button text="{constants.proposerSaDetermination}" ui:field="boutonAjoutProposition" styleName="bouton" /> |
<g:Button text="{constants.ajouterCommentaire}" ui:field="boutonAjoutCommentaire" styleName="bouton" /> |
<g:HTMLPanel ui:field="zoneRss" styleName="droite {style.zonerss}"></g:HTMLPanel> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="{style.taxonProbable}"> |
<g:Label styleName="gauche" text="{constants.determinationPlusProbable}" /> |
<g:Label ui:field="nomTaxonProbable" styleName="gauche gras {style.nomTaxonProbable}"/> |
<g:HTML><br /></g:HTML> |
<g:HTMLPanel styleName="contenuCentre"> |
<g:HTMLPanel styleName="{style.zoneDetailImage}"> |
<g:VerticalPanel ui:field="detailImageObservation" styleName="{style.zoneImage}"/> |
<g:Label text="Votes associés à l'image" styleName="titre"></g:Label> |
<g:HTMLPanel ui:field="voteProtocole" styleName="{style.voteProtocole}"/> |
</g:HTMLPanel> |
<g:VerticalPanel ui:field="forum" /> |
<g:HTMLPanel styleName="nettoyage {style.boutons}"> |
<g:Button text="{constants.proposerSaDetermination}" ui:field="boutonAjoutPropositionBas" styleName="bouton" /> |
<g:Button text="{constants.ajouterCommentaire}" ui:field="boutonAjoutCommentaireBas" styleName="bouton" /> |
</g:HTMLPanel> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="{style.zoneOutils} gauche"> |
<g:Label text="Pour vous aider : " styleName="titre3"></g:Label> |
<g:VerticalPanel ui:field="formulaireRechercheEflore"/> |
<g:Label styleName="{style.autreOutils} sousTitre">Vérifier sa détermination</g:Label> |
<g:Label styleName="lienListe labelLien" ui:field="lienEflore">eFlore</g:Label> |
<g:Label styleName="{style.autreOutils} sousTitre">Autres outils en ligne</g:Label> |
<g:Label styleName="lienListe labelLien" ui:field="lienOuvrages">Flores numérisées</g:Label> |
<g:Label styleName="lienListe labelLien" ui:field="lienBonnier">Flore Bonnier interactive</g:Label> |
<g:Label styleName="lienListe labelLien" ui:field="lienCles">Clés de détermination</g:Label> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="{style.zoneVote}"> |
<g:Label styleName="titre" text="{constants.titreDetermination}" /> |
<g:HTMLPanel styleName="nettoyage {style.boutons}"> |
<g:Button text="{constants.proposerSaDetermination}" ui:field="boutonAjoutProposition" styleName="bouton" /> |
<g:Button text="{constants.ajouterCommentaire}" ui:field="boutonAjoutCommentaire" styleName="bouton" /> |
<g:HTMLPanel ui:field="zoneRss" styleName="droite {style.zonerss}"></g:HTMLPanel> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="{style.taxonProbable}"> |
<g:Label styleName="gauche" text="{constants.determinationPlusProbable}" /> |
<g:Label ui:field="nomTaxonProbable" styleName="gauche gras {style.nomTaxonProbable}"/> |
<g:HTML><br /></g:HTML> |
</g:HTMLPanel> |
<g:VerticalPanel ui:field="forum" /> |
<g:HTMLPanel styleName="nettoyage {style.boutons}"> |
<g:Button text="{constants.proposerSaDetermination}" ui:field="boutonAjoutPropositionBas" styleName="bouton" /> |
<g:Button text="{constants.ajouterCommentaire}" ui:field="boutonAjoutCommentaireBas" styleName="bouton" /> |
</g:HTMLPanel> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="{style.zoneOutils}"> |
<g:Label text="Pour vous aider : " styleName="titre3"></g:Label> |
<g:VerticalPanel ui:field="formulaireRechercheEflore"/> |
<g:Label styleName="{style.autreOutils} sousTitre">Vérifier sa détermination</g:Label> |
<g:Label styleName="lienListe labelLien" ui:field="lienEflore">eFlore</g:Label> |
<g:Label styleName="{style.autreOutils} sousTitre">Autres outils en ligne</g:Label> |
<g:Label styleName="lienListe labelLien" ui:field="lienOuvrages">Flores numérisées</g:Label> |
<g:Label styleName="lienListe labelLien" ui:field="lienBonnier">Flore Bonnier interactive</g:Label> |
<g:Label styleName="lienListe labelLien" ui:field="lienCles">Clés de détermination</g:Label> |
</g:HTMLPanel> |
</g:HTMLPanel> |
</g:HTMLPanel> |
</ui:UiBinder> |
/trunk/src/org/tela_botanica/del/client/gestionhistorique/ConstantesNavigation.java |
---|
5,6 → 5,7 |
public static final String HOME = "accueil"; |
public static final String PAGE_PRINCIPALE = "page_principale"; |
public static final String PAGE_RECHERCHE_IMAGES = "page_recherche_images"; |
public static final String PICTOFLORA = "pictoflora"; |
public static final String PAGE_RECHERCHE_OBSERVATIONS = "page_recherche_observations"; |
public static final String PAGE_VALIDATION = "page_validation"; |
public static final String PAGE_COMPARAISON_EFLORE = "page_comparaison_eflore"; |
/trunk/src/org/tela_botanica/del/client/gestionhistorique/GestionnaireHistorique.java |
---|
1,9 → 1,12 |
package org.tela_botanica.del.client.gestionhistorique; |
import org.tela_botanica.del.client.cache.CacheClient; |
import org.tela_botanica.del.client.composants.formulaires.identification.FormulaireIdentificationPresenteur; |
import org.tela_botanica.del.client.composants.formulaires.identification.FormulaireIdentificationVue; |
import org.tela_botanica.del.client.services.rest.ImageServiceConcret; |
import org.tela_botanica.del.client.services.rest.ObservationServiceConcret; |
import org.tela_botanica.del.client.services.rest.ProtocoleServiceConcret; |
import org.tela_botanica.del.client.services.rest.UtilisateurServiceConcret; |
import org.tela_botanica.del.client.vues.comparaisoneflore.ComparaisonEflorePresenteur; |
import org.tela_botanica.del.client.vues.comparaisoneflore.ComparaisonEfloreVue; |
import org.tela_botanica.del.client.vues.plateformedetermination.DeterminationPresenteur; |
12,10 → 15,10 |
import org.tela_botanica.del.client.vues.rechercheimages.moteur.MoteurRechercheImageVue; |
import org.tela_botanica.del.client.vues.rechercheobservations.moteur.MoteurRechercheObservationsPresenteur; |
import org.tela_botanica.del.client.vues.rechercheobservations.moteur.MoteurRechercheObservationsVue; |
import org.tela_botanica.del.client.vues.vueinitiale.PresenteurInitial; |
import com.google.gwt.event.logical.shared.ValueChangeEvent; |
import com.google.gwt.event.logical.shared.ValueChangeHandler; |
import com.google.gwt.user.client.ui.Panel; |
import com.google.gwt.user.client.ui.RootPanel; |
/** |
30,39 → 33,60 |
* */ |
public void onValueChange(ValueChangeEvent<String> event) { |
RootPanel.get("navigation").clear(); |
new PresenteurInitial().go(RootPanel.get("navigation")); |
if (event.getValue().equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) { |
CacheClient.getInstance().setHome(ConstantesNavigation.PAGE_RECHERCHE_IMAGES); |
RootPanel.get("contenu").clear(); |
new MoteurRechercheImagePresenteur(new MoteurRechercheImageVue(), new ProtocoleServiceConcret()).go(RootPanel.get("contenu")); |
} else if (event.getValue().contains(ConstantesNavigation.PAGE_VALIDATION)) { |
RootPanel.get("contenu").clear(); |
new DeterminationPresenteur(new DeterminationVue(), new ObservationServiceConcret(), new ProtocoleServiceConcret()).go(RootPanel.get("contenu")); |
} else if (event.getValue().equals(ConstantesNavigation.PAGE_COMPARAISON_EFLORE)) { |
RootPanel.get("contenu").clear(); |
new ComparaisonEflorePresenteur(new ComparaisonEfloreVue(), new ImageServiceConcret()).go(RootPanel.get("contenu")); |
} else if (event.getValue().equals(ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS)) { |
CacheClient.getInstance().setHome(ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS); |
RootPanel.get("contenu").clear(); |
MoteurRechercheObservationsPresenteur presenteur = new MoteurRechercheObservationsPresenteur(new ObservationServiceConcret(), new MoteurRechercheObservationsVue()); |
presenteur.go(RootPanel.get("contenu")); |
} else if (event.getValue().equals(ConstantesNavigation.HOME)) { |
String home = CacheClient.getInstance().getHome(); |
//1. définition des variables |
String eventValue = event.getValue(); |
Panel contenu = RootPanel.get("contenu"); |
Panel zoneIdentification = RootPanel.get("zoneIdentification"); |
CacheClient cache = CacheClient.getInstance(); |
//2. nettoyer le contenu |
contenu.clear(); |
zoneIdentification.clear(); |
FormulaireIdentificationPresenteur presenteurIdentification = new FormulaireIdentificationPresenteur(new FormulaireIdentificationVue(), new UtilisateurServiceConcret()); |
presenteurIdentification.go(zoneIdentification); |
//Actions en fonction de la valeur de l'évènement |
if (eventValue.equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) { |
cache.setHome(ConstantesNavigation.PAGE_RECHERCHE_IMAGES); |
lancerMoteurRechercheImages(contenu); |
} else if (eventValue.contains(ConstantesNavigation.PAGE_VALIDATION)) { |
DeterminationPresenteur presenteur = new DeterminationPresenteur(new DeterminationVue(), new ObservationServiceConcret(), new ProtocoleServiceConcret()); |
presenteur.go(contenu); |
} else if (eventValue.equals(ConstantesNavigation.PAGE_COMPARAISON_EFLORE)) { |
ComparaisonEflorePresenteur presenteur = new ComparaisonEflorePresenteur(new ComparaisonEfloreVue(), new ImageServiceConcret()); |
presenteur.go(contenu); |
} else if (eventValue.equals(ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS)) { |
cache.setHome(ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS); |
lancerMoteurRechercheObservation(contenu); |
} else if (eventValue.equals(ConstantesNavigation.HOME)) { |
String home = cache.getHome(); |
if (home.equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) { |
RootPanel.get("contenu").clear(); |
new MoteurRechercheImagePresenteur(new MoteurRechercheImageVue(), new ProtocoleServiceConcret()).go(RootPanel.get("contenu")); |
lancerMoteurRechercheImages(contenu); |
} else { |
RootPanel.get("contenu").clear(); |
MoteurRechercheObservationsPresenteur presenteur = new MoteurRechercheObservationsPresenteur(new ObservationServiceConcret(), new MoteurRechercheObservationsVue()); |
presenteur.go(RootPanel.get("contenu")); |
lancerMoteurRechercheObservation(contenu); |
} |
} |
else{ |
RootPanel.get("contenu").clear(); |
MoteurRechercheObservationsPresenteur presenteur = new MoteurRechercheObservationsPresenteur(new ObservationServiceConcret(), new MoteurRechercheObservationsVue()); |
presenteur.go(RootPanel.get("contenu")); |
lancerMoteurRechercheObservation(contenu); |
} |
} |
/** |
* Générer la page de recherche observation et l'afficher dans panneau |
* @param Panel panneau le panneau pour afficher le résultat |
* */ |
public void lancerMoteurRechercheObservation(Panel panneau) { |
MoteurRechercheObservationsPresenteur presenteur = new MoteurRechercheObservationsPresenteur(new ObservationServiceConcret(), new MoteurRechercheObservationsVue()); |
presenteur.go(panneau); |
} |
/** |
* Générer la page de recherche images et l'afficher dans panneau |
* @param Panel panneau le panneau pour afficher le résultat |
* */ |
public void lancerMoteurRechercheImages(Panel panneau) { |
MoteurRechercheImagePresenteur presenteur = new MoteurRechercheImagePresenteur(new MoteurRechercheImageVue(), new ProtocoleServiceConcret()); |
presenteur.go(panneau); |
} |
} |
/trunk/src/org/tela_botanica/del/client/composants/formulaires/identification/FormulaireIdentificationVue.ui.xml |
---|
1,27 → 1,36 |
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' |
xmlns:g='urn:import:com.google.gwt.user.client.ui' ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat' |
ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator" |
ui:generateLocales="default"> |
<ui:with field='res' type='org.tela_botanica.del.client.resources.Ressources' /> |
<ui:with field="constants" type="org.tela_botanica.del.client.i18n.Vocabulary" /> |
<ui:style src="identification.css" /> |
<g:HTMLPanel styleName="{style.zoneIdentification}"> |
<g:HTMLPanel styleName="{style.zoneIdentification} {style.zoneFormulaire}"> |
<g:Label ui:field="titreSeConnecter" styleName="{style.connecter}" text="{constants.titreSeConnecter}" /> |
<g:Label ui:field="titreEstIdentifie" styleName="{style.connecter}" text="{constants.titreEstIdentifie}" /> |
<g:HTMLPanel ui:field="zoneUtilisateur"> |
<g:Label ui:field="connecter" styleName="{style.connecter}" text="{constants.seConnecter}" /> |
<g:HorizontalPanel><g:Label ui:field="email" styleName="{style.email}">Email</g:Label> |
<g:Label ui:field="preferences" styleName="{style.preferences}" text="{constants.preferences}"></g:Label> |
<g:Label ui:field="deconnecter" styleName="{style.deconnecter}" text="{constants.seDeconnecter}" /></g:HorizontalPanel> |
<g:HTMLPanel styleName="{style.infoConnexion}"> |
<g:Label ui:field="email" styleName="{style.email}">Email</g:Label> |
<g:Label ui:field="preferences" styleName="{style.preferences}" text="{constants.preferences}"></g:Label> |
<g:Label ui:field="deconnecter" styleName="{style.deconnecter}" text="{constants.seDeconnecter}" /> |
</g:HTMLPanel> |
</g:HTMLPanel> |
<g:HTMLPanel ui:field="zoneFormulaire" styleName="{style.zoneFormulaire} ombre-forte"> |
<g:Label ui:field="erreurIdentification" styleName="{style.erreur}"></g:Label> |
<g:Label text="{constants.login}" /> |
<g:TextBox ui:field="login" styleName="{style.login}" /> |
<g:Label text="{constants.motdepasse}" /> |
<g:PasswordTextBox ui:field="motdepasse" styleName="{style.motdepasse}"></g:PasswordTextBox> |
<g:Button ui:field="boutonOK">OK</g:Button> |
<g:HTMLPanel ui:field="zoneFormulaire"> |
<g:HTMLPanel styleName="{style.colonneGauche}"> |
<g:Label text="{constants.login}" /> |
<g:TextBox ui:field="login" styleName="{style.login}" /> |
<g:Label text="{constants.motdepasse}" /> |
<g:PasswordTextBox ui:field="motdepasse" styleName="{style.motdepasse}"></g:PasswordTextBox> |
<g:Button ui:field="boutonOK" styleName="{style.boutonOK}">OK</g:Button> |
<g:Label ui:field="erreurIdentification" styleName="{style.erreur}"></g:Label> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="{style.colonneDroite}"> |
<ui:msg key="texteConnexion">Texte de connexion</ui:msg> |
</g:HTMLPanel> |
</g:HTMLPanel> |
</g:HTMLPanel> |
</ui:UiBinder> |
/trunk/src/org/tela_botanica/del/client/composants/formulaires/identification/FormulaireIdentificationPresenteur.java |
---|
37,7 → 37,7 |
public HasClickHandlers getSeDeconnecter(); |
public void basculerAffichageFormulaire(); |
public void basculerAffichageFormulaire(boolean estConnecte); |
public void basculerModeConnecte(Utilisateur utilisateur); |
90,14 → 90,6 |
} |
public void gererEvenements() { |
vue.getSeConnecter().addClickHandler(new ClickHandler() { |
@Override |
public void onClick(ClickEvent event) { |
vue.basculerAffichageFormulaire(); |
} |
}); |
vue.getBoutonOK().addClickHandler(new ClickHandler() { |
@Override |
public void onClick(ClickEvent event) { |
178,7 → 170,6 |
if (utilisateur.estIdentifie()) { |
vue.masquerErreur(); |
rafraichir(); |
vue.basculerAffichageFormulaire(); |
vue.viderFormulaire(); |
} |
} |
/trunk/src/org/tela_botanica/del/client/composants/formulaires/identification/FormulaireIdentificationVue.java |
---|
24,7 → 24,7 |
private static Binder uiBinder = GWT.create(Binder.class); |
@UiField |
Label connecter, deconnecter, email, erreurIdentification, preferences; |
Label titreSeConnecter, titreEstIdentifie, deconnecter, email, erreurIdentification, preferences; |
@UiField Panel zoneFormulaire; |
34,8 → 34,7 |
public FormulaireIdentificationVue() { |
initWidget(uiBinder.createAndBindUi(this)); |
basculerAffichageFormulaire(); |
connecter.setVisible(false); |
titreSeConnecter.setVisible(false); |
erreurIdentification.setVisible(false); |
} |
46,23 → 45,39 |
@Override |
public HasClickHandlers getSeConnecter() { |
return connecter; |
return titreSeConnecter; |
} |
@Override |
public void basculerAffichageFormulaire() { |
zoneFormulaire.setVisible(!zoneFormulaire.isVisible()); |
public void basculerAffichageFormulaire(boolean estConnecte) { |
zoneFormulaire.setVisible(!estConnecte); |
} |
@Override |
public void basculerModeConnecte(Utilisateur utilisateur) { |
//Dans le mode non-connecté, on veut : |
// - un bandeau vert avec ecrit Identifiez-vous |
// - le formulaire courriel/password/texte et btn ok |
// dans le mode connecté on veut : |
// - un bandeau vert avec écrit Bienvenue |
// - l'email de l'utilisateur |
// - un btn déconnecter |
// - un btn préférences |
boolean estConnecte = utilisateur.estIdentifie(); |
connecter.setVisible(!estConnecte); |
// mode non-connecté |
titreSeConnecter.setVisible(!estConnecte); |
titreEstIdentifie.setVisible(estConnecte); |
deconnecter.setVisible(estConnecte); |
preferences.setVisible(estConnecte); |
email.setText(utilisateur.getNomPrenomFormate()); |
email.setVisible(estConnecte); |
basculerAffichageFormulaire(estConnecte); |
} |
@Override |
/trunk/src/org/tela_botanica/del/client/composants/formulaires/identification/identification.css |
---|
1,13 → 1,30 |
.zoneIdentification { |
background: url("./img/user.png") no-repeat scroll 0 0 transparent; |
padding-left: 20px; |
background: url("./img/carre_orange.png") no-repeat scroll 0 0 transparent; |
height:24px; |
margin-top:5px; |
font-size:11px; |
margin-left:80px; |
width:280px; |
padding:15px; |
padding-top:30px; |
height:70px; |
} |
.connecter { |
text-decoration: underline; |
color: blue; |
cursor: pointer |
} |
background-color: #99C242; |
border-radius: 0 10px 0 0; |
color: white; |
font-size: 12px; |
padding: 5px 5px 5px 9px; |
text-align: left; |
text-transform: uppercase; |
width: 270px; |
z-index:10; |
position:absolute; |
margin-left:-15px; |
margin-top:-30px; |
padding-right:25px |
} |
.deconnecter, .preferences { |
text-decoration: underline; |
20,21 → 37,59 |
} |
.zoneFormulaire { |
position: absolute; |
padding: 10px; |
margin-top: 10px; |
border: solid 2px #8eb533; |
background: white; |
background: none repeat scroll 0 0 white; |
border: 1px solid #99C242; |
border-radius: 0 10px 10px 10px; |
position:absolute; |
top:18px; |
z-index:0; |
text-align: left; |
text-decoration: none; |
width: 273px; |
padding-bottom:22px; |
} |
.login { |
width:80px; |
font-size:11px; |
} |
.motdepasse { |
width:80px; |
font-size:11px; |
} |
.erreur { |
color: red; |
position:absolute; |
margin-top:13px; |
} |
.boutonOK { |
font-size:11px; |
} |
.colonneGauche { |
float:left; |
padding-bottom:15px; |
margin-right:5px; |
} |
.colonneDroite { |
float:left; |
margin-right:5px; |
padding-bottom:15px; |
} |
.zoneUtilisateur { |
text-align:center; |
} |
.infoConnexion { |
text-align:center; |
font-size:15px; |
} |
.infoConnexion>div:first-child { |
margin-top:10px; |
} |
/trunk/src/org/tela_botanica/del/client/composants/formulaires/identification/FormulaireIdentificationVueBinderImplGenMessages.properties |
---|
New file |
0,0 → 1,10 |
texteConnexion=<a href="http://www.tela-botanica.org/page:inscription">S''inscrire... </a> \ |
<p class="connect gris">Devenez telabotaniste et partagez votre passion pour le végétal !</p> \ |
<p> <a href="http://www.tela-botanica.org/page:inscription?m=f_oubli_mdp" id="lien_inscription">Mot de passe perdu ? </a></p> |
#<a href="/page:inscription">S'inscrire... </a> |
# <p class="connectgris">Devenez telabotaniste et partagez votre passion pour le végétal !</p> |
# <p> <a href="http://www.tela-botanica.org/page:inscription?m=f_oubli_mdp" id="lien_inscription">Mot de passe perdu ? </a></p> |
/trunk/src/org/tela_botanica/del/client/composants/partageurl/partagerUrl.css |
---|
New file |
0,0 → 1,46 |
.zonePartage { |
background: none repeat scroll 0 0 white; |
border: 2px solid #8EB533; |
left: 930px; |
margin-top: 0; |
padding: 10px 50px 10px 10px; |
position: absolute; |
} |
.titre { |
margin-top:0; |
} |
.partage { |
background: none repeat scroll 0 0 #87A4F9; |
border: medium none; |
border-radius: 10px 10px 10px 10px; |
color: white; |
cursor: pointer; |
display: inline-block; |
font-size: 14px; |
margin-left: 790px; |
margin-top: -34px; |
padding: 4px 10px; |
position: absolute; |
text-decoration: none; |
} |
.url { |
width:90%; |
margin-top:5px; |
} |
.fermer { |
background: url("./img/close.png") no-repeat scroll 39px -2px transparent; |
cursor: pointer; |
font-size: 11px; |
margin-left: 411px; |
margin-top: -99px; |
padding-bottom: 8px; |
padding-right: 53px; |
padding-top: 5px; |
position: absolute; |
width: 16px; |
} |
/trunk/src/org/tela_botanica/del/client/composants/partageurl/PartageUrlVue.ui.xml |
---|
New file |
0,0 → 1,21 |
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' |
xmlns:g='urn:import:com.google.gwt.user.client.ui' ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat' |
ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator" |
ui:generateLocales="default"> |
<ui:with field='res' type='org.tela_botanica.del.client.resources.Ressources' /> |
<ui:with field="constants" type="org.tela_botanica.del.client.i18n.Vocabulary" /> |
<ui:style src="partagerUrl.css" /> |
<g:HTMLPanel> |
<g:HTMLPanel> |
<g:Label ui:field="partage" styleName="{style.partage}">Partager cette page</g:Label> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="{style.zonePartage} ombre-faible" ui:field="zonePartage"> |
<g:Label styleName="titre {style.titre}">Partager cette page</g:Label> |
<g:Label>Partager le résultat de votre recherche en copiant l'adresse ci-dessous :</g:Label> |
<g:TextBox styleName="{style.url}" ui:field="url"></g:TextBox> |
<g:Label ui:field="fermer" styleName="{style.fermer}">Fermer</g:Label> |
</g:HTMLPanel> |
</g:HTMLPanel> |
</ui:UiBinder> |
/trunk/src/org/tela_botanica/del/client/composants/partageurl/PartageUrlPresenteur.java |
---|
New file |
0,0 → 1,82 |
package org.tela_botanica.del.client.composants.partageurl; |
import org.tela_botanica.del.client.cache.CacheClient; |
import org.tela_botanica.del.client.config.Config; |
import org.tela_botanica.del.client.gestionhistorique.ConstantesNavigation; |
import org.tela_botanica.del.client.modeles.InformationsRecherche; |
import com.google.gwt.event.dom.client.ClickEvent; |
import com.google.gwt.event.dom.client.ClickHandler; |
import com.google.gwt.event.dom.client.HasClickHandlers; |
import com.google.gwt.user.client.Window; |
import com.google.gwt.user.client.ui.HasWidgets; |
import com.google.gwt.user.client.ui.IsWidget; |
public class PartageUrlPresenteur { |
public abstract interface Vue extends IsWidget { |
public void ajouterVue(HasWidgets composite); |
public void masquerFormulaire(); |
public void afficherFormulaire(); |
public HasClickHandlers getBoutonPartage(); |
public HasClickHandlers getFermer(); |
public void setUrl(String url); |
} |
private Vue vue; |
public PartageUrlPresenteur(Vue vue) { |
this.vue = vue; |
vue.masquerFormulaire(); |
gererEvenements(); |
} |
public void gererEvenements() { |
vue.getFermer().addClickHandler(new ClickHandler() { |
@Override |
public void onClick(ClickEvent event) { |
vue.masquerFormulaire(); |
} |
}); |
vue.getBoutonPartage().addClickHandler(new ClickHandler() { |
@Override |
public void onClick(ClickEvent event) { |
String url = genererUrl(); |
vue.setUrl(url); |
vue.afficherFormulaire(); |
} |
}); |
} |
public String genererUrl() { |
String url = Window.Location.getHref(); |
CacheClient cache = CacheClient.getInstance(); |
String arguments = ""; |
if (cache.getPageCourante() == ConstantesNavigation.PAGE_RECHERCHE_IMAGES) { |
InformationsRecherche infoRecherche; |
infoRecherche = cache.getInformationsRechercheImage(); |
arguments = infoRecherche.versChaineRequete() + "#" + ConstantesNavigation.PAGE_RECHERCHE_IMAGES; |
url = new Config().getUrl("del") + "?" + arguments; |
} else if (cache.getPageCourante() == ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS) { |
InformationsRecherche infoRecherche; |
infoRecherche = cache.getInformationsRechercheObservation(); |
arguments = infoRecherche.versChaineRequete() + "#" + ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS; |
url = new Config().getUrl("del") + "?" + arguments; |
} else { |
url = Window.Location.getHref(); |
} |
return url; |
} |
public void go(HasWidgets composite) { |
vue.ajouterVue(composite); |
} |
} |
/trunk/src/org/tela_botanica/del/client/composants/partageurl/PartageUrlVue.java |
---|
New file |
0,0 → 1,58 |
package org.tela_botanica.del.client.composants.partageurl; |
import com.google.gwt.core.client.GWT; |
import com.google.gwt.event.dom.client.HasClickHandlers; |
import com.google.gwt.uibinder.client.UiBinder; |
import com.google.gwt.uibinder.client.UiField; |
import com.google.gwt.user.client.ui.Composite; |
import com.google.gwt.user.client.ui.HasWidgets; |
import com.google.gwt.user.client.ui.Label; |
import com.google.gwt.user.client.ui.Panel; |
import com.google.gwt.user.client.ui.TextBox; |
import com.google.gwt.user.client.ui.Widget; |
public class PartageUrlVue extends Composite implements PartageUrlPresenteur.Vue{ |
@UiField Panel zonePartage; |
@UiField Label fermer, partage; |
@UiField TextBox url; |
interface Binder extends UiBinder<Widget, PartageUrlVue> { |
} |
private static Binder uiBinder = GWT.create(Binder.class); |
public PartageUrlVue() { |
initWidget(uiBinder.createAndBindUi(this)); |
} |
@Override |
public void ajouterVue(HasWidgets composite) { |
composite.add(this.asWidget()); |
} |
@Override |
public void masquerFormulaire() { |
zonePartage.setVisible(false); |
} |
@Override |
public void afficherFormulaire() { |
zonePartage.setVisible(true); |
} |
public HasClickHandlers getFermer() { |
return fermer; |
} |
@Override |
public HasClickHandlers getBoutonPartage() { |
return partage; |
} |
public void setUrl(String url) { |
this.url.setText(url); |
} |
} |
/trunk/src/org/tela_botanica/del/client/composants/moteurrecherche/MoteurRecherche.css |
---|
76,7 → 76,6 |
} |
.zoneRecherche { |
margin-bottom:30px; |
} |
.zoneRss { |
float:right; |
/trunk/src/org/tela_botanica/del/client/resources/Ressources.java |
---|
16,4 → 16,6 |
@Source("flecheDroite.png") |
ImageResource arrowRight(); |
} |
/trunk/src/org/tela_botanica/del/client/i18n/Messages.properties |
---|
8,3 → 8,4 |
#formulaire proposition determination |
propositionDejaEffectuee = Le taxon {0} a deja été proposé. Vous pouvez voter pour cette determination si vous êtes d accord avec cette proposition. |
etVotesAnonymes = Et {0} votes anonymes |
greetings = salut |
/trunk/src/org/tela_botanica/del/client/i18n/Vocabulary.properties |
---|
40,9 → 40,11 |
observeLe = Observée le |
lieuDuReleve = Lieu du relevé |
dateTransmission = Transmis le |
motdepasse = Mot de passe |
login = Login |
seConnecter = Se connecter |
motdepasse = Mot de passe : |
login = Courriel : |
texteConnexion = texte de connexion |
titreSeConnecter = Identifiez-vous |
titreEstIdentifie = Bienvenue |
seDeconnecter = Se déconnecter |
aucunResultat = Aucun resultat trouvé |
par = par |
/trunk/src/org/tela_botanica/del/client/i18n/LocalizableResource.properties |
---|
New file |
0,0 → 1,5 |
# Generated from org.tela_botanica.del.client.composants.formulaires.identification.FormulaireIdentificationVueBinderImplGenMessages |
# for locale default |
# Description: Greeting |
greetings=Hello, worldTRTRTR. |
/trunk/src/org/tela_botanica/del/client/i18n/Vocabulary.java |
---|
5,7 → 5,11 |
* '/home/aurelien/web/del/src/org/tela_botanica/del/client/i18n/Vocabulary.properties'. |
*/ |
public interface Vocabulary extends com.google.gwt.i18n.client.Constants { |
@DefaultStringValue("Devenez telabotaniste et partagez votre passion pour le végétal !") |
@Key("texteConnexion") |
String texteConnexion(); |
/** |
* Translated "Etes-vous d'accord ? ". |
* |
984,10 → 988,20 |
* @return translated "Se connecter" |
*/ |
@DefaultStringValue("Se connecter") |
@Key("seConnecter") |
String seConnecter(); |
@Key("titreSeConnecter") |
String titreSeConnecter(); |
/** |
* Translated "Se connecter". |
* |
* @return translated "Se connecter" |
*/ |
@DefaultStringValue("Bienvenue") |
@Key("titreEstIdentife") |
String titreEstIdentifie(); |
/** |
* Translated "Se déconnecter". |
* |
* @return translated "Se déconnecter" |