aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/switcher/music.phtml
diff options
context:
space:
mode:
authorMaZderMind2015-03-01 16:17:20 +0100
committerMaZderMind2015-03-01 16:17:20 +0100
commitb07e1beaa8e3ff0653ea5b02cd26737c227dc667 (patch)
treed659fd6acba7951f3c31564fb33b929c9a50048e /template/assemblies/switcher/music.phtml
parent20dd29c322a24a2ef9e3f0e5c269a97acd5d2518 (diff)
music & audio tabs
Diffstat (limited to '')
-rw-r--r--template/assemblies/switcher/music.phtml21
1 files changed, 21 insertions, 0 deletions
diff --git a/template/assemblies/switcher/music.phtml b/template/assemblies/switcher/music.phtml
new file mode 100644
index 0000000..b844ae8
--- /dev/null
+++ b/template/assemblies/switcher/music.phtml
@@ -0,0 +1,21 @@
+<div class="container-fluid">
+ <h3>Directlinks</h3>
+ <div class="formats row">
+
+ <? foreach(array_intersect($formats, array('music-mp3', 'music-opus', 'music-ogg')) as $format): ?>
+ <div class="col-lg-3 col-md-4 col-lg-5 col-xs-12">
+ <? $proto = substr($format, 6) ?>
+ <div class="btn-group" role="group">
+ <div class="btn btn-primary" disabled><?=h(strtoupper($proto))?></div>
+
+ <a href="<?=h(link_stream('music', $room, $proto))?>" class="btn btn-default">
+ <span class="fa fa-music"></span>
+ music
+ </a>
+
+ </div>
+ </div>
+ <? endforeach ?>
+
+ </div>
+</div>