Update
This commit is contained in:
32
index.html
32
index.html
@@ -66,6 +66,22 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#fullscreen-btn {
|
||||
position: fixed;
|
||||
bottom: 20px; right: 20px;
|
||||
z-index: 999;
|
||||
background: rgba(255,255,255,0.08);
|
||||
border: 1px solid rgba(255,255,255,0.15);
|
||||
color: rgba(255,255,255,0.4);
|
||||
border-radius: 8px;
|
||||
padding: 6px 10px;
|
||||
font-size: 1.2rem;
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
#view-display:hover #fullscreen-btn { opacity: 1; }
|
||||
#fullscreen-btn:hover { background: rgba(255,255,255,0.18); color: white; }
|
||||
.display-header {
|
||||
position: absolute;
|
||||
top: 32px; left: 40px;
|
||||
@@ -1031,6 +1047,7 @@
|
||||
DISPLAY VIEW (Monitor 2)
|
||||
============================================================ -->
|
||||
<div id="view-display" class="view">
|
||||
<button id="fullscreen-btn" onclick="toggleFullscreen()" title="Vollbild">⛶</button>
|
||||
<div class="display-header">
|
||||
<img class="bni-badge" src="logo.jpeg" alt="BNI Sonne Ulm">
|
||||
<div class="chapter-name">Vorstellungsrunde</div>
|
||||
@@ -1112,7 +1129,7 @@
|
||||
<span class="next-bar-end-text">Das war die letzte Vorstellung – Danke!</span>
|
||||
</div>
|
||||
|
||||
<div style="position:fixed;bottom:14px;right:20px;display:flex;align-items:center;gap:8px;opacity:0.35;pointer-events:none;">
|
||||
<div style="position:fixed;bottom:14px;right:80px;display:flex;align-items:center;gap:8px;opacity:0.35;pointer-events:none;">
|
||||
<span style="color:white;font-size:0.7rem;letter-spacing:1px;text-transform:uppercase;">powered by</span>
|
||||
<img src="digiseed.png" alt="Digiseed" style="height:28px;width:auto;border-radius:4px;">
|
||||
</div>
|
||||
@@ -3524,6 +3541,19 @@ function editMemberTimer(memberId) {
|
||||
renderControl();
|
||||
}
|
||||
|
||||
function toggleFullscreen() {
|
||||
if (!document.fullscreenElement) {
|
||||
document.documentElement.requestFullscreen().catch(() => {});
|
||||
} else {
|
||||
document.exitFullscreen().catch(() => {});
|
||||
}
|
||||
}
|
||||
|
||||
document.addEventListener('fullscreenchange', () => {
|
||||
const btn = document.getElementById('fullscreen-btn');
|
||||
if (btn) btn.textContent = document.fullscreenElement ? '✕' : '⛶';
|
||||
});
|
||||
|
||||
function editDefaultTimer() {
|
||||
const current = state.defaultTimer || 60;
|
||||
const answer = prompt(
|
||||
|
||||
Reference in New Issue
Block a user