Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
bora-it
Commits
69fe2f3d
Commit
69fe2f3d
authored
Jul 05, 2021
by
seoyeon
Browse files
Merge remote-tracking branch 'origin/jiweon827' into seoyeon2
parents
1d245ee3
757c125a
Changes
3
Hide whitespace changes
Inline
Side-by-side
client/src/components/Home/AddRoom.js
View file @
69fe2f3d
...
@@ -122,8 +122,8 @@ const AddRoom = () => {
...
@@ -122,8 +122,8 @@ const AddRoom = () => {
<
/div
>
<
/div
>
<
div
className
=
"
modal-body
"
>
<
div
className
=
"
modal-body
"
>
<
h6
>
방프로필사진
<
/h6
>
<
h6
>
방프로필사진
<
/h6
>
<
div
className
=
"
filebox
mb-4
"
>
<
div
className
=
"
mb-4
"
>
<
input
type
=
"
file
"
id
=
"
ex_filename
"
className
=
"
upload-hidden
"
/>
<
input
type
=
"
file
"
className
=
"
upload-hidden
"
/>
<
/div
>
<
/div
>
<
h6
>
방이름
<
/h6
>
<
h6
>
방이름
<
/h6
>
<
div
className
=
"
input-group
"
>
<
div
className
=
"
input-group
"
>
...
...
client/src/components/Room/ChannelList.js
View file @
69fe2f3d
...
@@ -59,43 +59,45 @@ const ChannelList = () => {
...
@@ -59,43 +59,45 @@ const ChannelList = () => {
<
div
className
=
"
overflow-auto
"
style
=
{{
height
:
'
610px
'
}}
>
<
div
className
=
"
overflow-auto
"
style
=
{{
height
:
'
610px
'
}}
>
<
div
className
=
"
mb-3
"
>
<
div
className
=
"
mb-3
"
>
<
div
className
=
"
m-3 p-2 row
"
style
=
{{
backgroundColor
:
'
#C4C4C4
'
}}
>
<
div
className
=
"
m-3 p-1 row
"
style
=
{{
backgroundColor
:
"
#ab9aba
"
}}
>
<
img
<
img
className
=
"
col-auto mt-2
"
src
=
"
/fullSpeaker.png
"
width
=
"
25px
"
height
=
"
25px
"
/>
className
=
"
col-auto
"
<
h5
className
=
"
col mt-2
"
>
회의
<
/h5
>
src
=
"
/fullSpeaker.png
"
width
=
"
30px
"
height
=
"
30px
"
/>
<
h5
className
=
"
col
"
>
회의
<
/h5
>
<
/div
>
<
/div
>
<
div
className
=
"
mx-5
"
>
<
div
className
=
"
mx-5
"
>
<
ChannelSingle
/>
<
ChannelSingle
/>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"
mb-3
"
>
<
div
className
=
"
mb-3
"
>
<
div
className
=
"
m-3 p-2
"
style
=
{{
backgroundColor
:
'
#C4C4C4
'
}}
>
<
div
className
=
"
m-3 p-1 row
"
style
=
{{
backgroundColor
:
"
#ab9aba
"
}}
>
<
h5
>
사담
<
/h5
>
<
img
className
=
"
col-auto mt-2
"
src
=
"
/emptySpeaker.png
"
width
=
"
25px
"
height
=
"
25px
"
/>
<
h5
className
=
"
col mt-2
"
>
사담
<
/h5
>
<
/div
>
<
/div
>
<
div
className
=
"
mx-5
"
>
<
div
className
=
"
mx-5
"
>
<
ChannelSingle
/>
<
ChannelSingle
/>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"
mb-3
"
>
<
div
className
=
"
mb-3
"
>
<
div
className
=
"
m-3 p-2
"
style
=
{{
backgroundColor
:
'
#C4C4C4
'
}}
>
<
div
className
=
"
m-3 p-1 row
"
style
=
{{
backgroundColor
:
"
#ab9aba
"
}}
>
<
h5
>
공지
<
/h5
>
<
img
className
=
"
col-auto mt-2
"
src
=
"
/emptySpeaker.png
"
width
=
"
25px
"
height
=
"
25px
"
/>
<
h5
className
=
"
col mt-2
"
>
공지1
<
/h5
>
<
/div
>
<
/div
>
<
div
className
=
"
mx-5
"
>
<
div
className
=
"
mx-5
"
>
<
ChannelSingle
/>
<
ChannelSingle
/>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"
mb-3
"
>
<
div
className
=
"
mb-3
"
>
<
div
className
=
"
m-3 p-2
"
style
=
{{
backgroundColor
:
'
#C4C4C4
'
}}
>
<
div
className
=
"
m-3 p-1 row
"
style
=
{{
backgroundColor
:
"
#ab9aba
"
}}
>
<
h5
>
공지
<
/h5
>
<
img
className
=
"
col-auto mt-2
"
src
=
"
/emptySpeaker.png
"
width
=
"
25px
"
height
=
"
25px
"
/>
<
h5
className
=
"
col mt-2
"
>
공지2
<
/h5
>
<
/div
>
<
/div
>
<
div
className
=
"
mx-5
"
>
<
div
className
=
"
mx-5
"
>
<
ChannelSingle
/>
<
ChannelSingle
/>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"
d-flex flex-row-reverse
"
>
<
div
className
=
"
d-flex flex-row-reverse
"
>
...
...
client/src/components/Room/Controller.js
View file @
69fe2f3d
...
@@ -5,45 +5,75 @@ import mic_btn from '../../micbtn.png'
...
@@ -5,45 +5,75 @@ import mic_btn from '../../micbtn.png'
import
videooff_btn
from
'
../../videooffbtn.png
'
import
videooff_btn
from
'
../../videooffbtn.png
'
import
speakeroff_btn
from
'
../../speakeroffbtn.png
'
import
speakeroff_btn
from
'
../../speakeroffbtn.png
'
import
micoff_btn
from
'
../../micoffbtn.png
'
import
micoff_btn
from
'
../../micoffbtn.png
'
import
React
,
{
useState
}
from
'
react
'
;
const
Controller
=
()
=>
{
const
Controller
=
()
=>
{
const
[
mic
,
setMic
]
=
useState
(
"
true
"
)
const
[
video
,
setVideo
]
=
useState
(
"
true
"
)
const
[
speaker
,
setSpeaker
]
=
useState
(
"
true
"
)
const
micOn
=
(()
=>
setMic
(
false
));
const
micOff
=
(()
=>
setMic
(
true
));
const
speakerOn
=
(()
=>
setSpeaker
(
false
));
const
speakerOff
=
(()
=>
setSpeaker
(
true
));
const
videoOn
=
(()
=>
setVideo
(
false
));
const
videoOff
=
(()
=>
setVideo
(
true
));
return
(
return
(
<
div
className
=
"
container
"
>
<
div
className
=
"
container
"
>
<
div
className
=
"
row
"
>
<
div
className
=
"
row
"
>
<
div
<
div
className
=
"
col d-flex justify-content-center
"
className
=
"
col d-flex justify-content-center
"
style
=
{{
backgroundColor
:
'
#C4C4C4
'
,
position
:
'
absolute
'
,
bottom
:
0
}}
style
=
{{
backgroundColor
:
'
#C4C4C4
'
,
position
:
'
absolute
'
,
bottom
:
0
}}
>
>
{
/* <div className="col d-flex justify-content-center">
{
/* <div className="col d-flex justify-content-center">
<button type="button" className="btn">
<button type="button" className="btn">
<img src={mic_btn} width="45" height="40" />
<img src={mic_btn} width="45" height="40" />
</button>
</button>
</div> */
}
</div> */
}
<
div
className
=
"
col d-flex justify-content-center
"
>
{
mic
?
<
div
className
=
"
col d-flex justify-content-center
"
>
<
button
type
=
"
button
"
className
=
"
btn
"
onClick
>
<
button
type
=
"
button
"
className
=
"
btn
"
onClick
=
{
micOn
}
>
<
img
src
=
{
micoff_btn
}
width
=
"
45
"
height
=
"
40
"
/>
<
img
src
=
{
micoff_btn
}
width
=
"
45
"
height
=
"
40
"
/>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
<
div
className
=
"
col d-flex justify-content-center
"
>
:
<
div
className
=
"
col d-flex justify-content-center
"
>
<
button
type
=
"
button
"
className
=
"
btn
"
>
<
button
type
=
"
button
"
className
=
"
btn
"
onClick
=
{
micOff
}
>
<
img
src
=
{
speakeroff
_btn
}
width
=
"
45
"
/>
<
img
src
=
{
mic
_btn
}
width
=
"
45
"
height
=
"
40
"
/>
<
/button
>
<
/button
>
<
/div
>
<
/div
>
}
{
speaker
?
<
div
className
=
"
col d-flex justify-content-center
"
>
<
button
type
=
"
button
"
className
=
"
btn
"
onClick
=
{
speakerOn
}
>
<
img
src
=
{
speakeroff_btn
}
width
=
"
45
"
/>
<
/button
>
<
/div> : <div className="col d-flex justify-content-center"
>
<
button
type
=
"
button
"
className
=
"
btn
"
onClick
=
{
speakerOff
}
>
<
img
src
=
{
speaker_btn
}
width
=
"
45
"
/>
<
/button
>
<
/div
>
}
{
video
?
<
div
className
=
"
col d-flex justify-content-center
"
>
<
button
type
=
"
button
"
className
=
"
btn
"
data
-
bs
-
toggle
=
"
modal
"
data
-
bs
-
target
=
"
#exampleModal
"
src
=
{
video_btn
}
onClick
=
"
location.href='ScreenSelect.js'
"
onClick
=
{
videoOn
}
>
<
img
src
=
{
videooff_btn
}
width
=
"
45
"
/>
<
/button
>
<
/div>
:
<
div
className
=
"
col d-flex justify-content-center
"
>
<
div
className
=
"
col d-flex justify-content-center
"
>
<
button
<
button
type
=
"
button
"
className
=
"
btn
"
onClick
=
{
videoOff
}
>
type
=
"
button
"
<
img
src
=
{
video_btn
}
width
=
"
45
"
/>
className
=
"
btn
"
data
-
bs
-
toggle
=
"
modal
"
data
-
bs
-
target
=
"
#exampleModal
"
src
=
{
video_btn
}
onClick
=
"
location.href='ScreenSelect.js'
"
>
<
img
src
=
{
videooff_btn
}
width
=
"
45
"
/>
<
/button
>
<
/button
>
<
/div
>
<
/div>
}
<
/div
>
<
ScreenSelect
/>
<
/div
>
<
/div
>
<
ScreenSelect
/>
<
/div
>
<
/div
>
<
/div
>
)
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment