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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 <!DOCTYPE html>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
2 <html>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
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
a8b0775798c3 Added title.
Edho Arief <edho@myconan.net>
parents: 25
diff changeset
5 <title><%= html_title %></title>
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
6 <%= stylesheet_link_tag "application", :media => "all" %>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
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
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
11 </head>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
12 <body>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
13
25
faf30647205e Use bootstrap.
Edho Arief <edho@myconan.net>
parents: 0
diff changeset
14 <div class="container-fluid">
faf30647205e Use bootstrap.
Edho Arief <edho@myconan.net>
parents: 0
diff changeset
15 <div class="row-fluid">
faf30647205e Use bootstrap.
Edho Arief <edho@myconan.net>
parents: 0
diff changeset
16 <div class="span12">
faf30647205e Use bootstrap.
Edho Arief <edho@myconan.net>
parents: 0
diff changeset
17 <%= yield %>
faf30647205e Use bootstrap.
Edho Arief <edho@myconan.net>
parents: 0
diff changeset
18 </div>
faf30647205e Use bootstrap.
Edho Arief <edho@myconan.net>
parents: 0
diff changeset
19 </div>
faf30647205e Use bootstrap.
Edho Arief <edho@myconan.net>
parents: 0
diff changeset
20 </div>
27
108e8d6fd0d5 Added copyright notice.
Edho Arief <edho@myconan.net>
parents: 26
diff changeset
21 <footer class="footer">
108e8d6fd0d5 Added copyright notice.
Edho Arief <edho@myconan.net>
parents: 26
diff changeset
22 <div class="container-fluid">
108e8d6fd0d5 Added copyright notice.
Edho Arief <edho@myconan.net>
parents: 26
diff changeset
23 <div class="row-fluid">
108e8d6fd0d5 Added copyright notice.
Edho Arief <edho@myconan.net>
parents: 26
diff changeset
24 <div class="span12">
108e8d6fd0d5 Added copyright notice.
Edho Arief <edho@myconan.net>
parents: 26
diff changeset
25 <hr>
61
d32e532a8f1a Added link to source repository.
Edho Arief <edho@myconan.net>
parents: 27
diff changeset
26 <p>Zeropaste &copy; edogawaconan 2012. <a href="https://bitbucket.org/edogawaconan/zeropaste">Source</a>.</p>
27
108e8d6fd0d5 Added copyright notice.
Edho Arief <edho@myconan.net>
parents: 26
diff changeset
27 </div>
108e8d6fd0d5 Added copyright notice.
Edho Arief <edho@myconan.net>
parents: 26
diff changeset
28 </div>
108e8d6fd0d5 Added copyright notice.
Edho Arief <edho@myconan.net>
parents: 26
diff changeset
29 </div>
108e8d6fd0d5 Added copyright notice.
Edho Arief <edho@myconan.net>
parents: 26
diff changeset
30 </footer>
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
31
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
32 </body>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
33 </html>