add audio-only multiview

This commit is contained in:
MaZderMind 2015-12-28 11:26:17 +01:00
parent 327cbb3cae
commit 6be05f6090
3 changed files with 9 additions and 1 deletions

View file

@ -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');

View file

@ -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>

View file

@ -5,4 +5,5 @@ echo $tpl->render(array(
'title' => 'Stream-Übersicht',
'rooms' => Room::rooms(),
'selection' => @$_GET['selection'],
));