Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b3da6f6254
Fetching contributors…

Cannot retrieve contributors at this time

53 lines (52 sloc) 1.829 kb
!!!
%html
%head
%meta{ :charset => 'utf-8' }
%title
&= @title || settings.pagetitle
%link{ :rel => 'stylesheet', :href => '/stylesheet.css' }
%link{ :rel => 'stylesheet', :href => '/css/ui-lightness/jquery-ui-1.8.21.custom.css' }
%link{ :rel => 'shortcut icon', :href => '/images/favicon.png' }
%link{ :rel => 'alternate', :href => '/feed', :type => 'application/rss+xml', :title => "#{settings.pagetitle} New items" }
%link{ :rel => 'alternate', :href => '/feed/nsfw', :type => 'application/rss+xml', :title => "#{settings.pagetitle} New items (NSFW!)" }
%script{ :src => '/js/jquery-1.7.2.js' }
%script{ :src => '/js/ui/jquery-ui-1.8.21.custom.js' }
%script{ :src => '/js/livequery.js' }
%script{ :src => '/js/form.js' }
%script{ :src => '/js/expander.js' }
%script{ :src => '/js/fancybox.js' }
%script{ :src => '/js/easing.js' }
%script{ :src => '/js/mousewheel.js' }
%script{ :src => '/js/zeitgeist.js' }
- if @autoload
:javascript
jQuery(function() {
$('a.fancy:#{@autoload}').trigger('click');
});
%body
- if flash[:error]
%div{ :class => 'error message' }
%p
= h flash[:error]
- if flash[:notice]
%div{ :class => 'success message' }
%p
= h flash[:notice]
%div#dump
#sitenav
%a{ :href => '/new', :class => 'fancynav' } Add
|
%a{ :href => '/search', :class => 'fancynav' } Search
|
- if logged_in?
%a{ :href => '/logout' } Logout
|
%a{ :href => '/users/%d/edit' % current_user.id } Edit Profile
- else
%a{ :href => '/login', :class => 'fancynav' } Login
= partial(:_header)
#wrapper
= partial(:_navigation)
= yield
%div.clear
= partial(:_footer)
Jump to Line
Something went wrong with that request. Please try again.