Sha256: 2f2590b63aea2d53eb96af48815c6c5d1944ca9eefac0ea4205f9dabc4401272

Contents?: true

Size: 1.64 KB

Versions: 5

Compression:

Stored size: 1.64 KB

Contents

!!!5
%html
  %head
    %title Deltacloud API #{settings.version}
    %link{ :charset => "utf-8", :href => "/stylesheets/jquery.mobile-1.0.1.min.css", :media => "screen", :rel => "stylesheet", :type => "text/css"}
    %link{ :charset => "utf-8", :href => "/stylesheets/new.css", :media => "screen", :rel => "stylesheet", :type => "text/css"}
    %script{:type => "text/javascript", :src => "/javascripts/jquery.min.js" }
    %script{:type => "text/javascript", :src => "/javascripts/application.js" }
    %script{:type => "text/javascript", :src => "/javascripts/jquery.mobile-1.0.1.min.js" }
    :javascript
      $(document).ready(function() {
        $(document).bind("mobileinit", function(){
          $.mobile.ajaxEnabled = false;
          $.mobile.hashListeningEnabled = false;
        });
      })
  %body
    %div{ 'data-role' => :page, :'data-theme' => 'e', :class => :error }
      =header "#{response.status} - #{translate_error_code(response.status)[:message]}"
      - if @error
        =subheader @error.message
      - elsif response.status.to_s =~ /4(\d{2})/
        =subheader request.env['REQUEST_URI']
      = yield
      %div{ 'data-role' => :footer, :'data-theme' => 'a'}
        %div{ 'data-role' => :navbar}
          %ul
            %li
              %a{ :'data-icon' => 'home', :href => url_for(''), :'data-ajax' => 'false'} Home
            %li=link_to_format(:xml)
            %li=link_to_format(:json)
        %div{ 'data-role' => :header, 'data-theme' => 'a' }
          #copyright
            Copyright 2009-2011
            %a{:href => 'http://incubator.apache.org/deltacloud/'} The Apache Software Foundation
            and individual contributors.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
deltacloud-core-1.1.2 views/error.html.haml
deltacloud-core-1.1.1 views/error.html.haml
deltacloud-core-1.1.0 views/error.html.haml
deltacloud-core-1.0.5 views/error.html.haml
deltacloud-core-1.0.4 views/error.html.haml