remove icons on topbar because they are vertically strangely aligned
This commit is contained in:
parent
36e5187f1e
commit
823f427760
1 changed files with 7 additions and 7 deletions
|
|
@ -11,22 +11,22 @@ nav.top-bar
|
|||
// TODO: Make the logo depend on the virtual host
|
||||
// TODO: Use proper distribution name
|
||||
span style="font-weight: bold"
|
||||
' Debian Screenshots >
|
||||
'Debian Screenshots
|
||||
|
||||
/ .top-bar-right
|
||||
/ ul.menu
|
||||
li.menu-text class=('active' if controller_name=='welcome' and action_name=='home')
|
||||
a href="/"
|
||||
i.fa.fa-home
|
||||
/ = icon 'house'
|
||||
span< Home
|
||||
li.menu-text class=('active' if controller_name=='packages' and request.fullpath != packages_without_path)
|
||||
a href="/packages"
|
||||
i.fa.fa-camera
|
||||
/ = icon 'book-image'
|
||||
span< Browse
|
||||
/ TODO: highlights the "Browse" tab (even) when you click on Upload
|
||||
li.menu-text class=('active' if request.fullpath == packages_without_path)
|
||||
=link_to :packages_without
|
||||
i.fa.fa-upload
|
||||
/ = icon 'image-up'
|
||||
span< Upload
|
||||
//li.has-dropdown
|
||||
//a href="#" Distributions
|
||||
|
|
@ -38,7 +38,7 @@ nav.top-bar
|
|||
//a href="#" Ubuntu
|
||||
li.menu-text class=('active' if controller_name=='welcome' and action_name=='about')
|
||||
a href="/about"
|
||||
i.fa.fa-info-circle
|
||||
/ = icon 'info'
|
||||
span< About/Privacy
|
||||
// TODO: Check correct classes in Zurb/Foundation for top bar!
|
||||
/- if user_signed_in? and current_user.is_admin? and Package.need_moderation.any?
|
||||
|
|
@ -59,11 +59,11 @@ nav.top-bar
|
|||
- if user_signed_in?
|
||||
= link_to my_profile_path
|
||||
/ = image_tag "/images/sso/icons/#{current_user.provider}.svg", width: 20
|
||||
i.fa.fa-key
|
||||
/ = icon 'user-round'
|
||||
span< My
|
||||
- else
|
||||
= link_to new_user_session_path
|
||||
i.fa.fa-key
|
||||
/ = icon 'user-round'
|
||||
span< Login
|
||||
|
||||
- if @moderate_packages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue