lucene icons added, styling fixed

This commit is contained in:
Christoph Haas 2025-05-09 00:40:15 +02:00
parent 9164e2a636
commit d76bf164f1
1604 changed files with 25511 additions and 105 deletions

View file

@ -1,19 +1,23 @@
.menu-centered
ul.menu.icon-top
ul.menu.icons.icon-top
li class=('active' if action_name=='profile')
= link_to my_profile_path
= fa_icon 'user-o 2x', text: 'Myself'
= icon ('user')
' Myself
li class=('active' if action_name=='screenshots')
= link_to my_screenshots_path
= fa_icon 'camera 2x', text: 'Screenshots'
= icon 'camera'
'Screenshots
- if can?(:approve, Screenshot)
li class=('active' if action_name=='moderate_list')
= link_to moderate_list_path
= fa_icon 'check 2x', text: 'Moderate'
= icon 'check'
'Moderate
- if can? :view, Log
li class=('active' if action_name=='logs')
= link_to logs_path
= fa_icon 'book 2x', text: 'Logs'
= icon 'book'
'Logs
// Add link if user has uploaded screenshots
/ - if @current_users_screenshots and @current_users_screenshots.any?
@ -22,6 +26,9 @@
/ = fa_icon 'image 2x', text: 'My uploads'
/ ' My uploads
li
= link_to destroy_user_session_path, data: { turbo_method: :delete }
= fa_icon 'lock 2x', text: 'Logout'
/ BUG: DELETE method is not used
- if current_user
li
= link_to destroy_user_session_path, data: { turbo_method: :delete }
= icon 'lock'
'Logout