Sha256: bf2fbfd27a40b2f2d206cc97ee4d6f1acdd35685b331b025f81d2d1280bbf1f1

Contents?: true

Size: 893 Bytes

Versions: 4

Compression:

Stored size: 893 Bytes

Contents

<!DOCTYPE html>
<%
# encoding: utf-8
#
# This file is part of the clavem gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
#
%>
<html>
  <head>
    <title><%= @title %></title>
    <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap.no-icons.min.css"/>
    <script type="text/javascript"> close_window = (function(){ window.open("", "_self", ""); window.close(); })(); </script>
  </head>
  <body>
    <div class="container">
      <br/>
      <div class="alert alert-<%= @status == :success ? "success" : "error" %>">
        <h4><%= @title %></h4>
        <h1><%= @i18n.send(@status == :success ? :header_success : :header_failure) %></h1>
        <p><%= @i18n.close_message %></p>
      </div>
    </div>
  </body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
clavem-1.0.3 lib/clavem/template.html.erb
clavem-1.0.2 lib/clavem/template.html.erb
clavem-1.0.1 lib/clavem/template.html.erb
clavem-1.0.0 lib/clavem/template.html.erb