Toggle navigation
Toggle navigation
This project
Loading...
Sign in
최시원
/
Singer-Composer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Mukho
2021-12-01 02:29:08 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f335f835205f2822fbfb81bc35894f135deee1d4
f335f835
1 parent
1b7ef8ec
Fix bug
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
2 deletions
node_modules/sharp/build/Release/sharp-darwin-arm64v8.node
readme.md
router/board/index.js
views/about.ejs
node_modules/sharp/build/Release/sharp-darwin-arm64v8.node
0 → 100755
View file @
f335f83
No preview for this file type
readme.md
View file @
f335f83
...
...
@@ -64,6 +64,9 @@ create table _comment(
-
LF 오류시 Git에 하단 명령어 입력
>git config --global core.autocrlf true
-
sharp 모듈 관련 오류시 하단의 SQL문 입력
>npm rebuild --verbose sharp
-
게시글 reset 후 idx의 값이 1부터 시작하지 않을 경우 하단의 SQL문 입력
>ALTER TABLE board AUTO_INCREMENT = 1;<br>
>SET @COUNT = 0;<br>
...
...
@@ -77,7 +80,7 @@ create table _comment(
>건의사항: suggestion_board
---
### 최종 수정: 2021-12-01 02:2
0
<br>
### 최종 수정: 2021-12-01 02:2
9
<br>
### 수정 내용:
1.
채팅 구현(팝업)
2.
시간 실시간 반영
...
...
router/board/index.js
View file @
f335f83
...
...
@@ -96,6 +96,7 @@ router.get('/write/notice', function(req,res,next){
if
(
err_
)
console
.
error
(
err_
)
if
(
result_
[
0
].
type
==
"운영자"
){
// 유저 타입이 운영자인 경우
var
nickname
=
req
.
user
.
nickname
;
console
.
log
(
logString
+
req
.
user
.
ID
+
'('
+
nickname
+
') 유저가 공지사항 게시글 작성 중입니다.('
+
ip
+
')'
)
res
.
render
(
'write.ejs'
,
{
'ID'
:
id
,
'nickname'
:
nickname
,
title
:
"공지사항 글 쓰기"
})
}
...
...
views/about.ejs
View file @
f335f83
...
...
@@ -22,7 +22,7 @@
<a
class=
"navbar-brand"
href=
"/main"
>
묵호의 놀이터
</a>
<ul
class=
"nav col-12 col-md-auto mb-2 justify-content-center mb-md-0"
>
<li><a
href=
"/about"
class=
"nav-link px-2 link-dark"
>
About
</a></li>
<li><a
href=
"/board class="
nav-link
px-2
link-dark
"
>
게시판
</a></li>
<li><a
href=
"/board
"
class=
"nav-link px-2 link-dark"
>
게시판
</a></li>
<li><a
href =
"javascript:;"
onclick =
"window.open('/chat','파일 업로드','width=500, height=801, toolbar=no,location=yes,status=no,menubar=no,scrollbars=yes,resizable=no');"
class=
"nav-link px-2 link-dark"
>
채팅
</a></li>
<li><a
href=
"http://khuhub.khu.ac.kr/2017104034/Singer-Composer"
target=
"_blank"
class=
"nav-link px-2 link-dark"
>
사이트 git
</a></li>
</ul>
...
...
Please
register
or
login
to post a comment