!!! 5
%html{:lang=>'en'}
%head
%meta{:charset=>"utf-8"}
%title Stomp Box
%link{:rel=>"stylesheet", :type=>"text/css", :href=>"#{to('css/html5reset.css')}"}
%link{:rel=>"stylesheet", :type=>"text/css", :href=>"#{to('css/styles.css')}"}
%link{:rel=>"stylesheet", :type=>"text/css", :href=>"#{to('css/facebox.css')}"}
%script{:src=>"https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"}
%script{:src=>"#{to('javascript/facebox.js')}"}
:javascript
$.facebox.settings.closeImage = "#{to('/images/closelabel.png')}"
$.facebox.settings.loadingImage = "#{to('/images/loading.gif')}"
jQuery(document).ready(function($) { $('a[rel*=facebox]').facebox() })
/[if IE]
%script{:src=>"http://html5shiv.googlecode.com/svn/trunk/html5.js"}
%style{:type=>"text/css"} .clear { zoom: 1; display: block; }
%body
.container
#header
.menu{:style=>'float:right;display:inline-block'}
%a{:href=>home_path} Dashboard
\|
%a{:href=>to("repositories")} Repositories
\|
%a{:href=>"#push-popup", :rel=>'facebox'}
GitHub Push URL
- if ENV['REQUIRE_AUTHENTICATION']
\|
%a{:href=>to("logout")} Logout
#push-popup{:style=>'display:none'}
#push-url= push_path
%h1 TorqueBox::StompBox
#content
= yield
- [:error, :notice].each do |level|
- if flash.has? level
.flash{:class=>level}= flash[level]
%footer#footer
This software brought to you by
%a{:href=>'http://projectodd.org'} project : odd