!!!5 %html
%ead %itle Deltacloud API #{settings.version} %ink{ :charset => "utf-8", :href => "/stylesheets/jquery.mobile-1.0.1.min.css", :media => "screen", :rel => "stylesheet", :type => "text/css"} %ink{ :charset => "utf-8", :href => "/stylesheets/new.css", :media => "screen", :rel => "stylesheet", :type => "text/css"} %sript{: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 err =subheader err.message - elsif response.status.to_s =~ /4(\d{2})/ =subheader request.env['REQUEST_URI'] = yield %iv{ 'data-role' => :footer, :'data-theme' => 'a'} %iv{ 'data-role' => :navbar} %l %i %{ :'data-icon' => 'home', :href => url_for(''), :'data-ajax' => 'false'} Home %i=link_to_format(:xml) %i=link_to_format(:json) %iv{ 'data-role' => :header, 'data-theme' => 'a' } #copyright Copyright 2009-2011 %{:href => 'http://incubator.apache.org/deltacloud/'} The Apache Software Foundation and individual contributors.