studentProjects.jsp 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  3. <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
  4. <%--
  5. Created by IntelliJ IDEA.
  6. User: Вероника
  7. Date: 26.03.2017
  8. Time: 19:37
  9. To change this template use File | Settings | File Templates.
  10. --%>
  11. <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  12. <head>
  13. <title> Personal Student Page </title>
  14. <style type="text/css">
  15. <%@include file="/WEB-INF/bootstrap-4.0.0-alpha.6-dist/css/cssforpr.css" %>
  16. <%@include file="/WEB-INF/bootstrap-4.0.0-alpha.6-dist/css/bootstrap.min.css" %>
  17. </style>
  18. </head>
  19. <body>
  20. <nav class="navbar navbar-default navbar-fixed-top">
  21. <div class="container">
  22. <a class="navbar-brand" href="#">MePhorce</a>
  23. <nav class="nav nav-masthead">
  24. <a class="nav-link" href="/">Войти</a>
  25. <a class="nav-link" href="/aboutUs">О проекте</a>
  26. <a class="nav-link" href="/registrate">Создать аккаунт</a>
  27. <a class="nav-link" href="/contacts">Контакты</a>
  28. </nav>
  29. </div>
  30. </nav>
  31. <div class="col-lg-12">
  32. <div class="navbar-header header">
  33. <center>
  34. <h1>
  35. ${Student.stFamily}
  36. ${Student.stFirstName}
  37. ${Student.stSecName}
  38. </h1>
  39. </center>
  40. <hr>
  41. </div>
  42. </div>
  43. <div class="wrapper">
  44. <div class="container">
  45. <div class="row">
  46. <div class="col-lg-3 col-lg-pull-9">
  47. <div class="btn-group btn-group-vertical">
  48. <form>
  49. <div class="sidebar-header alert alert-info ">Меню</div>
  50. <li class=""> <a href="/PStudentsProjects">Мои проекты</a></li>
  51. <li class=""><a href="#">Чат с клиентом</a> </li>
  52. <li class=""><a href="#">Мои приглашения в проект</a> </li>
  53. <li class=""><a href="/PProfileStudent">Профиль</a> </li>
  54. <li class=""><a href="#">Сообщество</a> </li>
  55. <li class=""><a href="/">Выход</a> </li>
  56. </form>
  57. </div>
  58. </div>
  59. <div class="col-lg-9 col-lg-push-3">
  60. <form class="form-inline">
  61. <h4>Проектов</h4>
  62. <div class="shadow">
  63. <span class="badge badge-info">${fn:length(projects)}</span>
  64. </div>
  65. </form>
  66. <h5>Мои проекты</h5>
  67. <table class="table table-striped">
  68. <thead>
  69. <tr>
  70. <th class="text-center">#</th>
  71. <th class="text-center">Название</th>
  72. <th class="text-center">Описание</th>
  73. <!-- <th class="text-center">Дата создания</th>
  74. <th class="text-center">Статус</th>
  75. <th class="text-center">Дата готовности</th>
  76. <th class="text-center">Сумма</th>
  77. <th class="text-center">Заказчик</th> -->
  78. </tr>
  79. </thead>
  80. <tbody id="prodReportTable">
  81. <c:forEach var="listValue" items="${projects}">
  82. <tr>
  83. <td class="text-center"><a href="/PMainWindowProject">${listValue.prId}</a></td>
  84. <td class="text-center"><a href="/PMainWindowProject">${listValue.title}</a></td>
  85. <td class="text-center"><a href="/PMainWindowProject">${listValue.description}</a></td>
  86. <!-- <td class="text-center">${listValue.dateOfCreation}</td>
  87. <td class="text-center">${listValue.status}</td>
  88. <td class="text-center">${listValue.dateOfReady}</td>
  89. <td class="text-center">${listValue.sum}</td> -->
  90. </tr>
  91. </c:forEach>
  92. </tbody>
  93. </table>
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. <footer class="footer">
  99. <div class="container">
  100. <p class="text-muted">&copy;2017 Mephorce</p>
  101. </div>
  102. </footer>
  103. </body>
  104. </html>