about summary refs log tree commit diff stats
path: root/app/views/layouts/quotes.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/quotes.html.haml')
-rw-r--r--app/views/layouts/quotes.html.haml31
1 files changed, 31 insertions, 0 deletions
diff --git a/app/views/layouts/quotes.html.haml b/app/views/layouts/quotes.html.haml new file mode 100644 index 0000000..6d89d91 --- /dev/null +++ b/app/views/layouts/quotes.html.haml
@@ -0,0 +1,31 @@
1!!! 5
2%html
3 %head
4 %title The Four Island Quotes DB
5 %meta{ :charset => "utf-8" }
6 = stylesheet_link_tag "quotes"
7 = javascript_include_tag "application"
8 = csrf_meta_tag
9 = auto_discovery_link_tag :atom, latest_quotes_url(:atom)
10 %body
11 #wrap
12 %header#banner
13 %h1#banner-title= link_to "The Four Island Quotes DB", root_path
14 #banner-abbr FIQDB
15 .cleardiv
16 %nav#top-bar
17 %ul
18 %li= link_to_unless_current "Home", quotes_url
19 %li= link_to_unless_current "Latest", latest_quotes_url
20 %li= link_to_unless_current "Top", top_quotes_url
21 %li= link_to_unless_current "Tags", tags_quotes_url
22 %li= link_to_unless_current "Feed", latest_quotes_url(:atom)
23 .cleardiv
24 #page-body
25 - if flash[:notice]
26 #flash= flash[:notice]
27 = yield
28 %footer
29 #footer-left= raw "The Four Island Quotes DB is a #{link_to "Four Island", root_url} project and is © hatkirby 2008-#{Time.now.year}"
30 #footer-right #{Quote.published.count} approved quotes; #{Quote.pending.count} pending quotes
31 .cleardiv