mirror of
https://github.com/brmlab/brmdoor.git
synced 2025-06-08 11:44:01 +02:00
brmd: Show brmstream link on main web page when on air
This commit is contained in:
parent
593f34fe9b
commit
c39919490f
1 changed files with 4 additions and 1 deletions
|
@ -203,6 +203,9 @@ sub web_index {
|
||||||
$response->push_header("Content-Type", "text/html");
|
$response->push_header("Content-Type", "text/html");
|
||||||
disable_caching($response);
|
disable_caching($response);
|
||||||
|
|
||||||
|
my $r_link = '';
|
||||||
|
$record and $r_link .= '<a href="http://nat.brmlab.cz:8090/brmstream.asf">watch now!</a>';
|
||||||
|
|
||||||
$response->content(<<EOT
|
$response->content(<<EOT
|
||||||
<html>
|
<html>
|
||||||
<head><title>brmd</title></head>
|
<head><title>brmd</title></head>
|
||||||
|
@ -212,7 +215,7 @@ sub web_index {
|
||||||
<p>Enjoy the view!</p>
|
<p>Enjoy the view!</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>brmstatus</strong> ($sts) <a href="brmstatus.html">status page</a> | <a href="brmstatus.js">javascript code</a> | <a href="brmstatus.txt">plaintext file</a> | <a href="brmstatus.png">picture</a></li>
|
<li><strong>brmstatus</strong> ($sts) <a href="brmstatus.html">status page</a> | <a href="brmstatus.js">javascript code</a> | <a href="brmstatus.txt">plaintext file</a> | <a href="brmstatus.png">picture</a></li>
|
||||||
<li><strong>brmvideo</strong> ($str) live feed coming soon!</li>
|
<li><strong>brmvideo</strong> ($str) $r_link</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p align="right"><a href="http://gitorious.org/brmlab/brmdoor">(view source)</a></p>
|
<p align="right"><a href="http://gitorious.org/brmlab/brmdoor">(view source)</a></p>
|
||||||
</body></html>
|
</body></html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue