-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
64 lines (57 loc) · 2.69 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
layout: default
---
<div class="index-container">
<div class="module-box radio-module">
<div class="module-header">
<h2>Radio</h2>
</div>
<div class="module-body">
<iframe src="http://www.radionope.com/wp-content/plugins/shoutcast-icecast-html5-radio-player/html5/html5shoutcast.php?radiolink=http://amber.streamguys.com:4240/&radiotype=shoutcast1&bcolor=000000&width=350&height=400&image=&background=ffffff&shadow=0&autoplay=&metadata=1&metadataURL=&songhistory=1&bgimage=&facebook=http://www.facebook.com/radionope&twitter=http://twitter.com/radionope&gplus=https://plus.google.com/100825987461531739433&listeners=&title=Radio NOPE&artist=Radio NOPE&vol=90" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" width="329" height="386"></iframe>
<div>
<small>
<a href="http://amber.streamguys.com:4240/listen.pls">direct link to stream</a>
<br>
<a href="http://tunein.com/radio/Radio-NOPE-s245498/">RadioNOPE on TUNEin Radio</a>
</small>
</div>
</div>
</div>
<div class="module-box chat-module">
<div class="module-header">
<h2>Chat box</h2>
</div>
<div class="module-body">
<div style="height: 390px; margin-bottom: 2px; padding: 0;">
<script language="JavaScript" type="text/javascript" src="http://www.rumbletalk.com/client/?-:yEY:X-"></script>
</div>
<div>
<small><a href="http://www.rumbletalk.com/client/chat.php?-:yEY:X-">direct link to chatbox</a></small>
<br>
<small>(numbers are NOT listeners, just those logged in to chat)</small>
</div>
</div>
</div>
<div class="twitter-module">
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/RadioNOPE" data-widget-id="693302243731361793">Tweets by @RadioNOPE</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
<div class="module-box schedule-module hide">
<div class="module-header">
<h2>Today's schedule</h2>
</div>
{% include schedule.html %}
<div class="module-footer"><a href="/schedule">See full schedule</a></div>
</div>
</div>
<script>
$(function() {
var weekdays = [ 'sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday'];
var current_date = new Date();
var day = weekdays[current_date.getDay()];
console.log(day);
$('.schedule-module .module-body').addClass('hide');
$('#'+day).removeClass('hide');
$('.schedule-module').removeClass('hide');
});
</script>