개발중일때만 사용할 스크립트 임포트
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
layout:decorate="~{layout/layout}">
|
layout:decorate="~{layout/layout}">
|
||||||
|
|
||||||
<section layout:fragment="content">
|
<section layout:fragment="content">
|
||||||
|
<span style="color:red; background-color: black;font-size: 30px;"> ** 화면 깨짐 주의 **</span>
|
||||||
<div class="row mb-1">
|
<div class="row mb-1">
|
||||||
<div class="col ps-0 pe-0">
|
<div class="col ps-0 pe-0">
|
||||||
<a href="javascript:expand();" class="link-secondary">Expand</a>
|
<a href="javascript:expand();" class="link-secondary">Expand</a>
|
||||||
@@ -398,5 +398,23 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</section>
|
</section>
|
||||||
|
<th:block layout:fragment="script">
|
||||||
|
<script th:inline="javascript">
|
||||||
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
|
|
||||||
|
const head = document.getElementsByTagName('head')[0];
|
||||||
|
|
||||||
|
const link1 = document.createElement('link');
|
||||||
|
link1.rel = 'stylesheet';
|
||||||
|
link1.href = /*[[@{/static/library/bootstrap/bootstrap.min.css}]]*/'';
|
||||||
|
head.appendChild(link1);
|
||||||
|
|
||||||
|
const link2 = document.createElement('link');
|
||||||
|
link2.rel = 'stylesheet';
|
||||||
|
link2.href =/*[[@{/static/library/bootstrap/bootstrap-icons.css}]]*/'';
|
||||||
|
head.appendChild(link2);
|
||||||
|
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</th:block>
|
||||||
</html>
|
</html>
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
layout:decorate="~{layout/layout}">
|
layout:decorate="~{layout/layout}">
|
||||||
|
|
||||||
<section layout:fragment="content">
|
<section layout:fragment="content">
|
||||||
|
<span style="color:red; background-color: black;font-size: 30px;"> ** 화면 깨짐 주의 **</span>
|
||||||
<div class="row mb-1">
|
<div class="row mb-1">
|
||||||
<div class="col ps-0 pe-0">
|
<div class="col ps-0 pe-0">
|
||||||
<a href="javascript:expand();" class="link-secondary">Expand</a>
|
<a href="javascript:expand();" class="link-secondary">Expand</a>
|
||||||
@@ -382,5 +382,23 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</section>
|
</section>
|
||||||
|
<th:block layout:fragment="script">
|
||||||
|
<script th:inline="javascript">
|
||||||
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
|
|
||||||
|
const head = document.getElementsByTagName('head')[0];
|
||||||
|
|
||||||
|
const link1 = document.createElement('link');
|
||||||
|
link1.rel = 'stylesheet';
|
||||||
|
link1.href = /*[[@{/static/library/bootstrap/bootstrap.min.css}]]*/'';
|
||||||
|
head.appendChild(link1);
|
||||||
|
|
||||||
|
const link2 = document.createElement('link');
|
||||||
|
link2.rel = 'stylesheet';
|
||||||
|
link2.href =/*[[@{/static/library/bootstrap/bootstrap-icons.css}]]*/'';
|
||||||
|
head.appendChild(link2);
|
||||||
|
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</th:block>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -2,8 +2,9 @@
|
|||||||
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.thymeleaf.org"
|
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.thymeleaf.org"
|
||||||
layout:decorate="~{layout/layout}">
|
layout:decorate="~{layout/layout}">
|
||||||
|
|
||||||
<section layout:fragment="content">
|
|
||||||
|
|
||||||
|
<section layout:fragment="content">
|
||||||
|
<span style="color:red; background-color: black;font-size: 30px;"> ** 화면 깨짐 주의 **</span>
|
||||||
<div class="row mb-1">
|
<div class="row mb-1">
|
||||||
<div class="col ps-0 pe-0">
|
<div class="col ps-0 pe-0">
|
||||||
<a href="javascript:expand();" class="link-secondary">Expand</a>
|
<a href="javascript:expand();" class="link-secondary">Expand</a>
|
||||||
@@ -511,6 +512,25 @@
|
|||||||
$('#id').val(v);
|
$('#id').val(v);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<th:block layout:fragment="script">
|
||||||
|
<script th:inline="javascript">
|
||||||
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
|
|
||||||
|
const head = document.getElementsByTagName('head')[0];
|
||||||
|
|
||||||
|
const link1 = document.createElement('link');
|
||||||
|
link1.rel = 'stylesheet';
|
||||||
|
link1.href = /*[[@{/static/library/bootstrap/bootstrap.min.css}]]*/'';
|
||||||
|
head.appendChild(link1);
|
||||||
|
|
||||||
|
const link2 = document.createElement('link');
|
||||||
|
link2.rel = 'stylesheet';
|
||||||
|
link2.href =/*[[@{/static/library/bootstrap/bootstrap-icons.css}]]*/'';
|
||||||
|
head.appendChild(link2);
|
||||||
|
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</th:block>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user