25 lines
1.5 KiB
HTML
Raw Normal View History

2024-10-10 17:37:22 +09:00
<!DOCTYPE html>
2024-10-25 18:28:25 +09:00
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
2024-10-21 17:25:49 +09:00
<th:block th:fragment="header">
<header>
2024-10-25 18:28:25 +09:00
<div id="top">
<td><h3><a aria-label="licenses" style="color: white" href="javascript:mainPath()" title="Gmail">HOME</a></h3></td>
</div>
<th:block th:if="${PERMISSION != 'OK'}">
<script th:inline="javascript">
document.addEventListener("DOMContentLoaded", addListen);
function tryLogin() {if(document.getElementById("user_id").value.length > 0 && document.getElementById("user_pw").value.length > 0) {onclickLogin(null,null)}}
function addListen(){document.getElementById("user_id").addEventListener("keyup", ({key}) => {if (key === "Enter")tryLogin()});document.getElementById("user_pw").addEventListener("keyup", ({key}) => {if (key === "Enter")tryLogin()})}
</script>
<div class="user_info" >
<input th:class="login_input" placeholder="ID" enterkeyhint="next" id="user_id" type="text" class="text">
<input th:class="login_input" id="user_pw" placeholder="PW" enterkeyhint="send" type="password" class="text">
</div>
</th:block>
<th:block th:if="${PERMISSION == 'OK'}">
<!-- <div><h2><a aria-label="licenses" style="color: white" href="javascript:gotoLogin()" title="Gmail">HOME</a></h2></div>-->
</th:block>
2024-10-21 17:25:49 +09:00
</header>
</th:block>
2024-10-05 19:42:29 +09:00
</html>