Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1066 → Rev 1067

/trunk/widget/modules/recherche/squelettes/css/recherche.css
8,9 → 8,9
}
 
#conteneur-recherche {
background-color: #D3D0BB;
background-color: #FFFFFF;
border-radius: 10px 10px 10px 10px;
box-shadow: 2px 2px 5px #C3C0AD;
box-shadow: 6px 6px 6px 6px #C3C0AD;
color: #3A3633;
font-family: arial;
font-size: 11px;
34,8 → 34,15
 
.selection-referentiel {
background: none repeat scroll 0 0 white;
cursor: pointer;
}
 
.referentiel-selectionne {
border-color: #EB8F00;
color: #EB8F00;
cursor: default;
}
 
#ef-form-nomenclature label {
display: inline;
}
/trunk/widget/modules/recherche/squelettes/recherche.tpl.html
30,6 → 30,14
$('#nom').attr("placeholder", "");
}
}
function mettreEnValeurReferentielSelectionne(bouton) {
$(".selection-referentiel").removeAttr("disabled");
$(".selection-referentiel").removeClass("referentiel-selectionne");
bouton.attr("disabled","disabled");
bouton.addClass("referentiel-selectionne");
gererVisibiliteSelecteurNom();
}
function initialiser() {
$.getScript("<?= $efloreScriptUrl; ?>").done(function(script, textStatus) {
37,11 → 45,9
// elle utilise les variable définies ci dessus, et elle est donc chargée après.
initialiserMoteur();
$(".selection-referentiel").click(function () {
$(".selection-referentiel").removeAttr("disabled");
$(this).attr("disabled","disabled");
gererVisibiliteSelecteurNom();
mettreEnValeurReferentielSelectionne($(this));
});
gererVisibiliteSelecteurNom();
mettreEnValeurReferentielSelectionne($($(".selection-referentiel")[0]));
});
}