blob: d0c876c81f877627d6a89201fbcec0de662577ee (
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
|
!!! xml
%html{xmlns: "http://www.w3.org/1999/xhtml"}
%head
%title= strip_tags(@title.to_s) + " - aclog"
= stylesheet_link_tag "application"
= javascript_include_tag "twitter"
= javascript_include_tag "application"
%body
.navbar.navbar-static-top
.navbar-inner
.container
.brand
= link_to "aclog", controller: "main", action: "index"
%ul.nav.pull-right
%li
= link_to "report", controller: "report", action: "index"
%li
= link_to "search", controller: "search", action: "search"
%li
= link_to "about", controller: "main", action: "about"
- if logged_in?
%li= link_to "logout", controller: "sessions", action: "destroy"
%li= link_to session[:account].user.screen_name, user_path(session[:account].user.screen_name)
- else
%li= link_to "login", "/i/login"
.container
= yield
|