comparison app/views/layouts/application.html.erb @ 398:851432f21603

Nope, failing at redesigning.
author nanaya <me@myconan.net>
date Sun, 06 Sep 2015 03:52:52 +0900
parents 26f8c634052c
children f3cdc83b87b4
comparison
equal deleted inserted replaced
395:26f8c634052c 398:851432f21603
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> 4 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
5 <title><%= html_title %></title> 5 <title><%= html_title %></title>
6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 6 <meta name="viewport" content="width=device-width, initial-scale=1">
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 <nav class="navbar navbar-default navbar-static-top">
11 <header class="header"> 11 <div class="container">
12 <h1> 12 <div class="navbar-header">
13 <%= link_to "Zeropaste", root_path %> / <%= content_for :title %> 13 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-menu">
14 </h1> 14 <span class="sr-only">Toggle navigation</span>
15 <span class="icon-bar"></span>
16 <span class="icon-bar"></span>
17 <span class="icon-bar"></span>
18 </button>
19 <%= link_to "Zeropaste", root_path, :class => "navbar-brand" %>
20 </div>
15 21
16 <p> 22 <div class="collapse navbar-collapse" id="navbar-menu">
17 <a href="https://bitbucket.org/nanaya1/zeropaste">Source</a>. 23 <ul class="nav navbar-nav navbar-right">
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' %>. 24 <li>
19 </p> 25 <a href="https://bitbucket.org/nanaya1/zeropaste"><%= t(".source") %></a>
20 </header> 26 </li>
27 <li>
28 <a href="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"><%= t(".donate") %></a>
29 </li>
30 </ul>
31 </div>
32 </nav>
21 33
22 <%= render "layouts/alerts" %> 34 <div class="container">
35 <div class="row"><div class="col-xs-12">
36 <h1 class="h2 zp-header page-header"><%= content_for :title %></h1>
37 </div></div>
23 38
24 <main class="main"> 39 <%= render "layouts/alerts" %>
40
25 <%= yield %> 41 <%= yield %>
26 </main>
27 42
43 </div>
28 <%= javascript_include_tag "application" %> 44 <%= javascript_include_tag "application" %>
29 </body> 45 </body>
30 </html> 46 </html>