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>" |
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
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
#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
# 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
<%= 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
#glances { | |
@include prepend(1); | |
@include column(7, last); | |
background: #ebebeb; | |
border-right: 1px solid #cfcfcf; | |
padding-top: 24px; | |
font-family: $secondary-font-family; | |
> section { | |
@include append(.5); | |
> header { |
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
<section class="messageFooter"> | |
<% if touchpoint.updated_at != touchpoint.created_at %> | |
Updated by <%= touchpoint.updated_by %> at <time datetime="<%= touchpoint.updated_at.to_formatted_s(:dashy_format_verbose) %>"><%= touchpoint.updated_at.to_formatted_s(:human_readable_verbose) %></time> | |
<% else %> | |
Created by <%= touchpoint.created_by %> at <time datetime="<%= touchpoint.created_at.to_formatted_s(:dashy_format_verbose) %>"><%= touchpoint.created_at.to_formatted_s(:human_readable_verbose) %></time> | |
<% end %> | |
</section> |
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
#Dismiss sign-up message, for now | |
$(".dismiss-sign-up").click (e) -> | |
e.preventDefault() | |
console.log($(this).parent().parent()) | |
$(this).fadeOut |
OlderNewer