debshots/app/views/devise/sessions/new.slim
2017-04-19 00:15:29 +02:00

58 lines
1.9 KiB
Text

// Login form
.row
.small-6.columns.small-centered
div.callout.primary
p
' This site yet only uses user accounts for moderators to manage screenshots.
' It is planned however to allow you to register and manager your own uploads
' more easily. Please have a little patience - thanks.
h2 Login (Moderators only)
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
.small-6.columns
= f.label :email
.small-6.columns
= f.email_field :email, autofocus: true
.small-6.columns
= f.label :password
.small-6.columns
= f.password_field :password, autocomplete: "off"
/ - if devise_mapping.rememberable?
/ .small-6.columns
/ = f.check_box :remember_me
/ .small-6.columns
/ = f.label :remember_me
= f.submit "Log in", class: 'button'
/ = render "devise/shared/links"
/ h1 Experimental SSL certificate Debian SSO auth
/
/ = link_to 'log in using your secure certificate', users_debian_sso_path
/ = link_to "Sign in with Launchpad", user_launchpad_omniauth_authorize_path
/ = link_to "Sign in with Google", user_google_oauth2_omniauth_authorize_path
= link_to "Sign in with Launchpad", user_launchpad_omniauth_authorize_path
= link_to "Sign in with StackExchange", user_stackexchange_omniauth_authorize_path
= link_to "Sign in with Google", user_google_oauth2_omniauth_authorize_path
= link_to "Sign in with Amazon", user_amazon_omniauth_authorize_path
= link_to "Sign in with Github", user_github_omniauth_authorize_path
/ div
/ = link_to image_tag('/images/sso/google.png'), user_google_oauth2_omniauth_authorize_path
/ div
/ = link_to "google new", user_google_omniauth_authorize_path
/
/ div
/ = link_to image_tag('/images/sso/amazon.png'), user_amazon_omniauth_authorize_path
/
/ div
/ stackexchange
/