zioinfo-mail/workspace/zioinfo-esn/esn/target/classes/templates/fragments/header.html
DESKTOP-TKLFCPR\ython 371f77e7ab
Some checks failed
GUARDiA CI / Python Lint & Import Test (push) Has been cancelled
GUARDiA CI / Validate Install Scripts (push) Has been cancelled
GUARDiA CI / PR Validation Summary (push) Has been cancelled
fix(enhance-v4): APK QR 버그 수정 + 웹메일 라우터 수정
2026-06-02 20:23:55 +09:00

59 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
</head>
<body>
<header class="container-fluid bg-white" th:fragment="header">
<div class="row p-2 pt-3 text-custom-dark">
<!-- Logo -->
<div class="col-3">
<a href="/dashboard">
<!-- <img class="" src="images/emart_logo.png" alt="emart" width="279px" height="26px" /> -->
<img class="" src="/images/logos/innotek_logo.png" alt="innotek" height="30px" />
</a>
</div>
<!-- Brand -->
<div class="col-6 m-0 text-center ">
<h2 class="" id="app_title" >ESL Smart Network</h2>
</div>
<!--
<h2 class="col-8 m-0 text-center d-none d-md-block " id="app_title" >ESL Smart Network</h2>
<h2 class="col-6 m-0 text-center d-none d-sm-block d-md-none">ESL</h2>
<h2 class="col-4 m-0 text-right d-sm-none">ESL</h2>
-->
<div class="col-3" th:if="${#authentication}!=null">
<div class='float-right'>
<button type="button" class="btn btn-sm btn-outline-dark" onclick="location.href='/logout'" th:if="${#authentication.principal} and 'anonymousUser' != ${#authentication.principal}">
<span class="d-none d-sm-inline" th:text="#{logout}"></span>&nbsp;<i class="fas fa-sign-out-alt"></i>
</button>&nbsp;&nbsp;&nbsp;
</div>
<div th:if="'anonymousUser' != ${#authentication.principal}">
<span class="float-right p-1">
<i class="fas fa-user"></i>&nbsp;
<span class="text-warning text-bold" th:text ="${#authentication.getPrincipal().getDepartment()}"></span>&nbsp;
<span th:text ="${#authentication.getPrincipal().getUsername()}"></span> &nbsp;
</span>
</div>
<div class='float-right pr-1'>
<div class="input-group input-group-sm" >
<div class="input-group-prepend">
<label class="input-group-text border border-custom-dark" for="locale" th:text="#{language}" ></label>
</div>
<div class="input-group-append">
<select class="form-control form-control-sm border border-custom-dark" id="locale">
<option value="ko" th:text="#{locale.ko}" th:selected="${#strings.equalsIgnoreCase(#locale, 'ko')}"></option>
<option value="en" th:text="#{locale.en}" th:selected="${#strings.equalsIgnoreCase(#locale, 'en')}"></option>
<option value="jp" th:text="#{locale.jp}" th:selected="${#strings.equalsIgnoreCase(#locale, 'jp')}"></option>
</select>
</div>
</div>
</div>
</div>
</div><!-- .row -->
</header><!-- .container-fluid -->
</body>
</html>