mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
add audio-only multiview
This commit is contained in:
parent
327cbb3cae
commit
6be05f6090
3 changed files with 9 additions and 1 deletions
|
@ -210,6 +210,12 @@ try {
|
|||
require('view/multiview.php');
|
||||
}
|
||||
|
||||
else if($route == 'multiview/audio')
|
||||
{
|
||||
$_GET['selection'] = 'audio';
|
||||
require('view/multiview.php');
|
||||
}
|
||||
|
||||
else if($route == 'feedback')
|
||||
{
|
||||
require('view/feedback.php');
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
|
||||
<div class="row room-group">
|
||||
<? foreach($rooms as $room): ?>
|
||||
<? foreach($room->getStreams() as $stream): ?>
|
||||
<? foreach($room->getStreams() as $stream): ?>
|
||||
<? if($selection && $stream->getSelection() != $selection) continue ?>
|
||||
<div class="col-xs-6 col-sm-4 col-md-3 col-lg-2">
|
||||
<div class="cell">
|
||||
<h2><?=h($stream->getDisplay())?></h2>
|
||||
|
|
|
@ -5,4 +5,5 @@ echo $tpl->render(array(
|
|||
'title' => 'Stream-Übersicht',
|
||||
|
||||
'rooms' => Room::rooms(),
|
||||
'selection' => @$_GET['selection'],
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue