Newer
Older
-# Copyright (c) 2010, Disapora Inc. This file is
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
!!!
%html
%head
%title
= "#{current_user.real_name} | diaspora" if current_user
%meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
= stylesheet_link_tag "blueprint/screen", :media => 'screen'
Raphael
a validé
= stylesheet_link_tag "/../javascripts/fancybox/jquery.fancybox-1.3.1"
Daniel Vincent Grippi
a validé
= stylesheet_link_tag "fileuploader"
Raphael
a validé
/= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"
Daniel Vincent Grippi
a validé
= javascript_include_tag 'jquery-1.4.2.min', 'rails'
= javascript_include_tag 'jquery.infieldlabel', 'jquery.cycle/jquery.cycle.min.js'
= javascript_include_tag 'fancybox/jquery.fancybox-1.3.1.pack'
Daniel Vincent Grippi
a validé
= javascript_include_tag 'fileuploader'
Raphael
a validé
Daniel Vincent Grippi
a validé
= javascript_include_tag 'view', 'image_picker', 'stream'
= csrf_meta_tag
= yield(:head)
- flash.each do |name, msg|
= content_tag :div, msg, :id => "flash_#{name}"
.container{:style => "position:relative;"}
#diaspora_text{:href => root_path}
= link_to "DIASPORA*", root_path
%span.sub_text
PREVIEW
#session_action
%ul
%li#global_search
= form_tag(people_path, :method => 'get') do
%label{:for => 'q'} Search
= text_field_tag 'q'
%li= link_to current_user.real_name, current_user.person
%li= link_to "edit profile", edit_user_path(current_user)
%li= link_to "logout", destroy_user_session_path
= render "shared/sub_header"
.span-5.last
.span-19.last
= yield
.span-19.prepend-5.last