Skip to content

Commit 7c70af0

Browse files
committed
web: Improve links between the different panels
1 parent 4f960b3 commit 7c70af0

File tree

5 files changed

+22
-12
lines changed

5 files changed

+22
-12
lines changed

web/annunciators.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
</tr>
5151
</table>
5252

53-
<button class="popout" onclick="window.open(window.location.href, 'popupWindow', 'width=700,height=300,menubar=no,toolbar=no,location=no,status=no');">Pop out window</a>
53+
<button class="popout" title="Pop out this window without tabs/menus" onclick="window.open(window.location.href, 'popupWindow', 'width=700,height=300,menubar=no,toolbar=no,location=no,status=no');">Pop out window</button>
5454

5555
<script>
5656
init_all()

web/director.html

+4-3
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,10 @@
165165
</tr>
166166
</table>
167167

168-
<a class="preview-href" href="">Real-time scene preview</a>
169-
<a class="small-href" href="">Short panel for instructors</a>
170-
<button class="popout" onclick="window.open(window.location.href, 'popupWindow', 'width=800,height=600,menubar=no,toolbar=no,location=no,status=no');">Pop out window</a>
168+
<a class="preview-href" href="">Preview</a>,
169+
<a class="small-href" href="">Short panel</a>,
170+
<a class="annunciators-href" href="">Annunciator panel only</a>,
171+
<button class="popout" title="Pop out this window without tabs/menus" onclick="window.open(window.location.href, 'popupWindow', 'width=800,height=600,menubar=no,toolbar=no,location=no,status=no');">Pop out window</button>
171172

172173
<script>
173174
init_all()

web/index.html

+12-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,18 @@
2323
</div>
2424

2525
<ul>
26-
<li><a class="annunciators-href" href="">Minimal panel with only annunciator lights.</a></li>
27-
<li><a class="small-href" href="">Small panel for instructors</a></li>
28-
<li><a class="preview-href" href="">Real-time scene preview</a></li>
29-
<li><a class="director-href" href="">Big control panel for directors.</a></li>
26+
<li><a class="annunciators-href" href="">Annunciator panel lights only.</a>
27+
<button class="popout annunciators-href" onclick="window.open(event.target.href, 'popupWindow', 'width=800,height=600,menubar=no,toolbar=no,location=no,status=no');">Pop out</button>
28+
</li>
29+
<li><a class="small-href" href="">Small panel for instructors</a>
30+
<button class="popout small-href" onclick="window.open(event.target.href, 'popupWindow', 'width=800,height=600,menubar=no,toolbar=no,location=no,status=no');">Pop out</button>
31+
</li>
32+
<li><a class="preview-href" href="">Real-time scene preview</a>
33+
<button class="popout preview-href" onclick="window.open(event.target.href, 'popupWindow', 'width=800,height=600,menubar=no,toolbar=no,location=no,status=no');">Pop out</button>
34+
</li>
35+
<li><a class="director-href" href="">Big control panel for directors.</a>
36+
<button class="popout director-href" onclick="window.open(event.target.href, 'popupWindow', 'width=800,height=600,menubar=no,toolbar=no,location=no,status=no');">Pop out</button>
37+
</li>
3038
</ul>
3139

3240
<p>Arguments are given via URL fragments (not query arguments): <code>#url=localhost:4455&password=XXXXX</code></p>

web/preview.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<div id="header">
4646
<span id="status">Status is updated here</span>.
4747
<span style="font-size: 50%">Please close if not needed to save bandwidth/CPU.</span>
48-
<button class="popout" onclick="window.open(window.location.href, 'popupWindow', 'width=400,height=600,menubar=no,toolbar=no,location=no,status=no');">Pop out window</a>
48+
<button class="popout" title="Pop out this window without tabs/menus" onclick="window.open(window.location.href, 'popupWindow', 'width=400,height=600,menubar=no,toolbar=no,location=no,status=no');">Pop out window</button>
4949
</div>
5050

5151
<div class="preview-container">

web/small.html

+4-3
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@
7373
</tr>
7474
</table>
7575

76-
<a class="preview-href" href="">Real-time scene preview.</a>
77-
<a class="director-href" href="">Big panel for directors.</a>
78-
<button class="popout" onclick="window.open(window.location.href, 'popupWindow', 'width=700,height=300,menubar=no,toolbar=no,location=no,status=no');">Pop out window</a>
76+
<a class="preview-href" href="">Preview</a>,
77+
<a class="director-href" href="">Director view</a>,
78+
<a class="annunciators-href" href="">Annunciator panel only</a>,
79+
<button class="popout" title="Pop out this window without tabs/menus" onclick="window.open(window.location.href, 'popupWindow', 'width=700,height=300,menubar=no,toolbar=no,location=no,status=no');">Pop out window</button>
7980

8081
<script>
8182
init_all()

0 commit comments

Comments
 (0)