Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 676 → Rev 677

/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/resultats/ResultatsRechercheObservations.css
7,7 → 7,7
}
 
.barreNavigation {
max-width: 810px;
max-width: 780px;
margin-top: 0;
padding-bottom: 20px;
}
31,16 → 31,16
cursor:pointer;
}
.boutonTriAsc:hover, .boutonTriDesc:hover {
background-color:#8EB533
border-bottom:dotted 1px #8EB533
}
 
.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/rechercheobservations/resultats/ResultatsRechercheObservationsVue.ui.xml
11,8 → 11,9
<g:HTMLPanel styleName="{style.barreNavigation}">
<g:VerticalPanel ui:field="zonePaginationHaut" styleName="gauche" />
<g:HTMLPanel ui:field="zoneTri" styleName="droite {style.zoneTri} petit">
<g:Label text="{constants.tri}" styleName="gauche"/>
<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/rechercheobservations/resultats/ResultatsRechercheObservationsPresenteur.java
35,7 → 35,7
public HasClickHandlers getTriParDateDescendant();
public void afficherElementsAucunResultatTrouve();
public void afficherElementsResultatsTrouves();
public Label getLabelDate();
public HasClickHandlers getLabelDate();
public void masquerDateAscendant();
public void masquerDateDescendant();
public void afficherDateAscendant();
43,13 → 43,13
}
 
private Vue vue;
private ModeTri triCourantDate = ModeTri.TRI_ASCENDANT;
private ModeTri triCourantDate = ModeTri.TRI_DESCENDANT;
public ResultatsRechercheObservationsPresenteur(ObservationService serviceObs, Vue vue) {
this.vue = vue;
this.serviceObs = serviceObs;
vue.masquerDateAscendant();
vue.masquerDateDescendant();
//vue.masquerDateDescendant();
}
 
public void go(HasWidgets composite) {
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/resultats/ResultatsRechercheObservationsVue.java
6,6 → 6,7
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
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.Panel;
import com.google.gwt.user.client.ui.Widget;
28,7 → 29,10
Button triParDateAscendant, triParDateDescendant;
 
@UiField
Label aucunResultat, labelDate;
Label aucunResultat;
@UiField
Hyperlink labelDate;
 
// Constructeur de la vue
public ResultatsRechercheObservationsVue() {
93,7 → 97,7
}
@Override
public Label getLabelDate() {
public Hyperlink getLabelDate() {
return labelDate;
}
/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;
}