Sha256: fff28858b209a419e1648918c9bc6bcfab396808b177e2ee7c1263fd5be05ff6

Contents?: true

Size: 1.93 KB

Versions: 10

Compression:

Stored size: 1.93 KB

Contents

!!!
%html{:lang => "en"}
  %head
    %meta{:charset => "utf-8"}
      %title
        = "#{website_title}- #{@page_title}" if @page_title
      %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
      %meta{:content => "", :name => "description"}
      %meta{:content => "", :name => "author"}
      = csrf_meta_tag
      / Le styles
      %link{:href => "/assets/gb_bootstrap.css", :rel => "stylesheet"}
      %link{:href => "/assets/gb_bootstrap-responsive.css", :rel => "stylesheet"}
      %link{:href => "/assets/gb_admin-override.css", :rel => "stylesheet"}
      :css
        body {
          padding-top: 60px;
          padding-bottom: 40px;
        }
        .sidebar-nav {
          padding: 9px 0;
        }
      /[if lt IE 9]
        <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>

  %body#login
    .container-fluid
      .row
        .span5.offset4
          = backend_logo("/assets/gb_logo.png" , {:height => "46px"})
          %h1#login_title
            = Gluttonberg::Setting.get_setting("title")

          %div#form.well
            %p
              This site is currently offline.
              %br
              If you have an access password, please enter it below.
            = form_tag restrict_site_access_path , :method => :get do
              = hidden_field_tag "return_url" ,params[:return_url]
              %fieldset
                .control-group
                  = password_field_tag 'password', nil, :class => "span4" , :value => "", :title=>"Password"
                .control-group
                  = submit_tag('Enter', :class => "btn btn-success", :disable_with => "Logging you in...")

          &copy;
          %a{:href => "http://freerangefuture.com", :target => "_blank"}
            Freerange Future
          2012



    %script{:src => "/assets/jquery.js"}
    %script{:src => "/assets/gb_bootstrap.js"}
    = javascript_include_tag "gb_login"
    = custom_javascript_include_tag

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gluttonberg-core-2.6.4 app/views/gluttonberg/public/pages/restrict_site_access.html.haml
gluttonberg-core-2.6.3 app/views/gluttonberg/public/pages/restrict_site_access.html.haml
gluttonberg-core-2.6.2 app/views/gluttonberg/public/pages/restrict_site_access.html.haml
gluttonberg-core-2.6.1 app/views/gluttonberg/public/pages/restrict_site_access.html.haml
gluttonberg-core-2.6.0 app/views/gluttonberg/public/pages/restrict_site_access.html.haml
gluttonberg-core-2.5.9 app/views/gluttonberg/public/pages/restrict_site_access.html.haml
gluttonberg-core-2.5.8 app/views/gluttonberg/public/pages/restrict_site_access.html.haml
gluttonberg-core-2.5.7 app/views/gluttonberg/public/pages/restrict_site_access.html.haml
gluttonberg-core-2.5.6 app/views/gluttonberg/public/pages/restrict_site_access.html.haml
gluttonberg-core-2.5.5 app/views/gluttonberg/public/pages/restrict_site_access.html.haml