server move
@ -374,3 +374,18 @@ a:hover {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#firstname {
|
||||||
|
color: blue;
|
||||||
|
text-align: center;
|
||||||
|
width: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lastname {
|
||||||
|
color: red;
|
||||||
|
margin: 10px;
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 433 KiB After Width: | Height: | Size: 433 KiB |
|
Before Width: | Height: | Size: 661 KiB After Width: | Height: | Size: 661 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
@ -5,6 +5,12 @@ $(document).ready(function(){
|
|||||||
$(".logo_add").click(function() {
|
$(".logo_add").click(function() {
|
||||||
$(".modal").show();
|
$(".modal").show();
|
||||||
$(".title_modal").html("Ajout d'une entreprise");
|
$(".title_modal").html("Ajout d'une entreprise");
|
||||||
|
$("input[type='hidden']").attr("value","add");
|
||||||
|
$("input[name='name']").attr("value","");
|
||||||
|
$("input[name='activity_sector']").attr("value","");
|
||||||
|
$("input[name='nb_intern_cesi']").attr("value","");
|
||||||
|
$("input[name='email']").attr("value","");
|
||||||
|
|
||||||
$(".info_message").css("display", "none");
|
$(".info_message").css("display", "none");
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -27,12 +33,14 @@ $(document).ready(function(){
|
|||||||
$(".logo_edit").click(function() {
|
$(".logo_edit").click(function() {
|
||||||
$(".modal").show();
|
$(".modal").show();
|
||||||
$(".title_modal").html("Modification d'une entreprise");
|
$(".title_modal").html("Modification d'une entreprise");
|
||||||
|
$("input[type='hidden']").attr("value","edit");
|
||||||
$("input[name='name']").attr("value",$(this).attr("name"));
|
$("input[name='name']").attr("value",$(this).attr("name"));
|
||||||
$("input[name='activity_sector']").attr("value",$(this).attr("activity_sector"));
|
$("input[name='activity_sector']").attr("value",$(this).attr("activity_sector"));
|
||||||
$("input[name='nb_intern_cesi']").attr("value",$(this).attr("nb_intern"));
|
$("input[name='nb_intern_cesi']").attr("value",$(this).attr("nb_intern"));
|
||||||
$("input[name='email']").attr("value",$(this).attr("email"));
|
$("input[name='email']").attr("value",$(this).attr("email"));
|
||||||
|
|
||||||
$("select[name='localisation'] option[value="+$(this).attr("localisation")+"]").prop('selected', true);
|
$("select[name='localisation'] option[value="+$(this).attr("localisation")+"]").prop('selected', true);
|
||||||
|
$("select[name='note'] option[value="+$(this).attr("note")+"]").prop('selected', true);
|
||||||
$("select[name='visibility'] option[value="+$(this).attr("visibility")+"]").prop('selected', true);
|
$("select[name='visibility'] option[value="+$(this).attr("visibility")+"]").prop('selected', true);
|
||||||
$(".info_message").css("display", "none");
|
$(".info_message").css("display", "none");
|
||||||
});
|
});
|
||||||