admin/logs viewer implemented
This commit is contained in:
parent
79bf7a2276
commit
b1dbcef80b
8 changed files with 27 additions and 15 deletions
|
|
@ -42,16 +42,19 @@ nav.top-bar
|
|||
// TODO: Check correct classes in Zurb/Foundation for top bar!
|
||||
- if user_signed_in? and current_user.is_admin?
|
||||
li.menu-text
|
||||
a href='#' Admin
|
||||
/ ul.menu.vertical
|
||||
/ li = link_to 'Moderate', moderate_path
|
||||
/ li = link_to 'Logs', logs_path
|
||||
ul.menu.dropdown data-dropdown-menu=true
|
||||
li
|
||||
a href='#' Admin
|
||||
ul.menu
|
||||
/ li = link_to 'Health', admin_health_path
|
||||
li = link_to 'Logs', admin_logs_path
|
||||
/ li = link_to 'Users', admin_users_pathlogs_path
|
||||
.top-bar-right
|
||||
ul.menu
|
||||
li.menu-text class=('active' if controller_name=='my')
|
||||
- if user_signed_in?
|
||||
= link_to my_profile_path
|
||||
= image_tag "/images/sso/icons/#{current_user.provider}.svg", width: 20
|
||||
/ = image_tag "/images/sso/icons/#{current_user.provider}.svg", width: 20
|
||||
' My
|
||||
- else
|
||||
= link_to 'Login', new_user_session_path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue