diff --git a/1.sources/MyHealth/docroot/WEB-INF/faces-config.xml b/1.sources/MyHealth/docroot/WEB-INF/faces-config.xml index f8b8e6a..ffcf652 100644 --- a/1.sources/MyHealth/docroot/WEB-INF/faces-config.xml +++ b/1.sources/MyHealth/docroot/WEB-INF/faces-config.xml @@ -15,7 +15,7 @@ AddPatient /profile/AddPatient.xhtml - + AddFamilyDoctor /profile/AddFamilyDoctor.xhtml @@ -51,12 +51,16 @@ UpdatePatient /profile/UpdatePatient.xhtml + + UpdateProfile + /profile/UpdateProfile.xhtml + changecap /profile/ChangePrimaryHealthCareCenter.xhtml - MedicalTests + AddMedicalTest /medicaltest/MedicalTests.xhtml @@ -64,8 +68,44 @@ /visit/VisitView.xhtml - ManageSpecialties + ManageCAPs /systemAdmin/ManageSpecialties.xhtml + + ManageMedicalSpecialties + /systemAdmin/ManageSpecialties.xhtml + + + AddUserAdmin + /systemAdmin/ManageSpecialties.xhtml + + + ScheduleVisit + /visit/VisitView.xhtml + + + QueryVisit + /visit/VisitView.xhtml + + + MedicaltestManage + /mdicaltest/MedicalTests.xhtml + + + QueryDoctorBySpecialty + /mdicaltest/MedicalTests.xhtml + + + ListDoctorsbySpecialty + /mdicaltest/MedicalTests.xhtml + + + AskQuestion + /mdicaltest/MedicalTests.xhtml + + + AnswerQuestion + /mdicaltest/MedicalTests.xhtml + diff --git a/1.sources/MyHealth/docroot/header.xhtml b/1.sources/MyHealth/docroot/header.xhtml index 5c52793..6b06d69 100644 --- a/1.sources/MyHealth/docroot/header.xhtml +++ b/1.sources/MyHealth/docroot/header.xhtml @@ -12,14 +12,19 @@ function handleLoginRequest(xhr, status, args) { + $('#loginSpin').slideUp(); + if(args.validationFailed || !args.loggedIn) { PF('dlgLogin').jq.effect("shake", {times:5}, 100); } else { PF('dlgLogin').hide(); - $('#loginLink').fadeOut(); } } + + function showSpinner() { + $('#loginSpin').slideDown(); + }
@@ -29,10 +34,11 @@