diff --git a/src/main/java/controller/view_patientServlet.java b/src/main/java/controller/view_patientServlet.java new file mode 100644 index 0000000..867d92e --- /dev/null +++ b/src/main/java/controller/view_patientServlet.java @@ -0,0 +1,42 @@ +package controller; + +import model.entity.User; +import model.entity.UserInfo; +import model.service.personalinfo.PersonalInfo; + +import javax.servlet.ServletException; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import javax.servlet.http.HttpSession; +import java.io.IOException; +import java.util.ArrayList; + +public class view_patientServlet { + + + + public view_patientServlet() { + super(); + + } + + protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + + HttpSession session = request.getSession(); + + model.service.user.UserData userService = new model.service.user.UserData(); + model.service.personalinfo.PersonalInfo piService= new PersonalInfo(); + + + response.sendRedirect("JSP/view_patient.jsp"); + + } + + + protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + + doGet(request, response); + } + + +} diff --git a/src/main/webapp/CSS/homeTherapist.css b/src/main/webapp/CSS/homeTherapist.css index aa8e693..26e867c 100644 --- a/src/main/webapp/CSS/homeTherapist.css +++ b/src/main/webapp/CSS/homeTherapist.css @@ -1,3 +1,7 @@ +.hoverable-row:hover { + background-color: #e6f7ff; /* Cambia il colore di sfondo quando il mouse passa sopra */ + cursor: pointer; /* Cambia il cursore quando il mouse passa sopra */ +} #searchInput { padding: 8px; @@ -11,7 +15,7 @@ .table-container { - max-height: 350px; + max-height: 500px; overflow-y: auto; } diff --git a/src/main/webapp/JSP/homeTherapist.jsp b/src/main/webapp/JSP/homeTherapist.jsp index 7b0b565..3f6425d 100644 --- a/src/main/webapp/JSP/homeTherapist.jsp +++ b/src/main/webapp/JSP/homeTherapist.jsp @@ -40,56 +40,15 @@ SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); for(UserInfo u: list_user){ %> -