-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added pictures, yellow eye controls, front page blogishness
- Loading branch information
Chris
committed
May 4, 2011
1 parent
9b22dfd
commit 5f163af
Showing
12 changed files
with
238 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div id="blogs_wrapper"> | ||
<%= raw @latest_front_page_blogpost %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<div id="pictures" class="front_page_section"> | ||
<div id="picture_wrapper"> | ||
<% @pictures.each do |picture| %> | ||
<%= image_tag picture.image.url %> | ||
<% end %> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
|
||
$(window).load(function(){ | ||
$('#picture_wrapper').masonry({ columnWidth: 25, saveOptions: false, animate: true }); | ||
}); | ||
|
||
</script> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<div id="player_wrapper"> | ||
|
||
|
||
<% unless @frontpage_audio_url.nil?%> | ||
<%= render 'tracks/player', :audio_url => @frontpage_audio_url %> | ||
<% end %> | ||
|
||
<div class="eye leftEye play_button" id="play_control"> | ||
<div class="eyeContainer"> | ||
<div class="circle eyetop"></div> | ||
</div> | ||
<div class="eyeContainer"> | ||
<div class="circle eyebottom"></div> | ||
</div> | ||
<div class="playGraphic"></div> | ||
</div> | ||
<div id="tracks_wrapper"> | ||
<%= render @tracks unless @tracks.nil? %> | ||
</div> | ||
<div class="eye rightEye play_button" id="pause_control"> | ||
<div class="eyeContainer"> | ||
<div class="circle eyetop"></div> | ||
</div> | ||
<div class="eyeContainer"> | ||
<div class="circle eyebottom"></div> | ||
</div> | ||
<div class="stopGraphic"></div> | ||
</div> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<div id="poster"> | ||
<script> | ||
var padding_values_initial = [1, 2, 4, 6, 8, 10, 12, 14, 17, 20]; | ||
var padding_values_r = padding_values_initial.slice(0).reverse(); | ||
var padding_values_top = padding_values_r.concat([0]).concat(padding_values_initial); | ||
var padding_values_bottom = padding_values_initial.concat([22]).concat(padding_values_r); | ||
|
||
$(function(){ | ||
$("#upperjaw .tooth:first").css("padding-top", padding_values_top[20] * 4) | ||
for(var i = 0; i < 20; i++) | ||
$("#upperjaw .tooth:first").clone().insertAfter("#upperjaw .tooth:first").css("padding-top", 4 * padding_values_top[i]); | ||
|
||
for(var j = 0; j < 20; j++) | ||
$("#lowerjaw .tooth:first").clone().insertAfter("#lowerjaw .tooth:first").css("padding-top", 4 * padding_values_bottom[j]); | ||
}); | ||
</script> | ||
<div id="wrapper"> | ||
<div id="teeth"> | ||
<div id="upperjaw"> | ||
<div class="tooth"> | ||
<div class="root"></div> | ||
<div class="tip"></div> | ||
</div> | ||
</div> | ||
<div id="lowerjaw"> | ||
<div class="tooth"> | ||
<div class="tip"></div> | ||
<div class="root"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div id="title" class="curtis tk_proxima_nova size140 standard"> | ||
<%= render('shared/title') %> | ||
</div> | ||
<div> | ||
<div id="next_show"> | ||
<%= raw @next_show.to_html unless @next_show.nil? %> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,4 @@ | ||
<script> | ||
|
||
var padding_values_initial = [1, 2, 4, 6, 8, 10, 12, 14, 17, 20]; | ||
var padding_values_r = padding_values_initial.slice(0).reverse(); | ||
var padding_values_top = padding_values_r.concat([0]).concat(padding_values_initial); | ||
var padding_values_bottom = padding_values_initial.concat([22]).concat(padding_values_r); | ||
|
||
$(function(){ | ||
$("#upperjaw .tooth:first").css("padding-top", padding_values_top[20] * 4) | ||
for(var i = 0; i < 20; i++) | ||
$("#upperjaw .tooth:first").clone().insertAfter("#upperjaw .tooth:first").css("padding-top", 4 * padding_values_top[i]); | ||
|
||
for(var j = 0; j < 20; j++) | ||
$("#lowerjaw .tooth:first").clone().insertAfter("#lowerjaw .tooth:first").css("padding-top", 4 * padding_values_bottom[j]); | ||
|
||
}); | ||
</script> | ||
<div id="wrapper"> | ||
<div id="teeth"> | ||
<div id="upperjaw"> | ||
<div class="tooth"> | ||
<div class="root"></div> | ||
<div class="tip"></div> | ||
</div> | ||
</div> | ||
<div id="lowerjaw"> | ||
<div class="tooth"> | ||
<div class="tip"></div> | ||
<div class="root"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div id="title" class="curtis tk_proxima_nova size140 standard"> | ||
<%= render('shared/title') %> | ||
</div> | ||
<div> | ||
<div id="next_show"> | ||
<%= raw @next_show.to_html unless @next_show.nil? %> | ||
</div> | ||
</div> | ||
<% unless @frontpage_audio_url.nil?%> | ||
<%= render 'tracks/player', :audio_url => @frontpage_audio_url %> | ||
<% end %> | ||
</div> | ||
<%= render 'predators/player' %> | ||
<%= render 'predators/poster' %> | ||
<%= render 'predators/blogs' %> | ||
<%= render 'predators/pictures' %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters