/trunk/src/org/tela_botanica/del/client/composants/metadonnees/metadonneesEnLigne.css |
---|
21,12 → 21,36 |
.metaPart1 { |
clear:both; |
font-size:15px; |
max-width:850px; |
} |
.metaPart2 { |
clear:both; |
color:#777; |
max-width:850px; |
} |
.metaPart3 { |
display:none |
display:none; |
max-width:850px; |
} |
.lieuDit:after { |
content:", "; |
} |
.zoneLieu:before { |
content:" / "; |
} |
.espece { |
color: #454341; |
font-size: 18px; |
margin-top: -3px; |
} |
.label { |
font-size:12px; |
margin-top:3px; |
} |
/trunk/src/org/tela_botanica/del/client/composants/metadonnees/MetadonneesVue.ui.xml |
---|
66,7 → 66,7 |
<!-- Publié par --> |
<g:HTMLPanel ui:field="zoneAuteur" styleName="{style.zoneAuteur}"> |
<g:Label styleName="petit gris" text="{constants.par}" /> |
<g:Label ui:field="auteur" styleName="{style.donnee}"/> |
<g:Label ui:field="auteur" styleName="{style.donnee}" title="Voir le profil" /> |
</g:HTMLPanel> |
<!-- Date de transmission --> |
/trunk/src/org/tela_botanica/del/client/composants/metadonnees/MetadonneesEnLigneVue.ui.xml |
---|
11,7 → 11,7 |
<g:HTMLPanel styleName="{style.metadonnees}"> |
<g:HTMLPanel styleName="{style.metaPart1}"> |
<g:HTMLPanel> |
<g:HTMLPanel styleName="{style.espece}"> |
<g:Label ui:field="nomRetenu" /> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="{style.nomCommun}"> |
18,29 → 18,27 |
<g:Label ui:field="nomCommun" /> |
</g:HTMLPanel> |
<g:HTMLPanel> |
<g:Label text="observée à" /> |
<g:Label text="observée à" styleName="{style.label}" /> |
<g:Label ui:field="localite" /> |
</g:HTMLPanel> |
<g:HTMLPanel> |
<g:Label text="par" /> |
<g:Label ui:field="auteur" /> |
<g:Label text="par" styleName="{style.label}" /> |
<g:Label ui:field="auteur" title="Voir le profil" /> |
</g:HTMLPanel> |
<g:HTMLPanel> |
<g:Label text="le" /> |
<g:Label text="le" styleName="{style.label}" /> |
<g:InlineLabel ui:field="dateReleve" /> |
</g:HTMLPanel> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="{style.metaPart2}"> |
<g:HTMLPanel> |
<g:HTMLPanel styleName="{style.zoneLieu}"> |
<g:Label text="Lieu :" /> |
<g:HTML ui:field="lieuDit" /> |
<g:HTML ui:field="lieuDit" styleName="{style.lieuDit}" title="{constants.lieuDit}"/> |
<g:Label ui:field="station" title="{constants.station}" /> |
</g:HTMLPanel> |
<g:HTMLPanel ui:field="zoneStation"> |
<g:Label ui:field="station" /> |
</g:HTMLPanel> |
<g:HTMLPanel> |
<g:HTMLPanel > |
<g:Label text="Milieu :" /> |
<g:Label ui:field="milieu" /> |
<g:Label ui:field="milieu"/> |
</g:HTMLPanel> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="{style.metaPart3}"> |
61,5 → 59,6 |
<g:InlineLabel ui:field="dateTransmission" /> |
</g:HTMLPanel> |
</g:HTMLPanel> |
</g:HTMLPanel> |
</ui:UiBinder> |
/trunk/src/org/tela_botanica/del/client/composants/metadonnees/MetadonneesEnLigneVue.java |
---|
27,9 → 27,6 |
HTML lieuDit; |
@UiField |
Panel zoneStation; |
@UiField |
InlineLabel dateReleve, dateTransmission; |
public MetadonneesEnLigneVue() { |
144,7 → 141,7 |
@Override |
public void setStation(String station) { |
if (station.equals("")) { |
this.zoneStation.setVisible(false); |
this.station.setVisible(false); |
} else { |
this.station.setText(station); |
} |
/trunk/src/org/tela_botanica/del/client/composants/moteurrecherche/MoteurRecherche.css |
---|
45,7 → 45,7 |
.recherchePrecedente { |
color: #555; |
padding: 5px 5px 20px; |
padding: 5px 5px 10px; |
font-style: italic; |
clear: left |
} |
/trunk/src/org/tela_botanica/del/client/composants/formulaires/formulaireproposition/FormulairePropositionPresenteur.java |
---|
221,7 → 221,7 |
propositionAjoutee.setContributeur(contributeur); |
propositionAjoutee.setDate(new Date()); |
propositionAjoutee.setEspece(autoCompletionNomTaxonsPresenteur.getValeur()); |
if (vue.getCommentaires().getText() != "") { |
String contenuCommentaire = vue.getCommentaires().getText(); |
propositionAjoutee.setCommentaire(contenuCommentaire); |
/trunk/src/org/tela_botanica/del/client/composants/votes/details/DetailListeVotesDeterminationVue.ui.xml |
---|
6,8 → 6,13 |
<ui:with field="constants" type="org.tela_botanica.del.client.i18n.Vocabulary" /> |
<ui:style src="detailListeVotesDeterminationVue.css" /> |
<g:HTMLPanel styleName="{style.conteneurTableauVotes}"> |
<g:HTMLPanel ui:field='titre' styleName="titre" /> |
<g:HTMLPanel ui:field='auteur' styleName="{style.auteur}" /> |
<g:HorizontalPanel> <g:HTMLPanel ui:field='titre' styleName="{style.espece}" /> |
<g:HTMLPanel ui:field='auteur' styleName="{style.auteur}" /> |
<g:Label text="{constants.dateReleve}" styleName="{style.dateLabel}"></g:Label> |
<g:Label ui:field='date' styleName="{style.date}"></g:Label> |
</g:HorizontalPanel> |
<g:HTML><hr /></g:HTML> |
<g:HTMLPanel styleName="{style.detailVotePour}"> |
<g:HTMLPanel styleName="{style.titreVotes}"> |
<g:Label>Votes Pour</g:Label> |
25,6 → 30,7 |
<g:HTMLPanel ui:field="detailVoteContre" styleName="{style.detailVotes}"> |
</g:HTMLPanel> |
</g:HTMLPanel> |
<g:HTML><hr class="nettoyage"/></g:HTML> |
<g:HTMLPanel ui:field="panneauChargement" styleName="{style.chargement}"> |
<g:Image url="./img/wait.gif"></g:Image> |
</g:HTMLPanel> |
32,5 → 38,9 |
<g:HTML> |
<br class="nettoyage" /> |
</g:HTML> |
<g:HTML styleName="petit aide">Ces votes permettent de confirmer ou non une détermination proposée par un membre du réseau. <br /> |
Vous pouvez changer à tout moment votre vote à l'aide de <img src="./img/pouce_bas.png" /> ou <img src="./img/pouce_haut.png" />. <br /> |
</g:HTML> |
<g:HTML styleName="{style.lignePonderation} petit">Une pondération s'opère pour le calcul des votes : vote en tant que membre identifié (3 points) / non identifié (1 point).</g:HTML> |
</g:HTMLPanel> |
</ui:UiBinder> |
/trunk/src/org/tela_botanica/del/client/composants/votes/details/ligneVote.css |
---|
5,4 → 5,5 |
.colonne2:before { |
content:(' - '); |
} |
} |
/trunk/src/org/tela_botanica/del/client/composants/votes/details/DetailListeVotesDeterminationVue.java |
---|
1,5 → 1,6 |
package org.tela_botanica.del.client.composants.votes.details; |
import java.util.Date; |
import java.util.Iterator; |
import java.util.List; |
import java.util.Map; |
35,7 → 36,7 |
HTMLPanel titre, auteur, aucuneDonnees, detailVotePour, detailVoteContre; |
@UiField |
Label scorePour, scoreContre; |
Label scorePour, scoreContre, date; |
@UiField |
Panel panneauChargement; |
43,6 → 44,19 |
public DetailListeVotesDeterminationVue() { |
initWidget(uiBinder.createAndBindUi(this)); |
} |
public String formaterDate(String dateNonFormatee) { |
try { |
DateTimeFormat parseur = DateTimeFormat.getFormat("yyyy-dd-MM HH:mm:ss"); |
Date date = parseur.parse(dateNonFormatee); |
DateTimeFormat formateur = DateTimeFormat.getFormat("dd/MM/yyyy"); |
return formateur.format(date); |
} catch (IllegalArgumentException e) { |
return ""; |
} |
} |
@Override |
public void afficherVotes(PropositionDetermination propositionDetermination) { |
53,6 → 67,9 |
HTML htmlAuteur = new HTML(I18n.getVocabulary().proposePar()+propositionDetermination.getAuteur()); |
auteur.add(htmlAuteur); |
String date = formaterDate(propositionDetermination.getObservation().getDateReleve()); |
this.date.setText(date); |
Map<String, VoteDetermination> listeVotes = propositionDetermination.getVotesDeterminations(); |
int votesAnonymesPour = 0; |
/trunk/src/org/tela_botanica/del/client/composants/votes/details/detailListeVotesDeterminationVue.css |
---|
7,7 → 7,7 |
width: 600px; |
margin: 0 auto; |
margin-top: 5%; |
padding-bottom:50px; |
padding-bottom:25px; |
} |
.chargement { |
18,18 → 18,37 |
color: #6C6865; |
font-family: arial; |
font-size: 13px; |
font-style: italic; |
font-weight: bold; |
letter-spacing: 0; |
line-height: 18px; |
text-transform: none; |
margin-top: -10px; |
} |
.date { |
color: #6C6865; |
font-family: arial; |
font-size: 13px; |
letter-spacing: 0; |
line-height: 18px; |
text-transform: none; |
margin-left:3px |
} |
.dateLabel { |
color: #6C6865; |
font-family: arial; |
font-size: 13px; |
letter-spacing: 0; |
line-height: 18px; |
text-transform: none; |
margin-left:3px; |
text-transform:lowercase |
} |
.detailVotePour { |
width:250px; |
float:left; |
margin-bottom:15px |
} |
.detailVoteContre { |
48,7 → 67,7 |
.titreVotesContre div { |
color:#C61717; |
color:#f06a6a; |
} |
.detailVotes { |
59,4 → 78,16 |
float:left; |
font-size:12px; |
margin-bottom:1px; |
} |
} |
.espece { |
font-size: 15px; |
font-weight: bold; |
margin-right:3px; |
margin-bottom:10px; |
} |
.lignePonderation { |
margin-top:4px; |
margin-left:20px; |
} |
/trunk/src/org/tela_botanica/del/client/composants/votes/barrerepartition/barreRepartition.css |
---|
43,7 → 43,7 |
} |
.barreNon { |
background:#C61717; |
background:#f06a6a; |
padding-bottom:15px; |
} |