This commit is contained in:
2025-08-08 17:11:34 +09:00
parent 182ea90dd3
commit 9cb482ac6a
25 changed files with 300 additions and 40484 deletions
@@ -1,6 +1,14 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<th:block th:fragment="footer">
<script th:inline="javascript">
/*<![CDATA[*/
function callSendTlg() {
sendTlg(document.querySelector("#tlg_form"), /*[[${enc}]]*/, /*[[${keyword}]]*/);
}
/*]]>*/
</script>
<div id="footer">
<div class="container">
<div class="row">
@@ -43,7 +51,7 @@
</div>
<div class="col-12">
<ul class="actions">
<li><input type="submit" class="button alt" value="Send Message" onclick='sendTlg(document.querySelector("#tlg_form"),"[[${enc}]]","[[${keyword}]]")' /></li>
<li><input type="submit" class="button alt" value="Send Message" onclick="callSendTlg()" /></li>
</ul>
</div>
</div>
@@ -15,5 +15,17 @@
<script type="text/javascript" th:src="@{/js/common.js}"></script>
<meta name="_csrf" th:content="${_csrf.token}"/>
<meta name="_csrf_parameter" th:content="${_csrf.parameterName}"/>
<script th:inline="javascript">
var serverData = {
id: [[${srcPost != null and srcPost.id != null} ? ${srcPost.id} : 0]],
title: /*[[${srcPost != null and srcPost.title != null} ? ${srcPost.title} : '']]*/,
content: /*[[${srcPost != null and srcPost.content != null} ? ${srcPost.content} : '']]*/,
firstPostLat: [[${srcPost != null and srcPost.firstPostLat != null} ? ${srcPost.firstPostLat} : 0]],
firstPostLon: [[${srcPost != null and srcPost.firstPostLon != null} ? ${srcPost.firstPostLon} : 0]],
writeTime: [[${srcPost != null and srcPost.writeTime != null} ? ${srcPost.writeTime} : 0]],
enc: /*[[${enc != null} ? ${enc} : '']]*/,
keyword: /*[[${keyword != null} ? ${keyword} : '']]*/
};
</script>
</th:block>
</html>