mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2025-04-29 08:40:59 +00:00
room info: add small helper text to hint people into giving feedback
This commit is contained in:
parent
16350548f5
commit
97784373c0
3 changed files with 20 additions and 9 deletions
|
@ -14,6 +14,7 @@ body {
|
|||
display: flex;
|
||||
flex-flow: column;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#broadcast_tools_room_info_header, #broadcast_tools_room_info_qr {
|
||||
|
@ -38,7 +39,11 @@ body {
|
|||
|
||||
#broadcast_tools_room_info_qr img {
|
||||
background-color: white;
|
||||
height: 100%;
|
||||
height: calc(100% - 2em);
|
||||
}
|
||||
|
||||
#broadcast_tools_room_info_qr p {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#l3box {
|
||||
|
|
|
@ -43,7 +43,7 @@ function update_room_info() {
|
|||
if (current_talk) {
|
||||
$('#broadcast_tools_room_info_title').text(current_talk['title']);
|
||||
$('#broadcast_tools_room_info_speaker').text(current_talk['persons'].join(', '));
|
||||
$('#broadcast_tools_room_info_qr').html('<img src="' + current_talk['feedback_qr_url'] + '" alt="Feedback QR Code">');
|
||||
$('#broadcast_tools_room_info_qr').html('<img src="' + current_talk['urls']['feedback_qr'] + '" alt="Feedback QR Code"><p>Leave Feedback by scanning the code or visiting ' + current_talk['urls']['feedback'] + '</p>');
|
||||
} else {
|
||||
$('#broadcast_tools_room_info_title').text(event_info['no_talk']);
|
||||
$('#broadcast_tools_room_info_speaker').text('');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue