Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
minsung
2020-05-25 17:50:51 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
384326d315418a1136bb12228a764ef31b83ddf6
384326d3
1 parent
2f289661
chatroom format setting
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
86 additions
and
12 deletions
front/web/JS/main.js
front/web/afterlogin.html
front/web/main.html
front/web/JS/main.js
View file @
384326d
var
Click
=
{
Launchclick
:
function
(
color
){
// var alist=document.querySelectorAll('a');
// var i =0;
// while(i<alist.length)
// {
// alist[i].style.color=color;
// i+=1;
// }
// }
//$('a').css('color',color); //jquery 사용한 것.
}
}
var
Body
=
{
SetColor
:
function
(
color
){
//document.querySelector('body').style.color= color;
$
(
'body'
).
css
(
'color'
,
color
);
},
SetBackGruondColor
:
function
(
color
){
//document.querySelector('body').style.backgroundColor= color;
$
(
'body'
).
css
(
'backgroundColor'
,
color
);
}
}
function
nightDayHandler
(
self
){
if
(
self
.
value
===
'night'
)
{
Body
.
SetBackGruondColor
(
'black'
)
Body
.
SetColor
(
'white'
);
self
.
value
=
'day'
;
Links
.
SetColor
(
'powderblue'
);
}
else
{
Body
.
SetBackGruondColor
(
'white'
)
Body
.
SetColor
(
'black'
);
self
.
value
=
'night'
;
Links
.
SetColor
(
'blue'
);
}
}
...
...
front/web/afterlogin.html
View file @
384326d
<!doctype html>
<html>
<head>
<title>
KHU KHU Chat
</title>
<meta
charset=
"utf-8"
>
<link
rel=
"stylesheet"
href=
"style/style.css"
>
<style>
</style>
</head>
<body>
<title>
KHU Chat
</title>
<meta
charset=
"utf-8"
>
<link
rel=
"stylesheet"
href=
"CSS/Banner.css"
>
<script
src=
"https://kit.fontawesome.com/6a5db0a2e0.js"
crossorigin=
"anonymous"
></script>
<link
rel=
"icon"
href=
"https://kit.fontawesome.com/6a5db0a2e0.js"
/>
<link
href=
"https://fonts.googleapis.com/css2?family=Black+Han+Sans&display=swap"
rel=
"stylesheet"
>
<script
src=
"JS/main.js"
></script>
</head>
<body>
<header
role=
"banner"
>
<nav
class=
"khu-nav"
role=
"navigation"
aria-label=
"Primary navigation"
>
<div
class=
"khu-nav-row"
>
<div
class=
"khu-logo"
>
<a
id=
"khu-logo"
data-clog-click=
""
data-clog-ui-element=
"link_home"
href=
"main.html"
aria-label=
"Khu-logo"
data-qa=
"logo"
>
<img
src=
"img/Khu_Chat_Icon.svg"
width=
"30px"
hegiht=
"20px"
alt=
"Khu Chat"
>
</a>
<a
id=
"khu-logo-font"
data-clog-click=
""
data-clog-ui-element=
"link_home"
href=
"main.html"
aria-label=
"Khu-logo-font"
data-qa=
"logo"
>
Khu Chat
</a>
</div>
<div
class =
"khu-login"
>
<a
data-clog-click=
""
data-clog-ui-element=
"link_home"
href=
"main.html"
aria-label=
"Khu-logo-font"
data-qa=
"logo"
>
Login
</a>
</div>
<div
class=
"khu-signin"
>
<a
data-clog-click=
""
data-clog-ui-element=
"link_home"
href=
"main.html"
aria-label=
"Khu-logo-font"
data-qa=
"logo"
>
Sign in
</a>
</div>
<div
class=
"khu-start-button"
>
<button
id=
"khu-start-button"
onclick=
""
data-clog-click=
""
data-clog-ui-element=
"link_home"
href=
"main.html"
aria-label=
"Khu-start-button"
data-qa=
"logo"
>
Launch Chating
</button>
</div>
</div>
</nav>
<h1><a
href=
"main.html"
color:black
>
KHU Chatting service
</a></h1>
<img
src=
"image/welcome.jpg"
class=
"image"
>
...
...
@@ -46,6 +77,5 @@
</form>
</div>
</div>
</body>
</html>
...
...
front/web/main.html
View file @
384326d
...
...
@@ -7,7 +7,7 @@
<script
src=
"https://kit.fontawesome.com/6a5db0a2e0.js"
crossorigin=
"anonymous"
></script>
<link
rel=
"icon"
href=
"https://kit.fontawesome.com/6a5db0a2e0.js"
/>
<link
href=
"https://fonts.googleapis.com/css2?family=Black+Han+Sans&display=swap"
rel=
"stylesheet"
>
<script
src=
"
/
JS/main.js"
></script>
<script
src=
"JS/main.js"
></script>
</head>
<body>
<header
role=
"banner"
>
...
...
@@ -33,9 +33,9 @@
</a>
</div>
<div
class=
"khu-start-button"
>
<
button
id=
"khu-start-button
"
data-clog-click=
""
data-clog-ui-element=
"link_home"
href=
"main.html"
aria-label=
"Khu-start-button"
data-qa=
"logo"
>
<
a
id=
"khu-start-button"
href=
"afterlogin.html
"
data-clog-click=
""
data-clog-ui-element=
"link_home"
href=
"main.html"
aria-label=
"Khu-start-button"
data-qa=
"logo"
>
Launch Chating
</
button
>
</
a
>
</div>
...
...
@@ -45,11 +45,12 @@
</header>
<div
id=
"article"
>
<h2><a
class
data-clog-click=
""
data-clog-ui-element=
"link_home"
href=
https://www.helpshift.com/glossary/chat-service/
title=
"what is chat service"
>
chat service란
무엇인가
?
</a></h2>
title=
"what is chat service"
>
chat service란?
</a></h2>
<p>
This is chating application which chats with your frineds, coworkers and anyone do you want
<br>
so enjoy it out sevice.
</p>
</div>
</div>
</body>
...
...
Please
register
or
login
to post a comment