myMedisys/tomcatfiles/mymedisys-frontend/WEB-INF/classes/templates/page/worker/popup-profile.html
2023-09-06 05:56:42 +05:30

39 lines
2.0 KiB
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://www.thymeleaf.org">
<body layout:fragment="page_content" id="page_worker_profile">
<div class="mt-4 ribbon ribbon-bookmark ribbon-right"
th:classappend="${workerRegDtlDto?.status != null} ? (${workerRegDtlDto?.status?.statusCd == 'UNFIT' or workerRegDtlDto?.status?.statusCd == 'REJ'} ? 'ribbon-danger' : (${workerRegDtlDto?.status?.statusCd == 'FIT' or workerRegDtlDto?.status?.statusCd == 'APR'} ? 'ribbon-success' : 'ribbon-warning')) : 'ribbon-info'">
<span id="testResults"><th:block
th:text="${workerRegDtlDto?.status != null ? workerRegDtlDto?.status?.statusDesc : 'NEW'}"></th:block></span>
</div>
<ul class="nav nav-tabs profile-tab">
<li class="nav-item"><a class="nav-link proj-flow active show" data-target="#profile" data-toggle="tab" role="tab">Profile</a></li>
<li class="nav-item"><a class="nav-link proj-flow" data-target="#passport" data-toggle="tab" role="tab">Passport</a></li>
<li class="nav-item" th:if="${reportTabs.get('REG_SLIP') != null}">
<input type="hidden" th:value="${reportTabs.get('REG_SLIP')}" />
<a class="nav-link proj-flow" data-target="#REG_SLIP" data-toggle="tab" role="tab">Registration Slip</a></li>
<li class="nav-item" th:if="${reportTabs.get('MC_RPT') != null}">
<input type="hidden" th:value="${reportTabs.get('MC_RPT')}" />
<a class="nav-link proj-flow" data-target="#MC_RPT" data-toggle="tab" role="tab">Medical Report</a></li>
</ul>
<div class="card-body">
<div class="tab-content">
<div class="tab-pane active show" id="profile">
<th:block th:include="page/worker/profile-details" />
</div>
<div class="tab-pane" id="passport">
<th:block th:include="page/worker/passport" />
</div>
<div class="tab-pane" id="REG_SLIP">
<th:block th:include="page/worker/reports/registration-slip" />
</div>
<div class="tab-pane" id="MC_RPT">
<th:block th:include="page/worker/reports/medical" />
</div>
</div>
</div>
</body>
<th:block th:include="layouts/common/footer_script" />
</html>