Skip to content

Commit

Permalink
Merge pull request #201 from H2-invent/feature/repeater
Browse files Browse the repository at this point in the history
Feature/repeater
  • Loading branch information
holema authored Jun 3, 2021
2 parents 60e79ad + be3b761 commit 9ae3162
Show file tree
Hide file tree
Showing 48 changed files with 4,507 additions and 541 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ laf_keycloakGroupToCreateServer=/user
laf_administratorEmail=admin@localhost.de
laf_notificationUrl=""
laf_bbb_Url=""
laf_max_repeat=56
###< LaF ###

###> Default Jitsi Server ###
Expand Down
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ laf_keycloakGroupToCreateServer=/user
laf_administratorEmail=admin@localhost.de
laf_notificationUrl=""
laf_bbb_Url=""
laf_max_repeat=56
###< LaF ###

###> Default Jitsi Server ###
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ yarn-error.log
###< symfony/web-server-bundle ###
/public/trash/
/.phpdoc/

###> phpunit/phpunit ###
/phpunit.xml
.phpunit.result.cache
###< phpunit/phpunit ###
4 changes: 2 additions & 2 deletions assets/css/layout/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ label.required:after {

#snackbar.show {
visibility: visible;
-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
animation: fadein 0.5s, fadeout 0.5s 2.5s;
-webkit-animation: fadein 0.5s ;
animation: fadein 0.5s;
}

@-webkit-keyframes fadein {
Expand Down
3 changes: 3 additions & 0 deletions assets/css/layout/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,6 @@ a {
.btn-outline-dashboard{
border: 0.2rem solid $btn-primary;
}
#snackbar{
cursor: pointer;
}
17 changes: 14 additions & 3 deletions assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ $(document).ready(function () {
window.location.reload();
})
setTimeout(function () {
$('#snackbar').addClass('show');
setTimeout(function () {
$('#snackbar').addClass('show').click(function (e) {
$('#snackbar').removeClass('show');
}, 3000);
})
}, 500);

if (importBBB) {
h2Button.init(bbbUrl);
}
Expand Down Expand Up @@ -195,6 +195,7 @@ $('#loadContentModal').on('shown.bs.modal', function (e) {

initSearchUser();
initServerFeatures();
initRepeater();
if(getCookie('room_server')){
$('#room_server').val(getCookie('room_server'))
}
Expand Down Expand Up @@ -335,3 +336,13 @@ function getCookie(cname) {
}
return "";
}
function initRepeater(){
$('.repeater').addClass('d-none');
$('#repeater_'+$('#repeater_repeatType').val()).removeClass('d-none');

$('#repeater_repeatType').change(function (){

$('.repeater').addClass('d-none');
$('#repeater_'+$(this).val()).removeClass('d-none');
})
}
Loading

0 comments on commit 9ae3162

Please sign in to comment.