!!! 1.1 %html{:xmlns => "http://www.w3.org/1999/xhtml", "xml:lang" => "en", :lang => "en"} %head %title= part[:title, 'Orange Site'] %link{:rel => "stylesheet", :type => "text/css", :href => "http://yui.yahooapis.com/3.0.0/build/cssreset/reset-min.css"} = part[:css] = part[:js] %link{:rel => "stylesheet", :type => "text/css", :href => "/assets/_sparkles_/js/markitup/skins/simple/style.css"} %link{:rel => "stylesheet", :type => "text/css", :href => "/assets/_sparkles_/js/markitup/sets/markdown/style.css"} %body{:id => packet["route.resource"].to_s} %div#header %div#user-status Welcome, #{packet["user"] ? packet["user"].name : "User"}! %a.orange-text{:href => "/logout"} Sign Out %p %a{:href => route_to(:users)} Manage Users | %a{:href => route_to(:orange_sites, packet["site"].id, "edit")} Site Settings %div#current-site-header %span Currently editing: %br %a.orange-text{:href => "/"}= packet['site'].name %div.tab-container / %a.tab#home-tab{:href => "#"} Home %a.tab#sitemap-tab{:href => route_to(:sitemap)} Pages - for link in (orange[:admin].links(packet)["tabs"] || []) %style= "body##{link[:resource]} a##{link[:resource]}-tab{ background: #999999;}" %a.tab{:id => "#{link[:resource]}-tab", :href => route_to(link[:resource])}= link[:text] %div#subheader %h1 %img.subhead-icon{:src => "/assets/_sparkles_/images/edit.png", :width => "23", :height => "22", :alt => "Pages icon"} = packet["page.title"] || packet["route.resource"].to_s.capitalize %div#page-content %div#box-container = yield %div#footer powered by %span.orange-text Sparkles*