!!!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).bind("mobileinit", function(){
        $.mobile.hashListeningEnabled = false;
    })
%body
  %div{ 'data-role' => :page }
    = yield
    %div{ 'data-role' => :footer, :'data-theme' => 'a'}
      %div{ 'data-role' => :navbar}
        %ul
          %li
            %a{ :'data-icon' => 'home', :href => "#{url_for('').chomp("/")}", :'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.