提交 3df58260 authored 作者: Jaon EarlWolf's avatar Jaon EarlWolf 提交者: Anthony Minessale

FS-8616 [verto_communicator] - A new menu for moderator, added Gain buttons and…

FS-8616 [verto_communicator] - A new menu for moderator, added Gain buttons and removed the 3-dot-button, moving its behavior to member-name div
上级 b91a1017
......@@ -952,13 +952,18 @@ body .modal-body .btn-group .btn.active {
.chat-members .chat-member-item {
padding: 8px 16px;
height: 56px;
min-height: 56px;
}
.chat-members .chat-member-item.opened {
background-color: #F8F8F8;
}
.chat-members .chat-member-item:hover {
background-color: #E5E5E5;
background-color: #F8F8F8;
}
.chat-members .chat-members-avatar {
width: 40px;
height: 40px;
......@@ -1609,3 +1614,72 @@ body:-webkit-full-screen #incall .video-footer {
.watcher .spinner {
top: 20%;
}
.admin-controls {
border: 1px solid rgba(204, 204, 204, 0.48);
background: #F3F3F3;
margin-top: 12px;
margin-bottom: 10px;
overflow: hidden;
}
.admin-controls .ctrl-section {
padding: 10px 0px;
padding-bottom: 0;
}
.admin-controls .ctrl-section:nth-child(1) {
border-right: 1px solid rgba(204, 204, 204, 0.48);
}
.admin-controls h3 {
font-size: 9px;
margin: 0 auto;
color: #AFAFAF;
text-transform: uppercase;
font-weight: 900;
text-align: center;
margin-top: -10px;
width: 100%;
background-color: rgba(224, 224, 224, 0.53);
padding: 5px;
}
.admin-controls .mdi-fw {
width: auto;
display: block;
}
.admin-controls .group .btn {
box-shadow: none;
color: #607D8B;
font-size: 8px;
}
.admin-controls .group .btn:hover {
box-shadow: none !important;
}
.admin-controls .group .btn:active {
box-shadow: none !important;
}
.admin-controls.ng-hide-add, .admin-controls.ng-hide-remove {
transition: 0s linear all;
}
.admin-controls.ng-hide-add-active,
.admin-controls.ng-hide-remove-active {
transition: .2s linear all;
}
.admin-controls.ng-hide {
animation: growY .2s;
}
.admin-controls.ng-hide-remove {
animation: growY .2s reverse;
}
@keyframes growY {
from { max-height:2000px;}
to { max-height:0px;}
}
......@@ -49,6 +49,11 @@
});
});
$rootScope.$on('call.conference', function(event, data) {
$timeout(function() {
$scope.conf = verto.data.conf.params.laData;
});
});
$rootScope.$on('changedVideoLayout', function(event, layout) {
$scope.resIDs = getResByLayout(layout);
......@@ -176,6 +181,12 @@
/**
* Public methods.
*/
$scope.toggleModMenu = function(index) {
if (verto.data.confRole != 'moderator') return;
$scope.openId = $scope.openId == index ? null : index;
};
$scope.send = function() {
// Only conferencing chat is supported for now
// but still calling method with the conference prefix
......@@ -285,6 +296,16 @@
verto.data.conf.volumeUp(memberID);
};
$scope.confGainDown = function(memberID) {
console.log('$scope.confGainDown');
verto.data.conf.gainDown(memberID);
};
$scope.confGainUp = function(memberID) {
console.log('$scope.confGainUp');
verto.data.conf.gainUp(memberID);
};
$scope.confTransfer = function(memberID) {
console.log('$scope.confTransfer');
prompt({
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论