Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
awrtc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Кубота
awrtc
Commits
10fd84e0
Commit
10fd84e0
authored
Sep 28, 2021
by
talequale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui minor fixes
parent
60da83b4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
11 deletions
+32
-11
segmentrtc.html
build/segmentrtc.html
+27
-8
CallScreen.js
build/view/CallScreen.js
+5
-3
select.css
build/view/select.css
+0
-0
No files found.
build/segmentrtc.html
View file @
10fd84e0
...
...
@@ -42,6 +42,8 @@
position
:
relative
;
}
.main-background
{
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;
background
:
url(/img/back.jpg)
;
background-size
:
cover
;
...
...
@@ -60,13 +62,13 @@
color
:
#fff
;
}
.main-background
.p
{
margin-top
:
24
px
;
margin-top
:
9
px
;
}
.top-bar
{
height
:
64px
;
background
:
#1E143A
;
padding
:
21
px
44px
;
padding
:
16
px
44px
;
box-sizing
:
border-box
;
}
...
...
@@ -77,7 +79,7 @@
.button
{
box-sizing
:
border-box
;
border-radius
:
20px
;
padding
:
4
px
20px
;
padding
:
6
px
20px
;
margin-left
:
16px
;
cursor
:
pointer
;
}
...
...
@@ -100,10 +102,16 @@
margin-top
:
40px
;
}
.sub-content
{
position
:
absolute
;
left
:
12.4%
;
top
:
50%
;
transform
:
translateY
(
-50%
);
position
:
relative
;
margin
:
auto
;
box-sizing
:
border-box
;
padding
:
20px
;
width
:
100%
;
max-width
:
1124px
;
/*position: absolute;*/
/*left: 12.4%;*/
/*top: 50%;*/
/*transform: translateY(-50%);*/
}
.main-background
.button
{
margin-right
:
16px
;
...
...
@@ -119,6 +127,7 @@
border
:
0
;
border-bottom
:
2px
solid
#594CD7
;
width
:
366px
;
min-height
:
34px
;
position
:
relative
;
text-align
:
left
;
padding
:
4px
;
...
...
@@ -129,6 +138,7 @@
button
.dropdown-field__toggler
:after
{
content
:
'▼'
;
position
:
absolute
;
top
:
3px
;
right
:
10px
;
font-family
:
arial
;
font-size
:
10px
;
...
...
@@ -150,8 +160,17 @@
border-bottom
:
2px
solid
#594CD7
;
}
.page-content
{
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;
}
.content
{
margin
:
112px
178px
;
margin
:
auto
;
box-sizing
:
border-box
;
padding
:
20px
;
width
:
100%
;
max-width
:
1124px
;
}
.block
{
margin-bottom
:
40px
;
...
...
build/view/CallScreen.js
View file @
10fd84e0
...
...
@@ -105,7 +105,7 @@ Screen.Conference = function() {
var
cameraCanvas
,
canvasResizerEl
,
dom
=
D
.
div
(
{
cls
:
'block'
,
style
:
{
marginBottom
:
'80px'
}
},
D
.
div
(
{
cls
:
'header'
},
'
User
'
+
(
currentUserID
+
1
)
),
D
.
div
(
{
cls
:
'header'
},
'
Camera
'
+
(
currentUserID
+
1
)
),
canvasResizerEl
=
CanvasResizer
(
cameraCanvas
=
D
.
h
(
'canvas'
,
{
cls
:
"output_canvas"
,
...
...
@@ -250,11 +250,13 @@ Screen.Conference = function() {
return
dom
;
}
var
usersBlock
,
tooMuchUsers
=
new
Store
.
Value
.
Boolean
(
false
);
var
dom
=
D
.
div
({
cls
:
'top-bar'
},
var
dom
=
D
.
div
({
cls
:
'page-content'
},
D
.
div
({
cls
:
'top-bar'
},
D
.
h
(
'img'
,
{
src
:
'amazon-logo.svg'
}),
D
.
div
({
cls
:
'buttons'
},
D
.
h
(
'button'
,
{
cls
:
[
'button secondary'
,
{
hidden
:
Store
.
NOT
(
isConnected
)}],
onclick
:
()
=>
store
.
set
(
'connection'
,
false
)},
'End session'
),
D
.
h
(
'button'
,
{
cls
:
[
'button primary'
,
{
hidden
:
isConnected
}],
onclick
:
()
=>
store
.
set
(
'connection'
,
true
)},
'Ready to connect'
)
)
),
content
=
D
.
div
({
cls
:
'content'
},
...
...
@@ -274,7 +276,7 @@ Screen.Conference = function() {
if
(
userID
>
1
)
tooMuchUsers
.
set
(
true
);
}
},
'Add
user
'
),
},
'Add
camera
'
),
D
.
div
({
cls
:
'block hidden'
},
...
...
build/view/select.css
View file @
10fd84e0
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