diff app/views/layouts/application.html.erb @ 379:2ad092e60975

[mq]: new-design
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 02:35:12 +0900
parents 62f2a4b27af6
children bfc5ad3f7dc5
line wrap: on
line diff
--- a/app/views/layouts/application.html.erb	Sat Jun 06 22:36:32 2015 +0900
+++ b/app/views/layouts/application.html.erb	Sun Jun 07 02:35:12 2015 +0900
@@ -7,22 +7,18 @@
     <%= stylesheet_link_tag    "application", :media => "all" %>
   </head>
   <body>
-
-    <div id="wrap">
-      <div class="container">
-        <%= yield %>
-      </div>
-    </div>
+    <header>
+      <h1><%= content_for :title %></h1>
+      <p class="credit">
+       Zeropaste.
+       <a href="https://bitbucket.org/nanaya1/zeropaste">Source</a>.
+       <%= 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' %>.
+      </p>
+    </header>
 
-    <div id="footer">
-      <div class="container">
-        <p class="text-muted credit">
-         Zeropaste.
-         <a href="https://bitbucket.org/nanaya1/zeropaste">Source</a>.
-         <%= 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' %>.
-        </p>
-      </div>
-    </div>
+    <main>
+      <%= yield %>
+    </main>
 
     <%= javascript_include_tag "//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" %>
     <%= javascript_include_tag "application" %>