Sha256: a5d5838edabd7c5d4e626d5e80612cfcdef2fcd663e64daa5144d3a57d333ac9
Contents?: true
Size: 1.65 KB
Versions: 4
Compression:
Stored size: 1.65 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 => api_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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
deltacloud-core-1.0.3 | views/error.html.haml |
deltacloud-core-1.0.2 | views/error.html.haml |
deltacloud-core-1.0.1 | views/error.html.haml |
deltacloud-core-1.0.0 | views/error.html.haml |