Merge pull request #947 from jitsi/not-allowed-error

Not allowed error
This commit is contained in:
yanas 2016-09-28 12:40:53 -05:00 committed by GitHub
commit 76f8ca2116
5 changed files with 18 additions and 3 deletions

8
authError.html Normal file
View File

@ -0,0 +1,8 @@
<html>
<head>
<link rel="stylesheet" href="css/all.css"/>
</head>
<body>
<div class="redirectPageMessage">Sorry! You are not allowed to be here :(</div>
</body>
</html>

View File

@ -3,6 +3,6 @@
<link rel="stylesheet" href="css/all.css"/>
</head>
<body>
<div class="closeMessage">Thank you for your feedback!</div>
<div class="redirectPageMessage">Thank you for your feedback!</div>
</body>
</html>

View File

@ -401,6 +401,13 @@ class ConferenceConnector {
}
break;
case ConferenceErrors.NOT_ALLOWED_ERROR:
{
// let's show some auth not allowed page
window.location.pathname = "authError.html";
}
break;
case ConferenceErrors.VIDEOBRIDGE_NOT_AVAILABLE:
APP.UI.notifyBridgeDown();
break;

View File

@ -5,7 +5,7 @@ html, body {
background: $defaultBackground;
}
.closeMessage {
.redirectPageMessage {
text-align: center;
font-size: 36px;
margin-top: 20%;

View File

@ -42,7 +42,7 @@
@import 'device_settings_dialog';
@import 'jquery.contextMenu';
@import 'keyboard-shortcuts';
@import 'close';
@import 'redirect_page';
/* Modules END */