Add pure css grids
This commit is contained in:
parent
f217f07a83
commit
a1b3326b73
1 changed files with 14 additions and 11 deletions
|
@ -7,14 +7,17 @@
|
||||||
= javascript_include_tag 'application', 'data-turbolinks-track' => true
|
= javascript_include_tag 'application', 'data-turbolinks-track' => true
|
||||||
= csrf_meta_tags
|
= csrf_meta_tags
|
||||||
%body
|
%body
|
||||||
.pure-menu.pure-menu-horizontal
|
.pure-g
|
||||||
%ul.pure-menu-list
|
.pure-u-1
|
||||||
- if current_user
|
.pure-menu.pure-menu-horizontal
|
||||||
%li.pure-menu-item
|
%ul.pure-menu-list
|
||||||
= link_to current_user.name.capitalize, current_user, class: "pure-menu-link"
|
- if current_user
|
||||||
%li.pure-menu-item
|
%li.pure-menu-item
|
||||||
= link_to "New Transaction", new_transaction_path, class: "pure-menu-link"
|
= link_to current_user.name.capitalize, current_user, class: "pure-menu-link"
|
||||||
- else
|
%li.pure-menu-item
|
||||||
= link_to "Sign in", user_omniauth_authorize_path(:zeuswpi), class: "pure-menu-link" unless current_user
|
= link_to "New Transaction", new_transaction_path, class: "pure-menu-link"
|
||||||
= render 'partials/flash'
|
- else
|
||||||
= yield
|
= link_to "Sign in", user_omniauth_authorize_path(:zeuswpi), class: "pure-menu-link" unless current_user
|
||||||
|
.pure-u-1
|
||||||
|
= render 'partials/flash'
|
||||||
|
= yield
|
||||||
|
|
Loading…
Reference in a new issue