Sha256: 1819caa124440b910c1b7d5fc6a4fca5048ca92eb6e4d8eb8a8f0e8b29f0812f

Contents?: true

Size: 1.66 KB

Versions: 5

Compression:

Stored size: 1.66 KB

Contents

%div{ :'data-role' => :content, :'data-theme' => 'b'}
  %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'e'}
    %li{ :'data-role' => 'list-divider'} Server message
    %li
      %h3 Authentication Failure
    %li{ :'data-role' => 'list-divider'} Original request URI
    %li
      %a{ :href => request.env['REQUEST_URI'], :'data-ajax' => 'false'}
        %span=request.env['REQUEST_URI']
        %span{ :class => 'ui-li-count'} Retry
    %li{ :'data-role' => 'list-divider'} Error details
    %li
      - if @error.class.method_defined? :details
        %p= @error.details
      - else
        %em No details

  - if @error.class.method_defined? :backtrace
    %div{ 'data-role' => :collapsible, 'data-collapsed' => "true"}
      %h3 Backtrace
      %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'e'}
        %li
          %pre=@error.backtrace.join("\n")

  %div{ 'data-role' => :collapsible, 'data-collapsed' => "true"}
    %h3 Parameters
    %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'e'}
      - if params.keys.empty?
        %li{ :'data-role' => 'list-divider'} No parameters
      - params.each do |key, value|
        %li{ :'data-role' => 'list-divider'}=key
        %li
          %span{:style => 'font-weight:normal;'}=value.inspect


  %div{ 'data-role' => :collapsible, 'data-collapsed' => "true"}
    %h3 Request details
    %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'e'}
      - request.env.each do |key, value|
        %li{ :'data-role' => 'list-divider'}=key
        %li
          %span{:style => 'font-weight:normal;'}=value.to_s

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
deltacloud-core-1.0.4 views/errors/401.html.haml
deltacloud-core-1.0.3 views/errors/401.html.haml
deltacloud-core-1.0.2 views/errors/401.html.haml
deltacloud-core-1.0.1 views/errors/401.html.haml
deltacloud-core-1.0.0 views/errors/401.html.haml