Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*************************************SERVICE GRIF******************************/
- <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
- pageEncoding="ISO-8859-1"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <link href="resources/css/bootstrap.min.css" rel="stylesheet">
- <link rel="stylesheet" href="resources/css/styles.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
- <script src="resources/js/bootstrap.min.js"></script>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
- <title>Insert title here</title>
- </head>
- <body>
- <%@ include file="menu.jsp" %>
- <div class="page-header">
- <h1>Details</h1>
- </div>
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>Name</th>
- <th>Duration</th>
- </tr>
- </thead>
- <tr>
- <td>${serviceDetail.name}</td>
- <td>${serviceDetail.duration}</td>
- </tr>
- </table>
- <div class="page-header">
- <h1>Employees</h1>
- </div>
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>First name</th>
- <th>Last name</th>
- <th>Phone</th>
- <th>Email</th>
- </tr>
- </thead>
- <c:forEach items="${serviceDetail.employees}" var="empl">
- <tr>
- <td>${empl.firstName}</td>
- <td>${empl.lastName}</td>
- <td>${empl.phone }</td>
- <td>${empl.email }</td>
- </tr>
- </c:forEach>
- </table>
- <button class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-lg">Add employee</button>
- <jsp:include page="features/fadeServices.jsp">
- <jsp:param name="employees" value="${employees }"/>
- </jsp:include>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement