aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorMaZderMind2015-04-03 20:46:10 +0200
committerMaZderMind2015-04-03 20:49:29 +0200
commit2a24e19809e3fabf6bf18f8c98040d7769052c4d (patch)
tree3d858de90b1066f6c525ac938f1f3c945750eac9 /template
parenta392d2d10758a76f6758cef0c673436738f9c807 (diff)
Experimental Multi-Viewer
Diffstat (limited to '')
-rw-r--r--template/multiview.phtml23
1 files changed, 23 insertions, 0 deletions
diff --git a/template/multiview.phtml b/template/multiview.phtml
new file mode 100644
index 0000000..e07446b
--- /dev/null
+++ b/template/multiview.phtml
@@ -0,0 +1,23 @@
+<div class="container-fluid">
+ <div class="row headline">
+ <div class="col-xs-12">
+ <h1><?=h($title)?></h1>
+ </div>
+ </div>
+
+ <div class="row room-group">
+ <? foreach($rooms as $room): ?>
+ <? foreach($room->getStreams() as $stream): ?>
+ <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2">
+ <div class="cell">
+ <h2><?=h($stream->getDisplay())?></h2>
+ <? require("$assemblies/player/".$stream->getPlayerType().".phtml") ?>
+ <div class="meter"></div>
+ <div class="timer"></div>
+ </div>
+ </div>
+ <? endforeach ?>
+ <? endforeach ?>
+ </div>
+
+</div>