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,7 +1,7 @@
// Login form (sign_in)
.row
.small-8.columns.small-centered
.grid-container
.small-8.cell.small-centered
div.callout
p
' Are you required to login? No. You can still upload screenshots.
@ -23,7 +23,7 @@
a href='https://sso.debian.org/' Debian SSO
' installed in your browser.
.row
.grid-container
.text-center
// Alternative way to display buttons without images. (Amazon wants their own button though.)
@ -45,24 +45,24 @@
hr
.row
.grid-container
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
= f.hidden_field :provider, value: 'local'
.small-2.columns
.small-2.cell
b Admin only…
.small-5.columns
.small-5.cell
= f.email_field :email, autofocus: true, placeholder: 'email address'
.small-4.columns
.small-4.cell
= f.password_field :password, autocomplete: "off", placeholder: 'password'
.small-1.columns
.small-1.cell
= f.submit "Log in", class: 'button'
/ - if devise_mapping.rememberable?
/ .small-6.columns
/ .small-6.cell
/ = f.check_box :remember_me
/ .small-6.columns
/ .small-6.cell
/ = f.label :remember_me