aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/assemblies/irc.phtml4
-rw-r--r--template/room.phtml24
2 files changed, 26 insertions, 2 deletions
diff --git a/template/assemblies/irc.phtml b/template/assemblies/irc.phtml
new file mode 100644
index 0000000..6045f40
--- /dev/null
+++ b/template/assemblies/irc.phtml
@@ -0,0 +1,4 @@
+<div class="click-to-irc">
+ <span>Click to Activate</span>
+ <iframe data-src="https://kthx.de:9090/?channels=voc-<?=h($room)?>&uio=d4" width="1020" height="372" border="0"></iframe>
+</div>
diff --git a/template/room.phtml b/template/room.phtml
index 680c6bc..87f2b9f 100644
--- a/template/room.phtml
+++ b/template/room.phtml
@@ -13,11 +13,31 @@
<? endforeach ?>
</ul>
+ <div class="player-wrap">
+ <? include("assemblies/player/$type.phtml") ?>
+ </div>
+
+ <ul class="nav nav-tabs nav-justified" role="tablist">
+ <li class="active">
+ <a href="#switcher" role="tab" data-toggle="tab">Formats</a>
+ </li>
+ <li>
+ <a href="#irc" role="tab" data-toggle="tab">IRC</a>
+ </li>
+ <li>
+ <a href="#program" role="tab" data-toggle="tab">Program</a>
+ </li>
+ </ul>
<div class="tab-content">
- <? include("assemblies/player/$type.phtml") ?>
- <div class="switcher">
+ <div class="tab-pane active switcher" id="switcher">
<? include("assemblies/switcher/$type.phtml") ?>
</div>
+ <div class="tab-pane irc" id="irc">
+ <? include("assemblies/irc.phtml") ?>
+ </div>
+ <div class="tab-pane program" id="program">
+ Program
+ </div>
</div>
</div>