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
shimoju
committed
Feb 27, 2013
1 parent
9f0c689
commit 8d7dac2
Showing
2 changed files
with
28 additions
and
41 deletions.
There are no files selected for viewing
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,28 @@ | ||
doctype html | ||
html id=controller.controller_name | ||
head | ||
title= @title ? "Zoomix / #{@title}" : 'Zoomix' | ||
= stylesheet_link_tag "application", :media => "all" | ||
= javascript_include_tag "application" | ||
= csrf_meta_tags | ||
body | ||
#wrapper | ||
header | ||
h1= link_to image_tag('logo.png', alt: 'Zoomix', width: 240), root_path | ||
p Always by your side. | ||
nav | ||
ul | ||
- if user_signed_in? | ||
li= link_to 'ログアウト', destroy_user_session_path, method: :delete | ||
- else | ||
li= link_to 'ログイン', user_omniauth_authorize_path(:twitter) | ||
#main | ||
= yield | ||
|
||
footer | ||
p © 2012 dbsh5th Web Apllication Team [#{link_to 'About Us', about_path}] | ||
|
||
- if notice | ||
p#notice= notice | ||
- if alert | ||
p#alert= alert |