aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorMaZderMind2014-10-18 18:29:33 +0200
committerMaZderMind2014-10-18 18:29:33 +0200
commit9bbb2ac43e9859c460b3a509404fa927288a1cc9 (patch)
tree0ceb4287db6dd072b2c9ef96d911d687585c2c90 /template
parentebaecb018a797ac9bf29ca6731dedf2cc89b2441 (diff)
room list style & content
Diffstat (limited to 'template')
-rw-r--r--template/assemblies/banner.phtml4
-rw-r--r--template/assemblies/header.phtml15
-rw-r--r--template/page.phtml6
-rw-r--r--template/rooms.phtml51
4 files changed, 55 insertions, 21 deletions
diff --git a/template/assemblies/banner.phtml b/template/assemblies/banner.phtml
new file mode 100644
index 0000000..a54bc24
--- /dev/null
+++ b/template/assemblies/banner.phtml
@@ -0,0 +1,4 @@
+<div class="banner">
+ <img src="http://placehold.it/340x190" height="190" width="340" />
+ <div class="titlebar title">Motto Here &ndash; Lorem ipsum dolor</div>
+</div>
diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml
index 5a8a013..c7ea3e0 100644
--- a/template/assemblies/header.phtml
+++ b/template/assemblies/header.phtml
@@ -1,22 +1,22 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
- <a class="navbar-brand" href="index.html">
+ <a class="navbar-brand" href="">
<img alt="ccc-tv logo, a tv displaying a play icon" src="assets/img/tv.png">
- ccc-tv
+ 31C3 Streaming
</a>
</div>
<div class="nav navbar-form navbar-right button-wrapper">
- <a class="form-control btn btn-default" href="podcast.xml">
- <span class="fa fa-rss"></span>
+ <a class="form-control btn btn-default" href="http://media.ccc.de/browse/congress/2014/index.html" title="Recordings">
+ <span class="fa fa-video-camera"></span>
</a>
- <a class="form-control btn btn-default" href="about.html">
+ <a class="form-control btn btn-default" href="about/" title="About">
<span class="fa fa-info"></span>
</a>
</div>
- <form action="/search/" class="navbar-form navbar-right" id="media-search" method="get" role="search">
+ <!-- form action="/search/" class="navbar-form navbar-right" id="media-search" method="get" role="search">
<div class="form-group input-group">
<input class="form-control" name="q" placeholder="Search…" size="17" type="search">
<span class="input-group-btn">
@@ -25,7 +25,6 @@
</button>
</span>
</div>
- </form>
-
+ </form -->
</div>
</div>
diff --git a/template/page.phtml b/template/page.phtml
index d828030..1cbd2c5 100644
--- a/template/page.phtml
+++ b/template/page.phtml
@@ -17,12 +17,6 @@
</head>
<body>
<? include('assemblies/header.phtml') ?>
-
- <h1><?=h($title)?> - 31C3 Streaming</h1>
- <? if(@$subtitle): ?>
- <h2><?=h($subtitle)?></h2>
- <? endif ?>
-
<? include("$page.phtml") ?>
</body>
</html>
diff --git a/template/rooms.phtml b/template/rooms.phtml
index 82fcd2b..2f28166 100644
--- a/template/rooms.phtml
+++ b/template/rooms.phtml
@@ -1,7 +1,44 @@
-<ul>
- <? foreach($rooms as $room => $display): ?>
- <li class="<?=h($room)?>">
- <a href="<?=h(link_room($room))?>"><?=h($display)?></a>
- </li>
- <? endforeach ?>
-</ul>
+<? include('assemblies/banner.phtml') ?>
+
+<div class="container-fluid rooms">
+ <h1>Live-Streams</h1>
+
+ <div class="room-group">
+ <h2>Lecture Rooms</h2>
+
+ <ul>
+ <? foreach(array('saal1', 'saal2', 'saalg', 'saal6') as $room): ?>
+ <li class="<?=h($room)?>">
+ <a href="<?=h(link_room($room))?>"><?=h($rooms[$room])?></a>
+ </li>
+ <? endforeach ?>
+ </ul>
+ </div>
+
+
+ <div class="room-group">
+ <h2>Live DJ Sets</h2>
+
+ <ul>
+ <? foreach(array('lounge', 'ambient') as $room): ?>
+ <li class="<?=h($room)?>">
+ <a href="<?=h(link_room($room))?>"><?=h($rooms[$room])?></a>
+ </li>
+ <? endforeach ?>
+ </ul>
+ </div>
+
+
+ <div class="room-group">
+ <h2>Live Podcasts</h2>
+
+ <ul>
+ <? foreach(array('sendezentrum') as $room): ?>
+ <li class="<?=h($room)?>">
+ <a href="<?=h(link_room($room))?>"><?=h($rooms[$room])?></a>
+ </li>
+ <? endforeach ?>
+ </ul>
+ </div>
+
+</div>