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
55b9b25a
Commit
55b9b25a
authored
Oct 07, 2021
by
Иван Кубота
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hide debug
parent
5b629053
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
8 deletions
+36
-8
index.html
build/index.html
+4
-1
main.css
build/main.css
+20
-0
CallScreen.js
build/view/CallScreen.js
+4
-1
TableComponent.js
build/view/TableComponent.js
+2
-2
tableComponent.css
build/view/tableComponent.css
+6
-4
No files found.
build/index.html
View file @
55b9b25a
...
@@ -49,7 +49,11 @@
...
@@ -49,7 +49,11 @@
<script
src=
"view/CallScreen.js"
></script>
<script
src=
"view/CallScreen.js"
></script>
<script
src=
"app.js"
></script>
<script
src=
"app.js"
></script>
<script
src=
"./bundle/apps.js"
></script>
<script
src=
"./bundle/apps.js"
></script>
<div
id=
"debug"
></div>
<script>
<script>
D
(
'#debug'
)[
0
].
addEventListener
(
'click'
,
function
()
{
document
.
body
.
classList
.
toggle
(
'debug'
);
});
store
.
set
(
'appLoaded'
,
true
);
store
.
set
(
'appLoaded'
,
true
);
D
.
ext
(
D
(
'.callapp_button'
)[
0
],
{
onclick
:
function
()
{
D
.
ext
(
D
(
'.callapp_button'
)[
0
],
{
onclick
:
function
()
{
...
@@ -57,6 +61,5 @@
...
@@ -57,6 +61,5 @@
</script>
</script>
</body>
</body>
</html>
</html>
build/main.css
View file @
55b9b25a
...
@@ -236,6 +236,10 @@ input[type="text"]:focus {
...
@@ -236,6 +236,10 @@ input[type="text"]:focus {
.hidden
{
.hidden
{
display
:
none
;
display
:
none
;
}
}
.nothing
{
visibility
:
hidden
;
pointer-events
:
none
;
}
.income-video
{
.income-video
{
display
:
inline-block
;
display
:
inline-block
;
margin
:
20px
8px
0
0
;
margin
:
20px
8px
0
0
;
...
@@ -294,3 +298,18 @@ input[type="text"]:focus {
...
@@ -294,3 +298,18 @@ input[type="text"]:focus {
font-size
:
14px
;
font-size
:
14px
;
line-height
:
24px
;
line-height
:
24px
;
}
}
#logger
{
display
:
none
;
}
.debug
#logger
{
display
:
block
;
}
#debug
{
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
32px
;
height
:
32px
;
}
\ No newline at end of file
build/view/CallScreen.js
View file @
55b9b25a
var
isConnecting
=
new
Store
.
Value
.
Boolean
(
false
);
Screen
.
Conference
=
function
()
{
Screen
.
Conference
=
function
()
{
var
RTC
=
function
(
parent
,
canvas
,
devname
,
id
,
remoteParent
)
{
var
RTC
=
function
(
parent
,
canvas
,
devname
,
id
,
remoteParent
)
{
...
@@ -327,8 +328,9 @@ Screen.Conference = function() {
...
@@ -327,8 +328,9 @@ Screen.Conference = function() {
hidden
:
Store
.
NOT
(
store
.
val
(
'callScreenCamerasTune'
))
hidden
:
Store
.
NOT
(
store
.
val
(
'callScreenCamerasTune'
))
}]},
}]},
D
.
h
(
'button'
,
{
D
.
h
(
'button'
,
{
cls
:
[
'button primary'
,
{
disabled
:
Store
.
NOT
(
store
.
val
(
'guestPosition'
)
)}],
cls
:
[
'button primary'
,
{
nothing
:
Store
.
OR
(
isConnected
,
isConnecting
)}],
onclick
:
()
=>
{
onclick
:
()
=>
{
isConnecting
.
set
(
true
);
store
.
set
(
'connection'
,
true
)
store
.
set
(
'connection'
,
true
)
}
}
},
'Ready to connect'
),
},
'Ready to connect'
),
...
@@ -517,6 +519,7 @@ Screen.Conference = function() {
...
@@ -517,6 +519,7 @@ Screen.Conference = function() {
};
};
Screen
.
Conference
.
beforeShow
=
function
()
{
Screen
.
Conference
.
beforeShow
=
function
()
{
isConnecting
.
set
(
false
);
store
.
set
({
store
.
set
({
connection
:
false
,
connection
:
false
,
callScreenCamerasTune
:
false
callScreenCamerasTune
:
false
...
...
build/view/TableComponent.js
View file @
55b9b25a
...
@@ -17,7 +17,7 @@ var UserIcon = function(percent, inverse) {
...
@@ -17,7 +17,7 @@ var UserIcon = function(percent, inverse) {
};
};
var
TableComponent
=
function
(
cfg
)
{
var
TableComponent
=
function
(
cfg
)
{
var
k
=
1
;
var
RoleGuest
=
function
(
role
,
position
,
percent
,
inverse
)
{
var
RoleGuest
=
function
(
role
,
position
,
percent
,
inverse
)
{
var
selected
=
new
Store
.
Value
.
Boolean
(
false
);
var
selected
=
new
Store
.
Value
.
Boolean
(
false
);
...
@@ -34,7 +34,7 @@ var TableComponent = function(cfg) {
...
@@ -34,7 +34,7 @@ var TableComponent = function(cfg) {
return
D
.
div
({
return
D
.
div
({
cls
:
[
cls
:
[
'table-component--guest-row--guest
'
,
'table-component--guest-row--guest
table-component--guest-row--guest-'
+
(
k
++
)
,
{
{
'table-component--guest-row--guest__selected'
:
selected
,
'table-component--guest-row--guest__selected'
:
selected
,
'table-component--guest-row--guest__disabled'
:
disabled
,
'table-component--guest-row--guest__disabled'
:
disabled
,
...
...
build/view/tableComponent.css
View file @
55b9b25a
...
@@ -55,13 +55,15 @@
...
@@ -55,13 +55,15 @@
}
}
.table-component--guest-row--guest__user-icon
{
.table-component--guest-row--guest__user-icon
{
display
:
inline-
block
;
display
:
inline-
flex
;
margin
:
8px
8px
0
;
margin
:
8px
8px
0
;
position
:
relative
;
position
:
relative
;
width
:
32px
;
width
:
24px
;
height
:
32px
;
height
:
24px
;
}
.table-component--guest-row--guest-4
{
margin-right
:
-8px
;
}
}
.table-component--guest-row--guest__user-icon--obod
{
.table-component--guest-row--guest__user-icon--obod
{
border
:
1px
solid
#594cd7
;
border
:
1px
solid
#594cd7
;
border-radius
:
50%
;
border-radius
:
50%
;
...
...
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