This file contains hidden or 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
<%= content_tag :li, :class => 'first' do %> | |
<%= link_to('Personal Info', edit_user_path(current_user)) %> | |
<% end %> |
This file contains hidden or 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
# Compress JavaScripts and CSS | |
config.assets.compress = true | |
config.assets.digest = false |
This file contains hidden or 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
#siteNav { | |
background: #FFF; | |
@include clearfix; | |
border: { | |
style: solid; | |
color: $header-border-color; | |
top: { | |
width: 1px; | |
} | |
bottom: { |
This file contains hidden or 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
import flash.display.MovieClip; | |
import flash.events.MouseEvent; | |
rotate360.addEventListener(MouseEvent.ROLL_OVER, onRollOverHandler); | |
rotate360.addEventListener(MouseEvent.ROLL_OUT, onRollOutHandler); | |
rotateButton.addEventListener(MouseEvent.ROLL_OVER, onRollOverHandler); | |
rotateButton.addEventListener(MouseEvent.ROLL_OUT, onRollOutHandler); | |
rotate360.buttonMode = true; |
This file contains hidden or 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
/****************************************** | |
Misc/Hacks/Clears/Groups */ | |
/* Clears for floats */ | |
.clear { | |
clear: both; | |
display: block; | |
overflow: hidden; | |
visibility: hidden; |
This file contains hidden or 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
module PublicHelper | |
include Twitter::Autolink | |
def display_tweets(team) | |
html_content = [] | |
@tweets = Tweet.where(:team_hash => team).limit(10).order_by([[:created_at, :desc]]) | |
@tweets.each do |tweet| | |
html_content << content_tag(:li, :class => 'group') do | |
"<img src='"+tweet.profile_image_url+"' />" | |
content_tag(:div, :class => 'post') do | |
"<h3> " + auto_link_usernames_or_lists("@#{tweet.username}") + " <span>" + tweet.name + "</span>" + "</h3>" + "<p>" + tweet.text + "</p>" |
NewerOlder