bg
This commit is contained in:
BIN
assets/public/politictalk/background_pt.png
Normal file
BIN
assets/public/politictalk/background_pt.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 296 KiB |
@@ -1,10 +1,11 @@
|
||||
{
|
||||
"inviteDomain": "politictalk.parallelglobe.io",
|
||||
"backgroundColor": "#101820",
|
||||
"backgroundImageUrl": "/images/politictalk/background_pt.png",
|
||||
"pollCreationRequiresPermission": true,
|
||||
"logoClickUrl": "https://parallelglobe.io/politictalk",
|
||||
"logoImageUrl": "/images/politictalk/pgLogo.svg",
|
||||
"premeetingBackground": "url(/images/politictalk/pg_bg.png)",
|
||||
"premeetingBackground": "url(/images/politictalk/background_pt.png)",
|
||||
"customTheme": {
|
||||
"palette": {
|
||||
"ui01": "#101820",
|
||||
|
||||
@@ -405,7 +405,7 @@ module:hook("muc-occupant-pre-join", function(event)
|
||||
ensure_room_data(room);
|
||||
local participant_limit = get_participant_limit(session);
|
||||
local active_participant_count = table_count(room._data.politictalk_participant_jids);
|
||||
local active_room_occupancy_count = active_participant_count + get_active_host_count(room);
|
||||
local active_room_occupancy_count = active_participant_count;
|
||||
if
|
||||
participant_limit
|
||||
and active_room_occupancy_count >= participant_limit
|
||||
|
||||
@@ -1,4 +1,24 @@
|
||||
<style>
|
||||
html:not(.politictalk-direct-access-blocked) body,
|
||||
html:not(.politictalk-direct-access-blocked) #react,
|
||||
html:not(.politictalk-direct-access-blocked) #videoconference_page,
|
||||
html:not(.politictalk-direct-access-blocked) .conference,
|
||||
html:not(.politictalk-direct-access-blocked) #largeVideoContainer,
|
||||
html:not(.politictalk-direct-access-blocked) .large-video-container,
|
||||
html:not(.politictalk-direct-access-blocked) .filmstrip,
|
||||
html:not(.politictalk-direct-access-blocked) .stage-view {
|
||||
background-color: #101820 !important;
|
||||
background-image: url('/images/politictalk/background_pt.png') !important;
|
||||
background-position: center center !important;
|
||||
background-repeat: no-repeat !important;
|
||||
background-size: cover !important;
|
||||
}
|
||||
|
||||
html:not(.politictalk-direct-access-blocked) #largeVideo,
|
||||
html:not(.politictalk-direct-access-blocked) .large-video-background {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.politictalk-room-logo {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
@@ -116,6 +136,17 @@
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
html:not(.politictalk-direct-access-blocked) body,
|
||||
html:not(.politictalk-direct-access-blocked) #react,
|
||||
html:not(.politictalk-direct-access-blocked) #videoconference_page,
|
||||
html:not(.politictalk-direct-access-blocked) .conference,
|
||||
html:not(.politictalk-direct-access-blocked) #largeVideoContainer,
|
||||
html:not(.politictalk-direct-access-blocked) .large-video-container,
|
||||
html:not(.politictalk-direct-access-blocked) .filmstrip,
|
||||
html:not(.politictalk-direct-access-blocked) .stage-view {
|
||||
background-position: center center !important;
|
||||
}
|
||||
|
||||
.politictalk-room-logo {
|
||||
gap: 10px;
|
||||
height: 48px;
|
||||
@@ -257,6 +288,33 @@
|
||||
window.config = window.config || {};
|
||||
window.config.subject = meetingTitle;
|
||||
window.config.localSubject = meetingTitle;
|
||||
document.title = meetingTitle + ' | PoliticTalk';
|
||||
}
|
||||
|
||||
function mountPoliticTalkDocumentTitle() {
|
||||
var meetingTitle = getPoliticTalkMeetingTitle();
|
||||
var pageTitle = meetingTitle ? meetingTitle + ' | PoliticTalk' : 'PoliticTalk';
|
||||
|
||||
if (directAccessBlocked || !document.head) {
|
||||
return;
|
||||
}
|
||||
|
||||
document.title = pageTitle;
|
||||
|
||||
if (window.politicTalkTitleObserver) {
|
||||
return;
|
||||
}
|
||||
|
||||
window.politicTalkTitleObserver = new MutationObserver(function() {
|
||||
if (document.title !== pageTitle) {
|
||||
document.title = pageTitle;
|
||||
}
|
||||
});
|
||||
window.politicTalkTitleObserver.observe(document.head, {
|
||||
childList: true,
|
||||
characterData: true,
|
||||
subtree: true
|
||||
});
|
||||
}
|
||||
|
||||
function preventHostLeaveButtonExecution() {
|
||||
@@ -410,11 +468,13 @@
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
mountPoliticTalkDocumentTitle();
|
||||
mountPoliticTalkLogo();
|
||||
mountDirectAccessMessage();
|
||||
mountHostHangupPolicy();
|
||||
});
|
||||
} else {
|
||||
mountPoliticTalkDocumentTitle();
|
||||
mountPoliticTalkLogo();
|
||||
mountDirectAccessMessage();
|
||||
mountHostHangupPolicy();
|
||||
|
||||
Reference in New Issue
Block a user