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