diff --git a/application/views/scripts/profil/create.phtml b/application/views/scripts/profil/create.phtml
index c469925e..48a73df2 100644
--- a/application/views/scripts/profil/create.phtml
+++ b/application/views/scripts/profil/create.phtml
@@ -9,7 +9,7 @@ div#entete {
}
div#entete li {
- background-color:#4D90FE;
+ background-color:#4D90FE;
border-top:2px solid #ffffff;
border-bottom:2px solid #ffffff;
line-height:20px;
@@ -31,7 +31,7 @@ div#dico {
div#dico li {
list-style-type:none;
padding:5px 10px;
- background-color:#4D90FE;
+ background-color:#4D90FE;
border-top:2px solid #ffffff;
border-bottom:2px solid #ffffff;
line-height:20px;
@@ -48,23 +48,23 @@ input[type="text"] {
-criteres)==0) {?>
- Placer les elements ici
-
+criteres)==0) {?>
+ Placer les elements ici
+
criteres as $key => $element) {?>
-
- "; }?>
-
+
-
+
-
+
elements as $key => $element) {?>
-
@@ -97,7 +97,7 @@ $(function() {
accept: ":not(.ui-sortable-helper)",
drop: function( e, ui ) {
e.preventDefault();
- $( this ).find( ".placeholder" ).remove();
+ $( this ).find( ".placeholder" ).remove();
var id = ui.draggable.attr('id');
$('
').html( ui.draggable.html() ).appendTo( this );
}
@@ -108,29 +108,29 @@ $(function() {
}
});
- $("#entete").delegate("a.delete","click", function(){
+ $("#entete").delegate("a.delete","click", function(e){
e.preventDefault();
$(this).parent().remove();
});
-
+
$("#entete ol").delegate("li" , "hover", function(e) {
e.preventDefault();
if (e.type === 'mouseenter') {
- var html = $(this).html();
+ var html = $(this).html();
$(this).html(html+'Supprimer');
} else {
- $( this ).find( ".delete" ).remove();
+ $( this ).find( ".delete" ).remove();
}
});
-
+
$('#save').click(function(e){
e.preventDefault();
var url = $(this).attr('href');
var list = new Array();
- $('#entete ol li').each(function(index){
+ $('#entete ol li').each(function(index){
var id = $(this).attr('id');
if($('input[name='+id+']', this).length>0){
- id = id + '(' + $('input[name='+id+']', this).val() + ')';
+ id = id + '(' + $('input[name='+id+']', this).val() + ')';
}
list.push(id);
});
@@ -139,8 +139,8 @@ $(function() {
$.post(url, { reference: ref, criteres: list }, function(data){
if (data!='Erreur'){ window.location.href = '/'; }
}, 'json');
- }
+ }
});
-
+
});
\ No newline at end of file