/trunk/src/org/tela_botanica/del/client/composants/votes/barrerepartition/barreRepartition.css |
---|
64,14 → 64,15 |
height:15px; |
width:15px; |
border-radius:0 2px 2px 0; |
background-image: url("img/pouce_haut.png"); |
} |
.boutonOui:hover { |
background:#8EB533; |
background-image: url("img/pouce_haut_hover.png"); |
} |
.boutonNon:hover { |
background:#C61717 |
background-image: url("img/pouce_bas_hover.png"); |
} |
.boutonNon { |
79,6 → 80,7 |
height:15px; |
width:15px; |
border-radius:2px 0 0 2px; |
background-image: url("img/pouce_bas.png"); |
} |
/trunk/src/org/tela_botanica/del/client/composants/votes/barrerepartition/BarreRepartitionVoteVue.ui.xml |
---|
6,13 → 6,13 |
<g:HTMLPanel styleName="{style.conteneurBarre}"> |
<g:Label ui:field="nomTaxon" styleName="{style.labelTaxon} labelTaxon" /> |
<g:HTMLPanel styleName="{style.conteneurBarreOuiNon}"> |
<g:PushButton ui:field="boutonNon" text="-" styleName="{style.boutonNon}"/> |
<g:PushButton ui:field="boutonNon" text=" " styleName="{style.boutonNon}"/> |
<g:HTMLPanel styleName="{style.barre}"> |
<g:Label styleName="{style.pourcentage}" ui:field="pourcentage"></g:Label> |
<g:HTMLPanel ui:field="barreOui" styleName="{style.barreOui} gauche"/> |
<g:HTMLPanel ui:field="barreNon" styleName="{style.barreNon} droite"/> |
</g:HTMLPanel> |
<g:PushButton ui:field="boutonOui" text="+" styleName="{style.boutonOui}"/> |
<g:PushButton ui:field="boutonOui" text=" " styleName="{style.boutonOui}"/> |
<g:HTMLPanel ui:field="votePrisEnCompte"><g:Label text="{constants.votePrisEnCompte}"></g:Label></g:HTMLPanel> |
<g:HTMLPanel ui:field="voteModifie"><g:Label text="{constants.voteModifie}"></g:Label></g:HTMLPanel> |
</g:HTMLPanel> |
/trunk/src/org/tela_botanica/del/client/composants/votes/barrerepartition/BarreRepartitionVoteVue.java |
---|
1,5 → 1,7 |
package org.tela_botanica.del.client.composants.votes.barrerepartition; |
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; |
32,6 → 34,8 |
voteModifie.setVisible(false); |
animerVotePrisEnCompte = new InfoBulleAnim(votePrisEnCompte); |
animerVoteModifie = new InfoBulleAnim(voteModifie); |
boutonOui.setTitle(I18n.getVocabulary().JeSuisDaccord()); |
boutonNon.setTitle(I18n.getVocabulary().JeNeSuisPasDaccord()); |
} |
@Override |
67,17 → 71,21 |
@Override |
public void setVoteOuiEffectue() { |
boutonOui.setEnabled(false); |
boutonOui.addStyleName("boutonVoteDesactive"); |
boutonOui.addStyleName("boutonVoteOuiDesactive"); |
boutonNon.setEnabled(true); |
boutonNon.removeStyleName("boutonVoteDesactive"); |
boutonNon.removeStyleName("boutonVoteNonDesactive"); |
boutonOui.setTitle(""); |
boutonNon.setTitle(I18n.getVocabulary().JeNeSuisPasDaccord()); |
} |
@Override |
public void setVoteNonEffectue() { |
boutonOui.setEnabled(true); |
boutonOui.removeStyleName("boutonVoteDesactive"); |
boutonOui.removeStyleName("boutonVoteOuiDesactive"); |
boutonNon.setEnabled(false); |
boutonNon.addStyleName("boutonVoteDesactive"); |
boutonNon.addStyleName("boutonVoteNonDesactive"); |
boutonOui.setTitle(I18n.getVocabulary().JeSuisDaccord()); |
boutonNon.setTitle(""); |
} |
@Override |
/trunk/src/org/tela_botanica/del/client/i18n/Vocabulary.java |
---|
2,7 → 2,7 |
/** |
* Interface to represent the constants contained in resource bundle: |
* 'D:/dev/svn/del/src/org/tela_botanica/del/client/i18n/Vocabulary.properties'. |
* '/home/aurelien/web/del/src/org/tela_botanica/del/client/i18n/Vocabulary.properties'. |
*/ |
public interface Vocabulary extends com.google.gwt.i18n.client.Constants { |
16,6 → 16,24 |
String EtesVousDaccord(); |
/** |
* Translated "Je ne suis pas d'accord". |
* |
* @return translated "Je ne suis pas d'accord" |
*/ |
@DefaultStringValue("Je ne suis pas d'accord") |
@Key("JeNeSuisPasDaccord") |
String JeNeSuisPasDaccord(); |
/** |
* Translated "Je suis d'accord". |
* |
* @return translated "Je suis d'accord" |
*/ |
@DefaultStringValue("Je suis d'accord") |
@Key("JeSuisDaccord") |
String JeSuisDaccord(); |
/** |
* Translated "Valider". |
* |
* @return translated "Valider" |
412,11 → 430,11 |
String identifie(); |
/** |
* Translated "Photos d'eFlore". |
* Translated "Photos du Carnet en Ligne". |
* |
* @return translated "Photos d'eFlore" |
* @return translated "Photos du Carnet en Ligne" |
*/ |
@DefaultStringValue("Photos d'eFlore") |
@DefaultStringValue("Photos du Carnet en Ligne") |
@Key("imageEflore") |
String imageEflore(); |
/trunk/src/org/tela_botanica/del/client/i18n/Vocabulary.properties |
---|
97,6 → 97,8 |
determinationPlusProbable = Détermination la plus probable : |
proposePar = Proposé par |
EtesVousDaccord = Etes-vous d'accord ? |
JeSuisDaccord = Je suis d'accord |
JeNeSuisPasDaccord = Je ne suis pas d'accord |
confirmationSuppressionCommentaire = Êtes vous sur de vouloir supprimer ce commentaire ? |
confirmationSuppressionDetermination = Êtes vous sur de vouloir supprimer cette détermination ? |
/trunk/war/del.css |
---|
385,13 → 385,16 |
border-radius:10px; |
} |
.boutonVoteDesactive * { |
.boutonVoteOuiDesactive { |
background-image: url("img/pouce_haut_desactive.png") !important; |
color:#999999; |
cursor: default; |
cursor: default !important; |
} |
.boutonVoteDesactive:hover { |
background-color:#AAAAAA !important; |
.boutonVoteNonDesactive { |
background-image: url("img/pouce_bas_desactive.png") !important; |
color:#999999; |
cursor: default !important; |
} |
.chapeau { |
427,4 → 430,30 |
.propositionInitiale { |
color:#8EB533; |
font-weight:bold; |
} |
.etoiles { |
height: 26px; |
margin-left: 38px; |
margin-top: -2px; |
width: 26px; |
} |
.etoiles_0 { |
background:url("./img/0_etoiles.png") no-repeat; border:none; padding-left:16px; padding-top:16px; margin-left:5px, |
} |
.etoiles_1 { |
background:url("./img/1_etoiles.png") no-repeat; border:none; padding-left:16px; padding-top:16px; margin-left:5px, |
} |
.etoiles_2 { |
background:url("./img/2_etoiles.png") no-repeat; border:none; padding-left:16px; padding-top:16px; margin-left:5px, |
} |
.etoiles_3 { |
background:url("./img/3_etoiles.png") no-repeat; border:none; padding-left:16px; padding-top:16px; margin-left:5px; |
} |
.etoiles_4 { |
background:url("./img/4_etoiles.png") no-repeat; border:none; padding-left:16px; padding-top:16px; margin-left:5px; |
} |
.etoiles_5 { |
background:url("./img/5_etoiles.png") no-repeat; border:none; padding-left:16px; padding-top:16px; margin-left:5px; |
} |
/trunk/war/img/pouce_haut_desactive.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/war/img/pouce_haut_desactive.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/war/img/pouce_bas_desactive.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/war/img/pouce_bas_desactive.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/war/img/pouce_haut.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/war/img/pouce_haut.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/war/img/pouce_bas.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/war/img/pouce_bas.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/war/img/pouce_haut_hover.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/war/img/pouce_haut_hover.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |
/trunk/war/img/pouce_bas_hover.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
/trunk/war/img/pouce_bas_hover.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+image/png |
\ No newline at end of property |