Advertisement
Guest User

Untitled

a guest
Aug 21st, 2014
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.82 KB | None | 0 0
  1.  
  2. /*************************************SERVICE GRIF******************************/
  3. <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
  4.    pageEncoding="ISO-8859-1"%>
  5.     <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  6. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  7. <html>
  8. <head>
  9. <link href="resources/css/bootstrap.min.css" rel="stylesheet">
  10. <link rel="stylesheet" href="resources/css/styles.css">
  11.  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  12.  <script src="resources/js/bootstrap.min.js"></script>
  13. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  14. <title>Insert title here</title>
  15. </head>
  16. <body>
  17. <%@ include file="menu.jsp" %>
  18.     <div class="page-header">
  19.                 <h1>Details</h1>
  20.             </div>
  21.             <table class="table table-bordered">
  22.                 <thead>
  23.                     <tr>
  24.                         <th>Name</th>
  25.                         <th>Duration</th>
  26.                     </tr>
  27.                 </thead>
  28.                 <tr>
  29.                     <td>${serviceDetail.name}</td>
  30.                     <td>${serviceDetail.duration}</td>
  31.  
  32.                 </tr>
  33.                 </table>
  34.                 <div class="page-header">
  35.                 <h1>Employees</h1>
  36.             </div>
  37.             <table class="table table-bordered">
  38.                 <thead>
  39.                     <tr>
  40.                         <th>First name</th>
  41.                         <th>Last name</th>
  42.                         <th>Phone</th>
  43.                         <th>Email</th>
  44.                     </tr>
  45.                 </thead>
  46.                 <c:forEach items="${serviceDetail.employees}" var="empl">
  47.                 <tr>
  48.                 <td>${empl.firstName}</td>
  49.                 <td>${empl.lastName}</td>
  50.                 <td>${empl.phone }</td>
  51.                 <td>${empl.email }</td>
  52.                 </tr>
  53.                 </c:forEach>
  54.                 </table>
  55.                 <button class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-lg">Add employee</button>
  56.  
  57. <jsp:include page="features/fadeServices.jsp">
  58. <jsp:param name="employees" value="${employees }"/>
  59. </jsp:include>
  60.  
  61. </body>
  62. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement