comparison 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
comparison
equal deleted inserted replaced
394:6feb8c2574a1 395:26f8c634052c
6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <%= stylesheet_link_tag "application", :media => "all" %> 7 <%= stylesheet_link_tag "application", :media => "all" %>
8 </head> 8 </head>
9 <body> 9 <body>
10 <%= yield(:before_page_header) %> 10 <%= yield(:before_page_header) %>
11 <header> 11 <header class="header">
12 <h1><%= content_for :title %></h1> 12 <h1>
13 <p class="credit"> 13 <%= link_to "Zeropaste", root_path %> / <%= content_for :title %>
14 Zeropaste. 14 </h1>
15
16 <p>
15 <a href="https://bitbucket.org/nanaya1/zeropaste">Source</a>. 17 <a href="https://bitbucket.org/nanaya1/zeropaste">Source</a>.
16 <%= 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' %>. 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' %>.
17 </p> 19 </p>
18 </header> 20 </header>
19 21
20 <%= render "layouts/alerts" %> 22 <%= render "layouts/alerts" %>
21 23
22 <main> 24 <main class="main">
23 <%= yield %> 25 <%= yield %>
24 </main> 26 </main>
25 27
26 <%= javascript_include_tag "application" %> 28 <%= javascript_include_tag "application" %>
27 </body> 29 </body>