Advertisement
Guest User

Untitled

a guest
Feb 18th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.64 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html xmlns:th="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6.  
  7. <title>Profil użytkownika</title>
  8.  
  9. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
  10. integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
  11. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"
  12. integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  13. <body>
  14.  
  15. <div th:replace="header"/>
  16.  
  17. <!--<div class="jumbotron jumbotron-fluid">-->
  18. <!--<div class="container">-->
  19. <!--<h1 class="display-4">-->
  20. <!--<td th:text="${employee.getFirstName()}"></td>-->
  21. <!--<td th:text="${employee.getLastName()}"></td>-->
  22. <!--<td>-->
  23. <!--<a href="/api/employee/" th:href="@{/api/employee/__${employee.getEid()}__/delete}">-->
  24. <!--<button type="button" class="btn btn-danger">USUŃ PRACOWNIKA</button>-->
  25. <!--</a>-->
  26. <!--</td>-->
  27. <!--<td>-->
  28. <!--<img src="/api/employee/" th:src="@{/api/employee/__${employee.getEid()}__/qrcode}"-->
  29. <!--width="100" height="100">-->
  30. <!--</td>-->
  31. <!--</h1>-->
  32. <!--</div>-->
  33. <!--</div>-->
  34.  
  35. <!--<div class="container">-->
  36. <!--<table class="table">-->
  37. <!--<thead>-->
  38. <!--<tr>-->
  39. <!--<th scope="col">id</th>-->
  40. <!--<th scope="col">Czas wejścia</th>-->
  41. <!--<th scope="col">Czas wyjścia</th>-->
  42. <!--<th scope="col">Przepracowane godziny</th>-->
  43. <!--</tr>-->
  44. <!--</thead>-->
  45. <!--<tbody>-->
  46. <!--<tr th:each="registry:${registries}">-->
  47. <!--<td th:text="${#dates.format(registry.getStartAt(), 'dd MMM yyyy')}"></td>-->
  48. <!--<td th:text="${#dates.format(registry.getStartAt(), 'HH:mm:ss')}"></td>-->
  49. <!--<td th:text="${#dates.format(registry.getEndAt(), 'HH:mm:ss')}"></td>-->
  50. <!--<td th:text="${registry.differenceHours(registry)}"></td>-->
  51. <!--</tr>-->
  52. <!--</tbody>-->
  53. <!--</table>-->
  54. <!--</div>-->
  55.  
  56. <!-- Page Content -->
  57. <div class="container" style="margin-top:100px">
  58. <!-- Marketing Icons Section -->
  59. <div class="row">
  60. <div class="col-lg-12 mb-4">
  61. <div class="card h-100 text-center">
  62. <h1 class="card-header text-white bg-dark">
  63. <td th:text="${employee.getFirstName()}"></td>
  64. <td th:text="${employee.getLastName()}"></td>
  65. <td>
  66. <img src="/api/employee/" th:src="@{/api/employee/__${employee.getEid()}__/qrcode}" width="100" height="100" class="rounded-circle img-thumbnail">
  67. </td>
  68. <td>
  69. <a href="/api/employee/" th:href="@{/api/employee/__${employee.getEid()}__/delete}">
  70. <button type="button" class="btn btn-danger">USUŃ PRACOWNIKA</button>
  71. </a>
  72. </td>
  73. </h1>
  74. <div class="card-body">
  75. <div class="container">
  76. <table class="table">
  77. <thead class="thead-light text-white">
  78. <tr>
  79. <th scope="col">Data</th>
  80. <th scope="col">Czas wejścia</th>
  81. <th scope="col">Czas wyjścia</th>
  82. <th scope="col">Przepracowane godziny</th>
  83. </tr>
  84. </thead>
  85. <tbody>
  86. <tr th:each="registry:${registries}">
  87. <td th:text="${#dates.format(registry.getStartAt(), 'dd MMM yyyy')}"></td>
  88. <td th:text="${#dates.format(registry.getStartAt(), 'HH:mm:ss')}"></td>
  89. <td th:text="${#dates.format(registry.getEndAt(), 'HH:mm:ss')}"></td>
  90. <td th:text="${registry.differenceHours(registry)}"></td>
  91. </tr>
  92. </tbody>
  93. </table>
  94. </div>
  95. </div>
  96. <!--<div class="card-footer">-->
  97. <!--<a href="#" class="btn btn-primary">Learn More</a>-->
  98. <!--</div>-->
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103.  
  104. <<<<<<< HEAD
  105.  
  106. <!-- /.container -->
  107. =======
  108. <div class="container">
  109. <table class="table">
  110. <thead>
  111. <tr>
  112. <th scope="col">id</th>
  113. <th scope="col">Czas wejścia</th>
  114. <th scope="col">Czas wyjścia</th>
  115. <th scope="col">Przepracowane godziny</th>
  116. </tr>
  117. </thead>
  118. <tbody>
  119. <tr th:each="registry:${registries}">
  120. <td th:text="${#dates.format(registry.getStartAt(), 'dd MMM yyyy')}"></td>
  121. <td th:text="${#dates.format(registry.getStartAt(), 'HH:mm:ss')}"></td>
  122. <td th:text="${#dates.format(registry.getEndAt(), 'HH:mm:ss')}"></td>
  123. <td th:text="${registry.differenceHours(registry)} + ':' + ${registry.differenceMinutes(registry)} + 'H'"></td>
  124. </tr>
  125. </tbody>
  126. </table>
  127. </div>
  128. >>>>>>> 6552dc205af8b1049ac527938e1acd8826d43f19
  129.  
  130. </body>
  131. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement