-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
1,468 additions
and
255 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
class StaticPagesController < ApplicationController | ||
def home | ||
end | ||
|
||
def help | ||
end | ||
|
||
def about | ||
def show | ||
render :action => params[:page] | ||
end | ||
end |
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,2 +1,10 @@ | ||
module ApplicationHelper | ||
def full_title(page_title) | ||
base_title = "Ruby on Rails Tutorial Sample App" | ||
if page_title.empty? | ||
base_title | ||
else | ||
"#{base_title} | #{page_title}" | ||
end | ||
end | ||
end |
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,2 +1,5 @@ | ||
module StaticPagesHelper | ||
def static_page_path(page) | ||
"pages/" + page | ||
end | ||
end |
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 was deleted.
Oops, something went wrong.
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,36 @@ | ||
/* ----------------------------------------------------------------------- | ||
Blueprint CSS Framework 1.0.1 | ||
http://blueprintcss.org | ||
* Copyright (c) 2007-Present. See LICENSE for more info. | ||
* See README for instructions on how to use Blueprint. | ||
* For credits and origins, see AUTHORS. | ||
* This is a compressed file. See the sources in the 'src' directory. | ||
----------------------------------------------------------------------- */ | ||
|
||
/* ie.css */ | ||
body {text-align:center;} | ||
.container {text-align:left;} | ||
* html .column, * html .span-1, * html .span-2, * html .span-3, * html .span-4, * html .span-5, * html .span-6, * html .span-7, * html .span-8, * html .span-9, * html .span-10, * html .span-11, * html .span-12, * html .span-13, * html .span-14, * html .span-15, * html .span-16, * html .span-17, * html .span-18, * html .span-19, * html .span-20, * html .span-21, * html .span-22, * html .span-23, * html .span-24 {display:inline;overflow-x:hidden;} | ||
* html legend {margin:0px -8px 16px 0;padding:0;} | ||
sup {vertical-align:text-top;} | ||
sub {vertical-align:text-bottom;} | ||
html>body p code {*white-space:normal;} | ||
hr {margin:-8px auto 11px;} | ||
img {-ms-interpolation-mode:bicubic;} | ||
.clearfix, .container {display:inline-block;} | ||
* html .clearfix, * html .container {height:1%;} | ||
fieldset {padding-top:0;} | ||
legend {margin-top:-0.2em;margin-bottom:1em;margin-left:-0.5em;} | ||
textarea {overflow:auto;} | ||
label {vertical-align:middle;position:relative;top:-0.25em;} | ||
input.text, input.title, textarea {background-color:#fff;border:1px solid #bbb;} | ||
input.text:focus, input.title:focus {border-color:#666;} | ||
input.text, input.title, textarea, select {margin:0.5em 0;} | ||
input.checkbox, input.radio {position:relative;top:.25em;} | ||
form.inline div, form.inline p {vertical-align:middle;} | ||
form.inline input.checkbox, form.inline input.radio, form.inline input.button, form.inline button {margin:0.5em 0;} | ||
button, input.button {position:relative;top:0.25em;} |
Binary file added
BIN
+655 Bytes
vendor/assets/stylesheets/blueprint/plugins/buttons/icons/cross.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions
32
vendor/assets/stylesheets/blueprint/plugins/buttons/readme.txt
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,32 @@ | ||
Buttons | ||
|
||
* Gives you great looking CSS buttons, for both <a> and <button>. | ||
* Demo: particletree.com/features/rediscovering-the-button-element | ||
|
||
|
||
Credits | ||
---------------------------------------------------------------- | ||
|
||
* Created by Kevin Hale [particletree.com] | ||
* Adapted for Blueprint by Olav Bjorkoy [bjorkoy.com] | ||
|
||
|
||
Usage | ||
---------------------------------------------------------------- | ||
|
||
1) Add this plugin to lib/settings.yml. | ||
See compress.rb for instructions. | ||
|
||
2) Use the following HTML code to place the buttons on your site: | ||
|
||
<button type="submit" class="button positive"> | ||
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save | ||
</button> | ||
|
||
<a class="button" href="/password/reset/"> | ||
<img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password | ||
</a> | ||
|
||
<a href="#" class="button negative"> | ||
<img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel | ||
</a> |
Oops, something went wrong.