thymeleaf convert complate

dev_tymeleaf
jangwonseokicom 2 years ago
parent 2058c43ba8
commit 8a6d69bbf6

@ -8,29 +8,12 @@
<title>대시보드</title> <title>대시보드</title>
</head> </head>
<body> <body>
<div class="skip_navigation">
<ul>
<li>
<a href="#Content" class="go_content">본문 바로가기</a>
</li>
<li>
<a href="#Gnb">메뉴 바로가기</a>
</li>
</ul>
</div>
<!-- <header id="header">-->
<!-- </header>-->
<script type="text/javascript" src="/aajs/statisticsDashboard.js"></script> <script type="text/javascript" src="/aajs/statisticsDashboard.js"></script>
<style> <style>
.dashboard .component-billboard .billboard-grid { .dashboard .component-billboard .billboard-grid {
padding: 5px; padding: 5px;
} }
</style> </style>
<h1>DASH BOARD</h1>
<section id="Content" class="bot_common"> <section id="Content" class="bot_common">
<div class="location"> <div class="location">
<ul> <ul>

@ -42,7 +42,9 @@
<script th:src="@{/lib/new/assets/js/lib/billboard.pkgd.min.js}"></script> <script th:src="@{/lib/new/assets/js/lib/billboard.pkgd.min.js}"></script>
<script th:src="@{/js/utils.js}"></script> <script th:src="@{/js/utils.js}"></script>
<script type="text/javascript"> <script type="text/javascript">
function setToken(){
document.cookie = "accessToken=";
}
</script> </script>
</head> </head>

@ -1,15 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"> <html lang="ko" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<th:block th:replace="layout/fragments/head :: headFragment"></th:block> <th:block th:replace="layout/fragments/head :: headFragment"></th:block>
<th:block th:replace="layout/fragments/sidebar :: sidebarFragment"></th:block> <th:block th:replace="layout/fragments/sidebar :: sidebarFragment"></th:block>
<section id="Content" class="bot_common">
<!-- <th:block th:replace="layout/fragments/top :: topbarFragment"></th:block>--> <!-- <th:block th:replace="layout/fragments/top :: topbarFragment"></th:block>-->
<div>
<div>
<th:block layout:fragment="content"></th:block> <th:block layout:fragment="content"></th:block>
</div>
<!-- <th:block th:replace="layout/fragments/footer :: footerFragment"></th:block>--> <!-- <th:block th:replace="layout/fragments/footer :: footerFragment"></th:block>-->
</div>
</section>
</html> </html>

@ -140,6 +140,7 @@
}) })
.complete(function (data) { .complete(function (data) {
if (data.status == 200) { if (data.status == 200) {
document.signinInfoForm.action = '/adm/main/actionSecurityLogin.do'; document.signinInfoForm.action = '/adm/main/actionSecurityLogin.do';
document.signinInfoForm.submit(); document.signinInfoForm.submit();
} else if (data.status == 400) { } else if (data.status == 400) {

Loading…
Cancel
Save