...
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
console.log(window.c)
|
||||
console.log(style.getPropertyValue('--FooterHeight'))
|
||||
console.log(style.getPropertyValue('--TopHeight'))
|
||||
document.querySelector("#title_field").value = baseData.title
|
||||
var editorHeght = (
|
||||
document.querySelector('#main_layer').getBoundingClientRect().height -
|
||||
(
|
||||
@@ -88,9 +89,9 @@
|
||||
<h1>권한이 없는 뎁쇼?!</h1>
|
||||
</th:block>
|
||||
<th:block th:if="${PERMISSION == 'OK'}">
|
||||
<div class="layer">
|
||||
<input id="title_field" />
|
||||
</div>
|
||||
|
||||
<label for="title_field"></label><input id="title_field" class="write_option">
|
||||
|
||||
<div id="editor" ></div>
|
||||
<div class="write_controllbox">
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
|
||||
<th:block th:fragment="header">
|
||||
<header>
|
||||
|
||||
<div id="top">
|
||||
<td><h3><a aria-label="goToMain" style="color: white" href="javascript:mainPath()" title="goToMain">HOME</a></h3></td>
|
||||
</div>
|
||||
|
||||
<th:block th:if="${PERMISSION != 'OK'}">
|
||||
<script th:inline="javascript">
|
||||
document.addEventListener("DOMContentLoaded", addListen);
|
||||
@@ -18,6 +18,13 @@
|
||||
</div>
|
||||
</th:block>
|
||||
<th:block th:if="${PERMISSION == 'OK'}">
|
||||
<div></div>
|
||||
<td><h3><a aria-label="create New Post" style="color: white" href="javascript:gotoWrite()" title="create New Post">create New Post</a></h3></td>
|
||||
<td><h3><a aria-label="where's Bum" style="color: white" href="javascript:gotoWhere()" title="where's Bum">where's Bum</a></h3></td>
|
||||
<td><h3><a aria-label="modify & open Post" style="color: white" href="javascript:gotoModify()" title="modify & open Post">modify & open Post</a></h3></td>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div class="user_info" >
|
||||
<td><h3><a aria-label="logout" style="color: white" href="javascript:logout()" title="logout">logout</a></h3></td>
|
||||
</div>
|
||||
|
||||
@@ -4,26 +4,17 @@
|
||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||
xmlns="http://www.w3.org/1999/html">
|
||||
<head>
|
||||
<!-- <th:block layout:replace="fragments/includes" ></th:block>-->
|
||||
<th:block th:replace="~{fragments/includes :: includes}"></th:block>
|
||||
<!-- layout:fragment="head" -->
|
||||
<th:block layout:fragment="head"></th:block>
|
||||
<!-- <th:block layout:replace="fragments/title" ></th:block> -->
|
||||
<th:block th:replace="~{fragments/title :: title}"></th:block>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--<th:block th:replace="fragments/header :: header"></th:block>-->
|
||||
<th:block th:replace="~{fragments/header :: header}"></th:block>
|
||||
<!--<th:block layout:fragment="content"></th:block>-->
|
||||
|
||||
<th:block layout:fragment="content"></th:block>
|
||||
<div class="dim_layer">
|
||||
<div class="dimBg"></div>
|
||||
<th:block layout:fragment="popup_layer"></th:block>
|
||||
</div>
|
||||
<!--<th:block th:replace="fragments/footer :: footer"></th:block>-->
|
||||
<th:block th:replace="~{fragments/footer :: footer}"></th:block>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user