view app/views/layouts/application.html.erb @ 229:388504e43bcf

Properly return 404 when requesting invalid paste.
author Edho Arief <edho@myconan.net>
date Wed, 15 May 2013 14:10:35 +0900
parents 9bc35555d3e3
children 5d084a9716ca
line wrap: on
line source

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
    <title><%= html_title %></title>
    <%= stylesheet_link_tag    "application", :media => "all" %>
  </head>
  <body>

    <div class="container-fluid">
      <div class="row-fluid">
        <div class="span12">

          <%= yield %>

          <div class="footer">
            <hr />
            <p>
             Zeropaste &copy; edogawaconan 2012.
             <a href="https://bitbucket.org/edogawaconan/zeropaste">Source</a>.
             <%= link_to 'Donate', 'https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=edho%40myconan%2enet&lc=ID&item_name=Zeropaste%20development&currency_code=USD&bn=PP%2dDonationsBF%3abtn_subscribe_LG%2egif%3aNonHosted' %>.
            </p>
          </div>
        </div>
      </div>
    </div>

    <%= javascript_include_tag "//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" %>
    <%= javascript_include_tag "application" %>
  </body>
</html>