Mercurial > zeropaste
annotate app/views/layouts/application.html.erb @ 110:e8c632b0eb80
Check if current location is a show paste before triggering tabs js.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Mon, 12 Nov 2012 12:31:43 +0700 |
parents | d100218b96c9 |
children | 255f8f9455a0 |
rev | line source |
---|---|
0 | 1 <!DOCTYPE html> |
2 <html> | |
3 <head> | |
64
04164da6c12c
Added document level character encoding as per validator's suggestion.
Edho Arief <edho@myconan.net>
parents:
61
diff
changeset
|
4 <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> |
26 | 5 <title><%= html_title %></title> |
0 | 6 <%= stylesheet_link_tag "application", :media => "all" %> |
7 <%= javascript_include_tag "application" %> | |
90
d100218b96c9
Disables csrf for pastes/show.
Edho Arief <edho@myconan.net>
parents:
64
diff
changeset
|
8 <% unless @skip_csrf %> |
d100218b96c9
Disables csrf for pastes/show.
Edho Arief <edho@myconan.net>
parents:
64
diff
changeset
|
9 <%= csrf_meta_tags %> |
d100218b96c9
Disables csrf for pastes/show.
Edho Arief <edho@myconan.net>
parents:
64
diff
changeset
|
10 <% end %> |
0 | 11 </head> |
12 <body> | |
13 | |
25 | 14 <div class="container-fluid"> |
15 <div class="row-fluid"> | |
16 <div class="span12"> | |
17 <%= yield %> | |
18 </div> | |
19 </div> | |
20 </div> | |
27 | 21 <footer class="footer"> |
22 <div class="container-fluid"> | |
23 <div class="row-fluid"> | |
24 <div class="span12"> | |
25 <hr> | |
61
d32e532a8f1a
Added link to source repository.
Edho Arief <edho@myconan.net>
parents:
27
diff
changeset
|
26 <p>Zeropaste © edogawaconan 2012. <a href="https://bitbucket.org/edogawaconan/zeropaste">Source</a>.</p> |
27 | 27 </div> |
28 </div> | |
29 </div> | |
30 </footer> | |
0 | 31 |
32 </body> | |
33 </html> |