Restyling

This commit is contained in:
Christoph Haas 2018-06-27 18:43:08 +02:00
parent 9d6baa20e5
commit 06b8f92963
21 changed files with 492 additions and 493 deletions

View file

@ -1,4 +1,4 @@
.row
.grid-container
= render partial: 'menu'

View file

@ -2,7 +2,7 @@
/ = link_to 'Back', :back, class: 'button small'
.row.packagepage
.grid-container.packagepage
h1 Screenshots you uploaded
- @packages.each do |package|
@ -12,7 +12,7 @@
.small-9.large-10.columns
- if @current_users_screenshots.length>0
.row.small-up-1.medium-up-3.large-up-4.grid-thumbnails
.grid-x.small-up-1.medium-up-3.large-up-4.grid-thumbnails
- @current_users_screenshots.each do |screenshot|
.column

View file

@ -1,24 +1,21 @@
.row
= render partial: 'menu'
.small-8.columns.small-centered
.small-8.columns.small-centered
.callout.success
h1 Welcome
- if current_user.provider == 'debian-sso'
p
'You have just logged in using your Debian SSO certificate which proves that
'you are associated to the Debian project. So you are invited to upload any
'screenshots. Your uploads will instantly be published and visible in applications
'and web sites that use this service.
- else
p
'You are now logged in. We will associate all your future uploads of screenshots
'with your account. So others can see what you contributed to this site.
.callout.success
h1 Welcome
- if current_user.provider == 'debian-sso'
p
' If you want to help then check out the
a href="/packages?show=without" packages that have no screenshots
' yet.
'You have just logged in using your Debian SSO certificate which proves that
'you are associated to the Debian project. So you are invited to upload any
'screenshots. Your uploads will instantly be published and visible in applications
'and web sites that use this service.
- else
p
'You are now logged in. We will associate all your future uploads of screenshots
'with your account. So others can see what you contributed to this site.
p
' If you want to help then check out the
a href="/packages?show=without" packages that have no screenshots
' yet.