Skip to content

Commit

Permalink
Minor patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbalganjjm committed Jan 4, 2024
1 parent b4a857c commit 722f1a2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
6 changes: 5 additions & 1 deletion src/main/resources/templates/common/shell/contents.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
</article>

<script type="text/javascript">
N(".index-contents").cont({
(function() {

var cont = N(".index-contents").cont({
init : function(view, request) {
this.initDocs(this, view);

Expand All @@ -63,4 +65,6 @@
APP.indx.docs = N(".docs-contents", view).docs();
}
});

})();
</script>
6 changes: 5 additions & 1 deletion src/main/resources/templates/common/shell/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@
</article>

<script type="text/javascript">
N(".index-footer").cont({
(function() {

var cont = N(".index-footer").cont({
init : function(view, request) {

}
});

})();
</script>
10 changes: 9 additions & 1 deletion src/main/resources/templates/common/shell/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<style type="text/css">
.index-header {
height: 123px;
}

.index-header .header-back {
position: absolute;
top: 0;
Expand Down Expand Up @@ -47,11 +51,15 @@
</article>

<script type="text/javascript">
N(".index-header").cont({
(function() {

var cont = N(".index-header").cont({
init : function(view, request) {
if($(window).width() <= 1001) {
N(".logo", view).hide();
}
}
});

})();
</script>
6 changes: 5 additions & 1 deletion src/main/resources/templates/common/shell/lefter.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ <h6 class="mdc-list-group__subheader">템플릿</h6>
</article>

<script type="text/javascript">
N(".index-lefter").cont({
(function() {

var cont = N(".index-lefter").cont({
init : function(view, request) {
mdc.list.MDCList.attachTo(N(".left-menu .mdc-list", view).get(0)).wrapFocus = true;
N(".left-menu .mdc-list .mdc-list-item", view).each(function(i, el) {
Expand Down Expand Up @@ -304,4 +306,6 @@ <h6 class="mdc-list-group__subheader">템플릿</h6>

}
});

})();
</script>

0 comments on commit 722f1a2

Please sign in to comment.