mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-11-23 22:31:02 +00:00
add room name to room info page
This commit is contained in:
parent
bb55df2723
commit
737a72f296
3 changed files with 12 additions and 3 deletions
|
@ -22,6 +22,12 @@ body {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
#broadcast_tools_room_info_roomname {
|
||||
font-size: 2em;
|
||||
margin-bottom: 0.5em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#broadcast_tools_room_info_title {
|
||||
font-size: 6em;
|
||||
margin-bottom: 0.2em;
|
||||
|
|
|
@ -20,6 +20,8 @@ function update_room_info() {
|
|||
return
|
||||
}
|
||||
|
||||
$('#broadcast_tools_room_info_roomname').text(room_name);
|
||||
|
||||
if (!schedule) {
|
||||
$('#broadcast_tools_room_info_speaker').text('Waiting for schedule ...')
|
||||
return
|
||||
|
@ -52,7 +54,7 @@ function update_room_info() {
|
|||
$('#broadcast_tools_room_info_qr').html(qr_info);
|
||||
} else {
|
||||
$('#broadcast_tools_room_info_title').text(event_info['name']);
|
||||
$('#broadcast_tools_room_info_speaker').text(room_name);
|
||||
$('#broadcast_tools_room_info_speaker').text('');
|
||||
$('#broadcast_tools_room_info_qr').text('');
|
||||
}
|
||||
|
||||
|
|
|
@ -18,8 +18,9 @@
|
|||
</head>
|
||||
<body id="broadcast_tools_room_info">
|
||||
<div id="broadcast_tools_room_info_header">
|
||||
<h1 id="broadcast_tools_room_info_title">Loading ...</p>
|
||||
<h2 id="broadcast_tools_room_info_speaker">Content should appear soon. If not, please verify you have Javascript enabled.</h2>
|
||||
<h1 id="broadcast_tools_room_info_roomname"></h1>
|
||||
<h2 id="broadcast_tools_room_info_title">Loading ...</h2>
|
||||
<h3 id="broadcast_tools_room_info_speaker">Content should appear soon. If not, please verify you have Javascript enabled.</h3>
|
||||
</div>
|
||||
<div id="broadcast_tools_room_info_qr"></div>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue