124 lines
6.9 KiB
HTML
124 lines
6.9 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
||
|
xmlns:th="http://www.thymeleaf.org"
|
||
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||
|
th:with="baseUrl=${@webHelper.baseUrl()}">
|
||
|
<head><th:block th:include="layouts/common/header_style" /></head>
|
||
|
<body class="sidebar-collapse">
|
||
|
<div id="main-wrapper">
|
||
|
|
||
|
<header class="topbar">
|
||
|
<nav class="navbar top-navbar navbar-expand-md navbar-light" id="sectionsNav">
|
||
|
<!-- ============================================================== -->
|
||
|
<!-- Logo -->
|
||
|
<!-- ============================================================== -->
|
||
|
<div class="navbar-header">
|
||
|
<a class="navbar-brand" th:href="@{/home}">
|
||
|
<!-- Logo icon --><b>
|
||
|
<!--You can put here icon as well // <i class="wi wi-sunset"></i> //-->
|
||
|
<!-- Dark Logo icon -->
|
||
|
<img th:src="${baseUrl}+@{/images/logo/icon_mymedisys.png}" alt="homepage" class="dark-logo header-icon" />
|
||
|
<!-- Light Logo icon -->
|
||
|
<!-- <img th:src="${baseUrl}+@{/images/logo/logo_mysp.png}" alt="homepage" class="light-logo" /> -->
|
||
|
</b>
|
||
|
<!--End Logo icon -->
|
||
|
<!-- Logo text --><span>
|
||
|
<!-- dark Logo text -->
|
||
|
<img th:src="${baseUrl}+@{/images/logo/text_mymedisys.png}" class="dark-logo header-logo" />
|
||
|
<!-- Light Logo text -->
|
||
|
<!-- <img th:src="${baseUrl}+@{/images/logo/logo_mysp.png}" class="light-logo" alt="homepage" /></span> </a> -->
|
||
|
</span>
|
||
|
</a>
|
||
|
</div>
|
||
|
<!-- ============================================================== -->
|
||
|
<!-- End Logo -->
|
||
|
<!-- ============================================================== -->
|
||
|
<div class="navbar-collapse">
|
||
|
<!-- ============================================================== -->
|
||
|
<!-- toggle and nav items -->
|
||
|
<!-- ============================================================== -->
|
||
|
<ul class="navbar-nav mr-auto">
|
||
|
<!-- This is -->
|
||
|
</ul>
|
||
|
<!-- ============================================================== -->
|
||
|
<!-- User profile and search -->
|
||
|
<!-- ============================================================== -->
|
||
|
|
||
|
<ul class="navbar-nav my-lg-0">
|
||
|
<th:block sec:authorize="isAnonymous()">
|
||
|
<li class="nav-item dropdown align-self-center">
|
||
|
<a th:href="@{/register}" class="hidden-md-down text-light">
|
||
|
<span class="hidden-md-down text-light">
|
||
|
<i class="material-icons align-text-bottom">how_to_reg</i> Register
|
||
|
</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li class="nav-item dropdown align-self-center">
|
||
|
<a th:href="@{/register?registrationType=SCA}" class="hidden-md-down text-light">
|
||
|
<span class="hidden-md-down text-light">
|
||
|
<i class="material-icons align-text-bottom">how_to_reg</i> SCA Register
|
||
|
</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
<a th:href="@{#{url.login}}" type="button" class="btn waves-effect waves-light btn-rounded btn-primary ml-2 mr-5">Login</a>
|
||
|
</th:block>
|
||
|
<th:block sec:authorize="isAuthenticated()">
|
||
|
<li class="nav-item dropdown mega-dropdown">
|
||
|
<a class="nav-link dropdown-toggle waves-effect waves-dark text-white" href=""
|
||
|
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||
|
MENU <i class="sl-icon-menu"></i>
|
||
|
</a>
|
||
|
<div class="dropdown-menu animated bounceInDown">
|
||
|
<ul class="mega-dropdown-menu row">
|
||
|
<li class="col-lg-3 col-xlg-2 m-b-30 border-right">
|
||
|
<h4 class="m-b-20">WELCOME TO MyMEDISYS</h4>
|
||
|
<div class="dw-user-box text-center">
|
||
|
<div class="u-img">
|
||
|
<img width="60%" sec:authorize="hasAnyAuthority('DQC_ADMIN', 'DQC_USER')" th:src="${baseUrl}+@{/images/users/user.png}" alt="user">
|
||
|
<img width="60%" sec:authorize="hasAnyAuthority('MC_ADMIN','MC_OPERATOR')"
|
||
|
th:src="${'data:image/jpeg;base64,'+ #authentication.principal?.profile?.docMgtId}" alt="user"
|
||
|
/>
|
||
|
</div>
|
||
|
<div class="u-text">
|
||
|
<h4 class="pb-0 mb-0">
|
||
|
<th:block th:text="${#authentication.principal?.profile?.firstName}"></th:block>
|
||
|
<th:block th:text="${#authentication.principal?.profile?.lastName}"></th:block>
|
||
|
</h4>
|
||
|
<small class="text-muted"><th:block th:text="${#authentication.principal?.profile?.email}"></th:block></small>
|
||
|
<a class="btn btn-sm btn-rounded btn-danger" th:href="@{#{url.logout}}"><i class="fa fa-power-off"></i> Logout</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</li>
|
||
|
<li class="col-lg-6 m-b-30">
|
||
|
<th:block th:include="layouts/common/menu-card" />
|
||
|
</li>
|
||
|
<li class="col-lg-3 col-xlg-4 m-b-30 border-left">
|
||
|
<h4 class="m-b-20"><i class="material-icons">support_agent</i> CONTACT SUPPORT</h4>
|
||
|
<form>
|
||
|
<div class="form-group mb-1">
|
||
|
<input type="text" class="form-control" id="exampleInputname1" placeholder="Enter Name"> </div>
|
||
|
<div class="form-group mb-1">
|
||
|
<input type="email" class="form-control" placeholder="Enter email"> </div>
|
||
|
<div class="form-group mb-1">
|
||
|
<textarea class="form-control" id="exampleTextarea" rows="3" placeholder="Message"></textarea>
|
||
|
</div>
|
||
|
<button type="submit" class="btn btn-info">Submit</button>
|
||
|
</form>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</li>
|
||
|
</th:block>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</nav>
|
||
|
</header>
|
||
|
<div class="container-fluid mb-5">
|
||
|
<div layout:fragment="page_content"></div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
<th:block th:include="layouts/common/footer" />
|
||
|
<th:block th:include="layouts/common/footer_script" />
|
||
|
</body>
|
||
|
</html>
|