diff options
author | Rhenium <rhenium@rhe.jp> | 2013-11-16 08:41:56 +0900 |
---|---|---|
committer | Rhenium <rhenium@rhe.jp> | 2013-11-16 08:41:56 +0900 |
commit | c35a0bb22e422c67f9f13fca491195bcf8d4cab7 (patch) | |
tree | dbdf87700329ad88a14ddbf41bd9bb6814259f36 /app/views/layouts/_base.html.haml | |
parent | 48f70e75859f70bce7fe43f34b7e40094fc85b5c (diff) | |
download | aclog-c35a0bb22e422c67f9f13fca491195bcf8d4cab7.tar.gz |
fix navbar design
Diffstat (limited to 'app/views/layouts/_base.html.haml')
-rw-r--r-- | app/views/layouts/_base.html.haml | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/app/views/layouts/_base.html.haml b/app/views/layouts/_base.html.haml index 529da66..7b90d14 100644 --- a/app/views/layouts/_base.html.haml +++ b/app/views/layouts/_base.html.haml @@ -9,17 +9,18 @@ %meta{name: "viewport", content: "width=device-width, initial-scale=1.0"} %body .navbar.navbar-static-top - .navbar-header - = link_to "aclog", root_path, class: "navbar-brand" - .navbar-collapse.collapse - %ul.nav.navbar-nav.navbar-right - %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" + .container + .navbar-header + = link_to "aclog", root_path, class: "navbar-brand" + .navbar-collapse.collapse + %ul.nav.navbar-nav.navbar-right + %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" .container = yield |