view 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
line wrap: on
line source

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
    <title><%= html_title %></title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <%= stylesheet_link_tag "application", :media => "all" %>
  </head>
  <body>
    <nav class="navbar navbar-default navbar-static-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-menu">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <%= link_to "Zeropaste", root_path, :class => "navbar-brand" %>
        </div>

        <div class="collapse navbar-collapse" id="navbar-menu">
          <ul class="nav navbar-nav navbar-right">
            <li>
              <a href="https://bitbucket.org/nanaya1/zeropaste"><%= t(".source") %></a>
            </li>
            <li>
              <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>
            </li>
         </ul>
         </div>
    </nav>

    <div class="container">
      <div class="row"><div class="col-xs-12">
        <h1 class="h2 zp-header page-header"><%= content_for :title %></h1>
      </div></div>

      <%= render "layouts/alerts" %>

      <%= yield %>

    </div>
    <%= javascript_include_tag "application" %>
  </body>
</html>