다크모드 처리 스크립트 파일로 호출
새창, 로그인 페이지 등 base.html 대신 base_sub.html 을 참조하는 페이지들에서 다크모드 스크립트가 분리되어 있습니다.
유지/보수 시 누락 이슈가 발생할 수 있으므로 darkmode.js 처럼 파일을 만들어 한 곳에서 관리하는 게 좋겠습니다.
아래는 현재 분리되어 있는 코드 중 일부입니다.
https://github.com/gnuboard/g6/blob/ceed5927b83d299d0943ba59f444a4ac8bba6f5f/templates/basic/bbs/scrap_popin.html#L42-L54
https://github.com/gnuboard/g6/blob/ceed5927b83d299d0943ba59f444a4ac8bba6f5f/templates/basic/bbs/login_form.html#L56-L68
유지/보수 시 누락 이슈가 발생할 수 있으므로 darkmode.js 처럼 파일을 만들어 한 곳에서 관리하는 게 좋겠습니다.
아래는 현재 분리되어 있는 코드 중 일부입니다.
https://github.com/gnuboard/g6/blob/ceed5927b83d299d0943ba59f444a4ac8bba6f5f/templates/basic/bbs/scrap_popin.html#L42-L54
https://github.com/gnuboard/g6/blob/ceed5927b83d299d0943ba59f444a4ac8bba6f5f/templates/basic/bbs/login_form.html#L56-L68
게시판 목록
그누보드6 이슈
좋은 댓글과 좋아요는 제작자에게 큰힘이 됩니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 154 |
seiblog-nandsoft
|
1년 전 | 295 | |
| 153 |
seiblog-nandsoft
|
1년 전 | 338 | |
| 152 |
seiblog-nandsoft
|
1년 전 | 378 | |
| 151 |
seiblog-nandsoft
|
1년 전 | 265 | |
| 150 |
kitrio
|
1년 전 | 218 | |
| 149 |
seiblog-nandsoft
|
1년 전 | 271 | |
| 148 |
seiblog-nandsoft
|
1년 전 | 171 | |
| 147 |
seiblog-nandsoft
|
1년 전 | 321 | |
| 146 |
seiblog-nandsoft
|
1년 전 | 177 | |
| 145 |
kjy7105
|
1년 전 | 195 | |
| 144 |
kjy7105
|
1년 전 | 171 | |
| 143 |
seiblog-nandsoft
|
1년 전 | 197 | |
| 142 |
seiblog-nandsoft
|
1년 전 | 154 | |
| 141 |
seiblog-nandsoft
|
1년 전 | 186 | |
| 140 |
xperia-query
|
1년 전 | 225 | |
| 139 |
seiblog-nandsoft
|
1년 전 | 157 | |
| 138 |
Letm3through
|
1년 전 | 347 | |
| 137 |
seiblog-nandsoft
|
1년 전 | 194 | |
| 136 |
seiblog-nandsoft
|
1년 전 | 170 | |
| 135 |
seiblog-nandsoft
|
1년 전 | 193 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기