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
<!DOCTYPE html> | |
<head> | |
<meta charset='utf-8'> | |
<meta author='Paul Cowan'> | |
<title>Lead Generator</title> | |
<link href="/assets/application.css" media="screen" rel="stylesheet" type="text/css" /> | |
<script src="/assets/application.js" type="text/javascript"></script> | |
<meta content="authenticity_token" name="csrf-param" /> | |
<meta content="PNhdEuNsWQC2xIrHP8Ae4SspAEtSCXiSr9exmzHI2po=" name="csrf-token" /> | |
<link href='http://fonts.googleapis.com/css?family=Orbitron:regular,italic,bold,bolditalic' rel='stylesheet' type='text/css'> |
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
$header-bg: #6A85AF !default | |
$title-color: #f2f2f2 !default | |
$subtitle-color: lighten($header-bg, 58) | |
$type-border: #ddd !default | |
$text-color: #222 !default | |
$text-color-light: #aaa !default |
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
source 'http://rubygems.org' | |
source 'http://gems.engineyard.com' | |
gem 'rails', '~> 3.1.0.rc8' | |
gem 'haml' | |
gem 'authlogic', :git => 'https://github.com/AndreasWurm/authlogic.git' | |
gem 'grid-coordinates' | |
gem 'nokogiri' | |
gem 'bundler' | |
gem 'resque' |
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
.heading | |
font-family: "Orbitron", "Georgia", "Helvetica Neue", Arial, San-Serif | |
body > header h1 | |
font-size: 2.2em | |
@extend .heading | |
line-height: 1.2em | |
text-transform: uppercase | |
font-weight: normal | |
margin-bottom: 0.7em |
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
$nav-bg: desaturate(lighten(#9CC889, 18),5) | |
$nav-border: darken($nav-bg, 10) | |
$nav-border-top: lighten($nav-bg, 15) | |
$nav-border-bottom: darken($nav-bg, 25) | |
$nav-border-left: darken($nav-bg, 11) | |
$nav-border-right: lighten($nav-bg, 7) | |
$nav-color: darken($nav-bg, 38) | |
$nav-color-hover: darken($nav-color, 25) |
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
=form_for @user_session, :id => 'login', :url => user_session_path do |f| | |
=f.error_messages | |
%h2 | |
Log In | |
%fieldset#inputs | |
=f.label :email | |
=f.text_field(:email, {:placeholder => "email", :autofocus => "autofocus", :required => "required", :autocomplete => "off"}) | |
=f.label :password | |
=f.password_field(:password, {:placeholder => "password", :required => "required"}) | |
%fieldset#actions |
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
<form accept-charset="UTF-8" action="/user_session" class="new_user_session" id="new_user_session" method="post"> | |
<div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /> | |
<input name="authenticity_token" type="hidden" value="5Q0RXjMIdCbnW8vGYTPYpa+UCg1F8TPQ+EOSDTcQ0Ck=" /> | |
</div> | |
<h2>Log In</h2> | |
<fieldset id='inputs'> | |
<label for="user_session_email">Email</label> | |
<input autocomplete="off" autofocus="autofocus" id="user_session_email" name="user_session[email]" placeholder="email" required="required" size="30" type="text" /> | |
<label for="user_session_password">Password</label> | |
<input id="user_session_password" name="user_session[password]" placeholder="password" size="30" type="password" /> |
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
@mixin form-labels | |
color: $label-color | |
text-shadow: 0 1px 0px $label-box-shadow | |
form label | |
@include form-labels | |
float: left | |
text-transform: uppercase | |
form h2 |