OK
so we created a custom.css file with that
body > div[id="default-dropdown-menu"] ul.MuiMenu-list hr~li,
body > div[id="default-dropdown-menu"] ul.MuiMenu-list hr,
h1[data-test="meetingEndedModalTitle"] + div {
display: none;
}Which I put in /var/www/bigbluebutton-default/
I modified my NGINX server with the following line:
location /custom.css {
root /var/www/bigbluebutton-default;
index index.html index.htm;
exhale 1m;
}I also modified the file /usr/share/bigbluebutton/nginx/bbb-html5.nginx
with that :
################################################# #################
#
# proxy content must not be gzipped for this to work
proxy_set_header Accept-Encoding "";
# all types of content
sub_filter_types*;
# replace all instances
sub_filter_once off;
# add another stylesheet after the main style in the head-section
sub_filter '</head>' '<link rel="stylesheet" type="text/css" href="/custom.css"></head>';
# Removed PROF = 'end meeting' and PROF + HIGH = 'Leave meeting' buttons
# html5 v2.3.0 bbb client:
#
# sub_filter '</head>' '<style type="text/css">
# header[class^="navbar"] > div[class^="navbar"] > div[class^="top"] > div[class^="right"] > div[class^="dropdown"] li[class^="separator"] ~ li,
# header[class^="navbar"] > div[class^="navbar"] > div[class^="top"] > div[class^="right"] > div[class^="dropdown"] li[class^="separator"],
# div[class^="modal--"] > div[class^="content--"] > h1[data-test="meetingEndedModalTitle"] + div {
# display: none;
# }
# </style></head>';
#########################################
# html5 v2.4.0 bbb client:
sub_filter '</head>' '<style type="text/css">
div#default-dropdown-menu ul.MuiMenu-list > li[data-test="list-item-shortcuts"]~*,
> h1[data-test="meetingEndedModalTitle"] + div {
display: none;
}
</style></head>';
# examples:
#
# add an x after the body tag
# sub_filter '<body>' '<body>x';
#
# replace all BigBlueButton with SmallRedHering
# sub_filter 'BigBlueButton' 'SmallRedHering';
# just kidding - this filter will break the HTML5 client
#
################################################# #################
We had to adapt after the switch from V2.3 to V2.4, but for BigBlueButton v2.5, it's something else again.