diff 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
line wrap: on
line diff
--- a/app/views/layouts/application.html.erb	Mon Jun 08 19:14:53 2015 +0900
+++ b/app/views/layouts/application.html.erb	Sat Jun 27 14:46:01 2015 +0900
@@ -8,10 +8,12 @@
   </head>
   <body>
     <%= yield(:before_page_header) %>
-    <header>
-      <h1><%= content_for :title %></h1>
-      <p class="credit">
-       Zeropaste.
+    <header class="header">
+      <h1>
+        <%= link_to "Zeropaste", root_path %> / <%= content_for :title %>
+      </h1>
+
+      <p>
        <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>
@@ -19,7 +21,7 @@
 
     <%= render "layouts/alerts" %>
 
-    <main>
+    <main class="main">
       <%= yield %>
     </main>