annotate app/views/layouts/application.html.erb @ 395:26f8c634052c

Complete rework.
author nanaya <me@myconan.net>
date Sat, 27 Jun 2015 14:46:01 +0900
parents 91dabc034389
children 851432f21603
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>
139
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
3 <head>
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
4 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
5 <title><%= html_title %></title>
259
5d084a9716ca Update basic layout and css.
edogawaconan <me@myconan.net>
parents: 222
diff changeset
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
139
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
7 <%= stylesheet_link_tag "application", :media => "all" %>
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
8 </head>
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
9 <body>
390
91dabc034389 Improved styling for show.
nanaya <me@myconan.net>
parents: 386
diff changeset
10 <%= yield(:before_page_header) %>
395
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 390
diff changeset
11 <header class="header">
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 390
diff changeset
12 <h1>
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 390
diff changeset
13 <%= link_to "Zeropaste", root_path %> / <%= content_for :title %>
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 390
diff changeset
14 </h1>
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 390
diff changeset
15
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 390
diff changeset
16 <p>
379
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents: 371
diff changeset
17 <a href="https://bitbucket.org/nanaya1/zeropaste">Source</a>.
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents: 371
diff changeset
18 <%= link_to 'Donate', 'https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=me%40myconan%2enet&lc=ID&item_name=Zeropaste%20development&currency_code=USD&bn=PP%2dDonationsBF%3abtn_subscribe_LG%2egif%3aNonHosted' %>.
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents: 371
diff changeset
19 </p>
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents: 371
diff changeset
20 </header>
139
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
21
386
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 385
diff changeset
22 <%= render "layouts/alerts" %>
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 385
diff changeset
23
395
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 390
diff changeset
24 <main class="main">
379
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents: 371
diff changeset
25 <%= yield %>
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents: 371
diff changeset
26 </main>
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
27
216
e043da06b85f Load javascript last.
Edho Arief <edho@myconan.net>
parents: 150
diff changeset
28 <%= javascript_include_tag "application" %>
139
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
29 </body>
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
30 </html>