Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sfu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alain Takoudjou
sfu
Commits
37b87151
Commit
37b87151
authored
Sep 11, 2020
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more fixes on web interface
parent
9f105eec
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
21 deletions
+49
-21
static/sfu.css
static/sfu.css
+38
-17
static/sfu.html
static/sfu.html
+2
-2
static/sfu.js
static/sfu.js
+9
-2
No files found.
static/sfu.css
View file @
37b87151
...
...
@@ -38,14 +38,14 @@
}
.shadow
{
box-shadow
:
0
.15rem
1.75rem
0
rgba
(
31
,
45
,
65
,
.15
)
!important
;
box-shadow
:
0
.15rem
1.75rem
0
rgba
(
31
,
45
,
65
,
.15
);
}
.bg-white
{
background-color
:
#fff
!important
;
background-color
:
#fff
;
}
.bg-gray
{
background-color
:
#eee
!important
;
background-color
:
#eee
;
}
...
...
@@ -228,6 +228,7 @@
margin
:
0
;
z-index
:
1000
;
}
.reply
textarea
{
width
:
100%
;
resize
:
none
;
...
...
@@ -452,7 +453,7 @@ h1 {
#statdiv
{
white-space
:
nowrap
;
margin-bottom
:
2pt
;
margin-bottom
:
16px
;
}
#errspan
{
...
...
@@ -509,10 +510,6 @@ h1 {
text-align-last
:
center
;
}
#mutebutton
{
margin-right
:
0.4em
;
}
#sharebutton
,
#unsharebutton
{
white-space
:
nowrap
;
}
...
...
@@ -537,13 +534,14 @@ h1 {
}
#chat
{
padding
:
0
!important
;
margin
:
0
!important
;
padding
:
0
;
margin
:
0
;
background-color
:
#f9f9f9
;
background-size
:
cover
;
overflow-y
:
scroll
;
border
:
none
;
border-right
:
4px
solid
#e6e6e6
;
/* force to fill height */
height
:
100%
!important
;
min-width
:
300px
;
}
...
...
@@ -622,7 +620,8 @@ h1 {
}
.media-failed
{
opacity
:
0.7
;
opacity
:
0.5
;
filter
:
blur
(
5px
);
}
#inputform
{
...
...
@@ -637,6 +636,7 @@ h1 {
-webkit-transition
:
all
.2s
ease-out
;
transition
:
all
.2s
ease-out
;
width
:
0px
;
/* on top of everything */
z-index
:
2999
;
top
:
0
;
right
:
0
;
...
...
@@ -652,7 +652,7 @@ h1 {
color
:
#dbd9d9
;
display
:
block
;
transition
:
0.3s
;
line-height
:
1.
4
;
line-height
:
1.
2
;
}
.sidenav
a
:hover
{
...
...
@@ -844,7 +844,7 @@ header .collapse {
#users
{
padding
:
0
;
margin
:
0
;
height
:
100%
;
height
:
calc
(
100%
-
84px
)
;
width
:
100%
;
z-index
:
1
;
position
:
relative
;
...
...
@@ -854,7 +854,7 @@ header .collapse {
border
:
1px
solid
#f7f7f7
;
}
#users
>
div
{
#users
.user-p
{
position
:
relative
;
padding
:
10px
!important
;
border-bottom
:
1px
solid
#f0f0f0
;
...
...
@@ -862,6 +862,8 @@ header .collapse {
line-height
:
18px
;
margin
:
0
!important
;
cursor
:
pointer
;
overflow
:
hidden
;
white-space
:
pre
;
}
#left-sidebar
.active
#users
>
div
{
...
...
@@ -901,9 +903,22 @@ header .collapse {
display
:
none
;
}
.topnav
{
height
:
3.5rem
;
}
.users-header
{
height
:
3.5rem
;
}
.full-width
{
height
:
calc
(
var
(
--vh
,
1vh
)
*
100
-
56px
);
}
.video-container
{
position
:
fixed
;
top
:
64px
;
height
:
calc
(
var
(
--vh
,
1vh
)
*
100
-
56px
);
top
:
56px
;
right
:
0
;
left
:
0
;
margin-bottom
:
60px
;
...
...
@@ -911,7 +926,8 @@ header .collapse {
.login-container
{
position
:
fixed
;
top
:
64px
;
height
:
calc
(
var
(
--vh
,
1vh
)
*
100
-
56px
);
top
:
56px
;
right
:
0
;
left
:
0
;
background
:
#eff3f9
;
...
...
@@ -963,6 +979,10 @@ header .collapse {
display
:
block
;
}
.sidenav-header
h2
{
line-height
:
36px
;
}
#peers
{
padding
:
3px
;
}
...
...
@@ -980,7 +1000,8 @@ header .collapse {
}
.dropdown-content
{
margin-top
:
1
4
px
;
margin-top
:
1
0
px
;
}
}
static/sfu.html
View file @
37b87151
...
...
@@ -2,8 +2,8 @@
<html
lang=
"en"
>
<head>
<title>
SFU
</title>
<
!--<meta name="viewport" content="width=device-width, initial-scale=1.0">--
>
<meta
name=
"viewport"
content=
"minimal-ui, width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no
"
>
<
meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
http-equiv=
"ScreenOrientation"
content=
"autoRotate:disabled
"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/common.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/sfu.css"
/>
<link
rel=
"author"
href=
"https://www.irif.fr/~jch/"
/>
...
...
static/sfu.js
View file @
37b87151
...
...
@@ -209,10 +209,16 @@ function setLocalMute(mute) {
localMute
=
mute
;
muteLocalTracks
(
localMute
);
let
button
=
document
.
getElementById
(
'
mutebutton
'
);
if
(
localMute
)
let
icon
=
button
.
querySelector
(
"
span .fa
"
);
if
(
localMute
){
icon
.
classList
.
add
(
'
fa-microphone-slash
'
);
icon
.
classList
.
remove
(
'
fa-microphone
'
);
button
.
classList
.
add
(
'
muted
'
);
else
}
else
{
icon
.
classList
.
remove
(
'
fa-microphone-slash
'
);
icon
.
classList
.
add
(
'
fa-microphone
'
);
button
.
classList
.
remove
(
'
muted
'
);
}
}
document
.
getElementById
(
'
videoselect
'
).
onchange
=
function
(
e
)
{
...
...
@@ -699,6 +705,7 @@ function addUser(id, name) {
let
div
=
document
.
getElementById
(
'
users
'
);
let
user
=
document
.
createElement
(
'
div
'
);
user
.
id
=
'
user-
'
+
id
;
user
.
classList
.
add
(
"
user-p
"
);
user
.
textContent
=
name
?
name
:
'
(anon)
'
;
div
.
appendChild
(
user
);
}
...
...
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