/trunk/src/org/tela_botanica/del/client/vues/rechercheimages/resultats/ResultatRechercheImage.css |
---|
54,16 → 54,17 |
} |
.boutonTriAsc:hover,.boutonTriDesc:hover { |
background-color: #8EB533 |
border:dotted 1px #8EB533; |
border-width:0 0 1px 0; |
} |
.boutonTriAsc { |
height: 20px; |
height: 19px; |
background: url(./img/fleche-haut.png) no-repeat |
} |
.boutonTriDesc { |
height: 20px; |
height: 19px; |
background: url(./img/fleche-bas.png) no-repeat |
} |
/trunk/src/org/tela_botanica/del/client/vues/rechercheimages/resultats/ResultatRechercheImageVue.ui.xml |
---|
16,12 → 16,12 |
<g:HTMLPanel ui:field="zoneTri" styleName="gauche {style.zoneTri} petit"> |
<g:Label text="{constants.tri}" styleName="gauche {style.labeltri}"/> |
<g:HTMLPanel ui:field="triParNbVotes" styleName="gauche"> |
<g:Label text="{constants.triParNbVotes}" styleName="gauche {style.votes}" ui:field="labelVote"/> |
<g:Hyperlink text="{constants.triParNbVotes}" styleName="gauche {style.votes}" ui:field="labelVote"/> |
<g:Button title="{constants.triParNbVotesAscendant}" ui:field="triParNbVotesAscendant" styleName="{style.boutonTriAsc} gauche" /> |
<g:Button title="{constants.triParNbVotesDescendant}" ui:field="triParNbVotesDescendant" styleName="{style.boutonTriDesc} gauche" /> |
</g:HTMLPanel> |
<g:HTMLPanel ui:field="triParDate" styleName="gauche"> |
<g:Label text="{constants.triParDate}" styleName="gauche {style.date}" ui:field="labelDate"/> |
<g:Hyperlink text="{constants.triParDate}" styleName="gauche {style.date}" ui:field="labelDate"/> |
<g:Button title="{constants.triParDateAscendant}" ui:field="triParDateAscendant" styleName="{style.boutonTriAsc} gauche" /> |
<g:Button title="{constants.triParDateDescendant}" ui:field="triParDateDescendant" styleName="{style.boutonTriDesc} gauche" /> |
</g:HTMLPanel> |
/trunk/src/org/tela_botanica/del/client/vues/rechercheimages/resultats/ResultatRechercheImagePresenteur.java |
---|
96,7 → 96,7 |
private List<Protocole> protocoles; |
private String protocoleParDefaut = Protocole.ESTHETISME; |
private ModeTri triCourantVote = ModeTri.TRI_ASCENDANT; |
private ModeTri triCourantDate = ModeTri.TRI_ASCENDANT; |
private ModeTri triCourantDate = ModeTri.TRI_DESCENDANT; |
public ResultatRechercheImagePresenteur(ImageService imageService, Vue vue) { |
this.vue = vue; |
111,7 → 111,7 |
chargerProtocoles(); |
vue.masquerVoteDescendant(); |
vue.masquerVoteAscendant(); |
vue.masquerDateDescendant(); |
//vue.masquerDateDescendant(); |
vue.masquerDateAscendant(); |
} |
/trunk/src/org/tela_botanica/del/client/vues/rechercheimages/resultats/ResultatRechercheImageVue.java |
---|
11,6 → 11,7 |
import com.google.gwt.user.client.ui.Composite; |
import com.google.gwt.user.client.ui.HTMLPanel; |
import com.google.gwt.user.client.ui.HasWidgets; |
import com.google.gwt.user.client.ui.Hyperlink; |
import com.google.gwt.user.client.ui.Label; |
import com.google.gwt.user.client.ui.ListBox; |
import com.google.gwt.user.client.ui.Panel; |
41,9 → 42,12 |
Button triParNbVotesAscendant, triParNbVotesDescendant, triParDateAscendant, triParDateDescendant; |
@UiField |
Label aucunResultat, labelVote, labelDate; |
Label aucunResultat; |
@UiField |
Hyperlink labelVote, labelDate; |
@UiField |
ListBox listeProtocoles; |
// Constructeur |
public ResultatRechercheImageVue() { |
167,7 → 171,7 |
} |
@Override |
public Label getLabelVote() { |
public Hyperlink getLabelVote() { |
return labelVote; |
} |
192,7 → 196,7 |
} |
@Override |
public Label getLabelDate() { |
public Hyperlink getLabelDate() { |
return labelDate; |
} |