From 701d665fedaf0a501ba1d5cd53046702da6bddcf Mon Sep 17 00:00:00 2001 From: Aram HARUTYUNYAN Date: Thu, 13 Jun 2013 08:39:21 +0000 Subject: [PATCH] Issue #0001636: Front-end part modification --- .../views/default/scripts/user/motpasse.phtml | 32 +++++++++---------- public/themes/default/scripts/motpasse.js | 3 ++ 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/application/views/default/scripts/user/motpasse.phtml b/application/views/default/scripts/user/motpasse.phtml index efbcddb7c..b7c12f922 100644 --- a/application/views/default/scripts/user/motpasse.phtml +++ b/application/views/default/scripts/user/motpasse.phtml @@ -29,7 +29,7 @@ $('a.dlg').on('click', function(e){ pre { font-family: arial; } -label#dlg { +label#frm { clear: both; float: left; width: 20em; @@ -37,7 +37,7 @@ label#dlg { text-align: right; font-weight: bold; } -input#dlg { +input#frm { width: 28em; } .brsr { @@ -91,32 +91,32 @@ Tous les champs (*) sont obligatoires : en cas de données manquantes ou erroné
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
diff --git a/public/themes/default/scripts/motpasse.js b/public/themes/default/scripts/motpasse.js index 3039cde15..14508d527 100644 --- a/public/themes/default/scripts/motpasse.js +++ b/public/themes/default/scripts/motpasse.js @@ -44,6 +44,9 @@ $('#dlg').dialog({ buttons: [ else { $('.loading').css('display', 'none');} $.post('/user/motpasse', values, function(data) { $('#dlg').html(data); + $('pre').hide(); + $('input#frm').attr("disabled", "disabled"); + $(".ui-dialog-buttonpane button:contains('Valider')").hide(); }); } }},