/trunk/src/org/tela_botanica/del/client/vues/rechercheimages/moteur/rechercheImage.css |
---|
26,4 → 26,5 |
.lienProposerImage { |
float: right; |
margin-top:20px; |
} |
/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/determinationVue.css |
---|
1,3 → 1,8 |
.metadonnees { |
margin-bottom:10px; |
margin-top:10px; |
display:inline-block; |
} |
.zoneVote { |
margin-left: 5px; |
height: 100%; |
10,6 → 15,7 |
.taxonPlusProbable { |
float: left; |
} |
.zoneBarreRepartition { |
55,9 → 61,33 |
} |
.boutons { |
margin-top:40px; |
margin-bottom:15px; |
} |
.lienProposerObservation { |
margin-left: 575px; |
} |
.nomTaxonProbable{ |
padding-left:3px; |
} |
.taxonProbable { |
background: none repeat scroll 0 0 #F8F8C3; |
clear: left; |
font-size: 15px; |
margin-bottom: 5px; |
padding: 13px 9px; |
} |
.voteProtocole div { |
margin-bottom:10px; |
} |
.voteProtocole div div { |
margin-bottom:0px; |
border:solid 0px red |
} |
.autreOutils { |
margin-top:15px; |
} |
/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/formulairerechercheeflore/FormulaireRechercheEfloreVue.java |
---|
5,6 → 5,8 |
import com.google.gwt.uibinder.client.UiField; |
import com.google.gwt.user.client.ui.Button; |
import com.google.gwt.user.client.ui.Composite; |
import com.google.gwt.user.client.ui.HasText; |
import com.google.gwt.user.client.ui.Label; |
import com.google.gwt.user.client.ui.Panel; |
import com.google.gwt.user.client.ui.Widget; |
29,8 → 31,8 |
return boutonValidationRechercheObservation; |
} |
public Panel getPropositionTaxon() { |
return propositionTaxon; |
} |
} |
/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/formulairerechercheeflore/FormulaireRechercheEflorePresenteur.java |
---|
4,6 → 4,7 |
import org.tela_botanica.del.client.composants.formulaires.autocompletion.AutoCompletionComboBoxPresenteur; |
import org.tela_botanica.del.client.composants.formulaires.autocompletion.AutoCompletionComboBoxVue; |
import org.tela_botanica.del.client.config.Config; |
import org.tela_botanica.del.client.i18n.I18n; |
import org.tela_botanica.del.client.navigation.evenement.BusEvenementiel; |
import org.tela_botanica.del.client.navigation.evenement.comparaisoneflore.EvenementComparaisonEflore; |
import org.tela_botanica.del.client.utils.UtilitairesAutoCompletionService; |
23,6 → 24,7 |
private AutoCompletionComboBoxPresenteur autoCompletionNomTaxonsPresenteur; |
public FormulaireRechercheEflorePresenteur() { |
creerCompletionTaxons(); |
} |
/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/DeterminationVue.ui.xml |
---|
9,23 → 9,25 |
<g:HTMLPanel styleName="limiteMin"> |
<g:HTMLPanel> |
<g:Hyperlink ui:field="lienRetour" styleName="lien">Retour</g:Hyperlink> |
<g:Label text="{constants.titrePlateformeDetermination}" styleName="titre"/> |
<g:HTMLPanel ui:field="metadonnees" /> |
<g:HTMLPanel ui:field="metadonnees" styleName="{style.metadonnees}"/> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="{style.zoneDetailImage}"> |
<g:VerticalPanel ui:field="detailImageObservation" styleName="{style.zoneImage}"/> |
<g:HTMLPanel ui:field="voteProtocole" /> |
<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> |
<g:Label styleName="gauche" text="{constants.determinationPlusProbable}" /> |
<g:Label ui:field="nomTaxonProbable" styleName="gauche gras"/> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="nettoyage {style.boutons}"> |
<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> |
<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" /> |
33,8 → 35,19 |
</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> |
</ui:UiBinder> |
/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/DeterminationPresenteur.java |
---|
85,7 → 85,15 |
public HasWidgets getNouvelleLigneProtocole(); |
public void afficherNomTaxonProbable(String nomTaxon); |
public HasClickHandlers getLienOuvrages(); |
public HasClickHandlers getLienBonnier(); |
public HasClickHandlers getLienCles(); |
public HasClickHandlers getLienEflore(); |
} |
private Vue vue; |
238,5 → 246,42 |
chargerEtAjouterLignesVotesProtocole(); |
} |
}); |
vue.getLienOuvrages().addClickHandler(new ClickHandler() { |
@Override |
public void onClick(ClickEvent event) { |
Config config = new Config(); |
Window.open(config.getUrl("ouvragesFlore"), "Flores numérisées", null); |
} |
}); |
vue.getLienBonnier().addClickHandler(new ClickHandler() { |
@Override |
public void onClick(ClickEvent event) { |
Config config = new Config(); |
Window.open(config.getUrl("bonnierPda"), "Flore Bonnier PDA", null); |
} |
}); |
vue.getLienCles().addClickHandler(new ClickHandler() { |
@Override |
public void onClick(ClickEvent event) { |
Config config = new Config(); |
Window.open(config.getUrl("clesDetermination"), "Clés de determination", null); |
} |
}); |
vue.getLienEflore().addClickHandler(new ClickHandler() { |
@Override |
public void onClick(ClickEvent event) { |
Config config = new Config(); |
Window.open(config.getUrl("eflore"), "eFlore", null); |
} |
}); |
} |
} |
/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/DeterminationVue.java |
---|
21,7 → 21,7 |
Panel forum, detailImageObservation, formulaireRechercheEflore, voteProtocole; |
@UiField |
Label nomTaxonProbable; |
Label nomTaxonProbable, lienOuvrages, lienEflore, lienBonnier, lienCles; |
@UiField |
Hyperlink lienRetour; |
89,5 → 89,25 |
public Button getBoutonAjoutCommentaireBas() { |
return boutonAjoutCommentaireBas; |
} |
@Override |
public HasClickHandlers getLienOuvrages() { |
return lienOuvrages; |
} |
@Override |
public HasClickHandlers getLienBonnier() { |
return lienBonnier; |
} |
@Override |
public HasClickHandlers getLienCles() { |
return lienCles; |
} |
@Override |
public HasClickHandlers getLienEflore() { |
return lienEflore; |
} |
} |
/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/ligneProtocole/LigneProtocoleVue.ui.xml |
---|
4,7 → 4,7 |
xmlns:g='urn:import:com.google.gwt.user.client.ui' |
xmlns:forum="urn:import:org.tela_botanica.del.client.vues.plateformedetermination.forum"> |
<ui:style src="ligneProtocole.css" /> |
<g:HorizontalPanel> |
<g:HorizontalPanel styleName="vote"> |
<g:HTMLPanel ui:field="zoneVote" /> |
</g:HorizontalPanel> |
</ui:UiBinder> |
/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/forum/ForumVue.ui.xml |
---|
6,7 → 6,6 |
<ui:with field="constants" type="org.tela_botanica.del.client.i18n.Vocabulary" /> |
<ui:style src="forum.css" /> |
<g:HTMLPanel> |
<g:Label text="{constants.lesPropositions}" styleName="titre"/> |
<g:HTMLPanel ui:field='panneauInterventions' styleName="{style.table}" /> |
</g:HTMLPanel> |
</ui:UiBinder> |
/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/forum/interventions/ForumInterventionVue.java |
---|
68,6 → 68,7 |
nom.setText(determination.getAuteur()); |
nomTaxon.setText(determination.getEspece()); |
voter.add(barreRepartition); |
date.setText(DateTimeFormat.getFormat("dd/MM/yyyy").format(determination.getDate())); |
116,5 → 117,22 |
public HasMouseOutHandlers getConteneurInterventionMouseOut() { |
return proposition; |
} |
public HasClickHandlers getEspece() { |
return nomTaxon; |
} |
public void ajouterLienEspece() { |
nomTaxon.addStyleName("labelLien"); |
} |
public HasClickHandlers getAuteur() { |
return nom; |
} |
public void ajouterLienAuteur() { |
nom.addStyleName("lien"); |
nom.setTitle("Voir le profil"); |
} |
} |
/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/forum/interventions/forumIntervention.css |
---|
5,14 → 5,16 |
margin-bottom:5px; |
} |
.nom { |
margin-right:5px |
margin-right:4px; |
margin-left:3px; |
margin-top:1px; |
} |
.le { |
margin-top:2px; |
margin-top:1px; |
} |
.date { |
margin-left:5px; |
margin-top:2px; |
margin-left:3px; |
margin-top:1px; |
} |
.determination { |
clear:left; |
21,7 → 23,7 |
} |
.nomtaxon { |
float:left; |
margin-left:5px; |
font-size:15px; |
} |
.voter { |
font-size:11px; |
34,14 → 36,17 |
margin-right:5px; |
} |
.repondre { |
text-align:right; |
margin-top:3px; |
float:right; |
cursor:pointer; |
} |
.suppression { |
width:15px; |
height:16px; |
background:url('./img/cancel.png') no-repeat; |
cursor: pointer; |
float: right; |
margin-top: -2px; |
margin-top:-15px; |
margin-left:550px; |
position:absolute; |
} |
/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/forum/interventions/ForumInterventionVue.ui.xml |
---|
10,22 → 10,20 |
<g:FocusPanel ui:field="conteneurLienSuppression" styleName="{style.suppression}"> |
<g:HTML ui:field="supprimer" /> |
</g:FocusPanel> |
<g:Label ui:field="nom" styleName="{style.nom} gauche"/> |
<g:Label text="le" styleName="{style.le} gauche petit"/> |
<g:Label ui:field="date" styleName="{style.date} gauche petit"/> |
<g:HTMLPanel styleName="gauche nettoyage" ui:field="zoneDetermination"> |
<g:Label text="Détermination proposée : " styleName="{style.determination} petit" /> |
<g:HTMLPanel styleName="gauche nettoyage" ui:field="zoneDetermination"> |
<g:Label ui:field="nomTaxon" styleName="{style.nomtaxon}" /> |
</g:HTMLPanel> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="droite" ui:field="zoneVoter"> |
<g:Label text="Etes-vous d'accord ? " styleName="{style.daccord} petit gauche" /> |
<g:HTMLPanel ui:field="voter" styleName="{style.voter} gauche" /> |
</g:HTMLPanel> |
<g:Label text="Détermination proposée par " styleName="{style.determination} petit" /> |
<g:Label ui:field="nom" styleName="{style.nom} petit gauche" /> |
<g:Label text="le" styleName="{style.le} gauche petit"/> |
<g:Label ui:field="date" styleName="{style.date} gauche petit"/> |
<g:Label ui:field="commentaire" styleName="{style.commentaire}"/> |
<g:Label text="Répondre" styleName="{style.repondre} labelLien" ui:field="repondre"/> |
<g:HTML><br /></g:HTML> |
<g:HTMLPanel ui:field="zoneEnfants"></g:HTMLPanel> |
</g:HTMLPanel> |
</g:FocusPanel> |
/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/forum/interventions/ForumInterventionPresenteur.java |
---|
7,6 → 7,7 |
import org.tela_botanica.del.client.composants.formulaires.formulairecommentaire.FormulaireCommentaireVue; |
import org.tela_botanica.del.client.composants.votes.barrerepartition.BarreRepartitionVotePresenteur; |
import org.tela_botanica.del.client.composants.votes.barrerepartition.BarreRepartitionVoteVue; |
import org.tela_botanica.del.client.config.Config; |
import org.tela_botanica.del.client.i18n.I18n; |
import org.tela_botanica.del.client.modeles.Commentaire; |
import org.tela_botanica.del.client.modeles.InterventionForum; |
54,6 → 55,10 |
void cacherLienSuppression(); |
HasMouseOverHandlers getConteneurInterventionMouseOver(); |
HasMouseOutHandlers getConteneurInterventionMouseOut(); |
HasClickHandlers getEspece(); |
void ajouterLienEspece(); |
HasClickHandlers getAuteur(); |
void ajouterLienAuteur(); |
} |
private Vue vue; |
97,6 → 102,31 |
calculerEtAfficherVoteDetermination(barreRepartitionVotePresenteur, propositionDetermination); |
ArbreCommentairePresenteur arbreCommentairePresenteur = new ArbreCommentairePresenteur(new ArbreCommentaireVue(), propositionDetermination); |
vue.ajouterInterventionDetermination(propositionDetermination, barreRepartitionVotePresenteur.getBarreRepartitionVoteVue(), arbreCommentairePresenteur.getArbreCommentaireVue()); |
final String nn = propositionDetermination.getNumNomenclatural(); |
if (nn != null) { |
vue.ajouterLienEspece(); |
vue.getEspece().addClickHandler(new ClickHandler() { |
@Override |
public void onClick(ClickEvent event) { |
Config config = new Config(); |
Window.open(config.getUrl("efloreTaxon") + nn, "Fiche eflore", null); |
} |
}); |
} |
final String idContributeur = propositionDetermination.getContributeur().getId(); |
if (idContributeur != null) { |
vue.ajouterLienAuteur(); |
vue.getAuteur().addClickHandler(new ClickHandler() { |
@Override |
public void onClick(ClickEvent event) { |
Config config = new Config(); |
Window.open(config.getUrl("annuaire") + idContributeur, "Consultation de l'annuaire", null); |
} |
}); |
} |
} |
private void ajouterCommentaire(Commentaire proposition) { |
/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.i18n.I18n; |
import com.google.gwt.core.client.GWT; |
import com.google.gwt.event.dom.client.HasClickHandlers; |
import com.google.gwt.uibinder.client.UiBinder; |
6,6 → 8,7 |
import com.google.gwt.uibinder.client.UiField; |
import com.google.gwt.user.client.ui.CheckBox; |
import com.google.gwt.user.client.ui.Composite; |
import com.google.gwt.user.client.ui.HTML; |
import com.google.gwt.user.client.ui.HasWidgets; |
import com.google.gwt.user.client.ui.Label; |
import com.google.gwt.user.client.ui.Panel; |
26,6 → 29,9 |
@UiField |
Label ajouterObservation; |
@UiField |
HTML chapeau; |
@UiField |
CheckBox radioTout, radioDeterminer, radioConfirmer, radioDiscussion; |
36,6 → 42,7 |
// 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/MoteurRechercheObservations.css |
---|
4,8 → 4,18 |
.lienProposerObservation { |
float: right; |
margin-top:20px; |
} |
.zoneStatut { |
margin-top:-36px; |
} |
} |
.zoneStatut span { |
padding-right:10px; |
} |
.zoneStatut label { |
padding-left:2px; |
} |
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/moteur/MoteurRechercheObservationsVue.ui.xml |
---|
10,16 → 10,17 |
<g:HTMLPanel> |
<g:HTMLPanel styleName="limiteMax"> |
<g:Label text="{constants.introRechercheObservations}" styleName="chapeau"/> |
<g:HTML ui:field="chapeau" styleName="chapeau"></g:HTML> |
<g:Label ui:field="ajouterObservation" text="{constants.ajouterObservation}" title="{constants.legendeAjouterObservation}" styleName="acceder-outil {style.lienProposerObservation}"/> |
<g:Label text="{constants.rechercherObservation}" styleName="titre" /> |
<g:Label text="{constants.entrerMotClef}" styleName="gris {style.entrerMotClef}" /> |
<g:HTMLPanel ui:field="zoneRecherche" /> |
<g:HorizontalPanel styleName="{style.zoneStatut}"> |
<g:Label>Filtrer par statut : </g:Label> |
<g:CheckBox ui:field="radioTout" text="Tout" name="statut" checked="true" formValue="tout"></g:CheckBox> |
<g:CheckBox ui:field="radioDeterminer" text="A déterminer" name="statut" formValue="adeterminer"></g:CheckBox> |
<g:CheckBox ui:field="radioConfirmer" text="A confirmer" name="statut" formValue="aconfirmer"></g:CheckBox> |
<g:CheckBox ui:field="radioDiscussion" text="En discussion" name="statut" formValue="endiscussion"></g:CheckBox> |
<g:CheckBox ui:field="radioDeterminer" text="à déterminer" name="statut" formValue="adeterminer"></g:CheckBox> |
<g:CheckBox ui:field="radioConfirmer" text="à confirmer" name="statut" formValue="aconfirmer"></g:CheckBox> |
<g:CheckBox ui:field="radioDiscussion" text="en discussion" name="statut" formValue="endiscussion"></g:CheckBox> |
</g:HorizontalPanel> |
</g:HTMLPanel> |
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/resultats/observations/observation.css |
---|
6,7 → 6,7 |
.titrePropositions { |
margin-top:-0px; |
background: url(./img/troisCarre.png) no-repeat 70px 8px; |
background: url(./img/troisCarre.png) no-repeat 91px 6px; |
} |
.listePropositions { |