Sha256: a50b7c1d7331fb3cf722fef84d5163583a3b3cccf712a6d20394d6c51fea121a

Contents?: true

Size: 911 Bytes

Versions: 8

Compression:

Stored size: 911 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.template.send(@status == :success ? :header_success : :header_failure) %></h1>
        <p><%= @i18n.template.close_message %></p>
      </div>
    </div>
  </body>
</html>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
clavem-1.4.0 lib/clavem/template.html.erb
clavem-1.3.1 lib/clavem/template.html.erb
clavem-1.3.0 lib/clavem/template.html.erb
clavem-1.2.2 lib/clavem/template.html.erb
clavem-1.2.1 lib/clavem/template.html.erb
clavem-1.2.0 lib/clavem/template.html.erb
clavem-1.1.1 lib/clavem/template.html.erb
clavem-1.1.0 lib/clavem/template.html.erb