This repository was archived by the owner on May 21, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,11 +62,11 @@ cPass.addEventListener("submit", (e)=>{
6262 jsonp : "callback" ,
6363 crossDomain : true ,
6464 success : ( response ) => {
65- alert ( response . message ) ;
65+ displayNotification ( 'success' , 'Password changed' , 2000 )
6666 cPass . style . display = "none" ;
6767 } ,
6868 error : ( ) => {
69- console . log ( loginEP ) ;
69+ displayNotification ( 'error' , 'Password not changed' , 2000 )
7070 }
7171 } ) ;
7272 } ) ;
Original file line number Diff line number Diff line change 44 < title > SUSI Login Portal</ title >
55 < link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css " integrity ="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ " crossorigin ="anonymous ">
66 < link rel ="stylesheet " type ="text/css " href ="css/login.css ">
7+ < link rel ="stylesheet " type ="text/css " href ="css/notifications.min.css ">
8+
79 < link href ="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css " rel ="stylesheet "/>
810</ head >
911< body >
6567 < input type ="email " class ="form-control fmargin " id ="cemail " placeholder ="Email ">
6668 </ div >
6769 < div class ="form-group ">
68- < input type ="password " class ="form-control fmargin " id ="cpassword " placeholder ="Password ">
70+ < input type ="password " class ="form-control fmargin " id ="cpassword " placeholder ="Current Password ">
6971 </ div >
7072 < div class ="form-group ">
7173 < input type ="password " class ="form-control fmargin " id ="newPassword " placeholder ="New Password ">
8587 < script src ="jquery/jquery-3.2.1.min.js "> </ script >
8688 < script src ="bootstrap/bootstrap.min.js "> </ script >
8789 < script src ="js/login.js "> </ script >
90+ < script src ="js/notifications.min.js "> </ script >
91+
8892</ body >
8993</ html >
You can’t perform that action at this time.
0 commit comments