blob: 16c7c00e7490a91bfc08827ff2d3b1b0995005c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
!!! xml
%html{xmlns: "http://www.w3.org/1999/xhtml"}
%head
%title= yield :title
= stylesheet_link_tag "application", media: "all"
= stylesheet_link_tag params[:controller], media: "all"
= javascript_include_tag "application"
= javascript_include_tag params[:controller]
%meta{name: "viewport", content: "width=600px"}
- if @next_url
%link{rel: "next", href: @next_url}
- if @prev_url
%link{rel: "prev", href: @prev_url}
%body
.navbar.navbar-default.navbar-static-top
.container
.navbar-header
= link_to "aclog", root_path, class: "navbar-brand"
.navbar-right
%ul.nav.navbar-nav
%li
= link_to "about", about_path
- if logged_in?
%li= link_to "settings", settings_path
%li= link_to "logout", logout_path
%li= link_to "@" + session[:account].user.screen_name, user_path(session[:account].user.screen_name)
- else
%li= link_to "login", "/i/login?redirect_after_login=" + CGI.escape(request.fullpath)
.container
= yield
|