Remove #sign-up-text, change placeholder text to lower-case, fix tests
This commit is contained in:
parent
b3558d0db1
commit
2b19b4bfc9
10 changed files with 20 additions and 34 deletions
|
|
@ -100,16 +100,7 @@ form.block-form {
|
||||||
top: 130px;
|
top: 130px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input::-moz-placeholder { text-transform: uppercase; }
|
::placeholder { text-transform: uppercase; }
|
||||||
input::-webkit-input-placeholder { text-transform: uppercase; }
|
|
||||||
input:-ms-input-placeholder { text-transform: uppercase; }
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type=submit] {
|
|
||||||
text-align: center;
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
padding: 8px 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,13 +21,8 @@
|
||||||
font-size : 35px;
|
font-size : 35px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sign-up-text {
|
|
||||||
margin-bottom : 0.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#create-something-text,
|
#create-something-text,
|
||||||
#diaspora-hearts,
|
#diaspora-hearts {
|
||||||
#sign-up-text {
|
|
||||||
font-family : Roboto-Light;
|
font-family : Roboto-Light;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
= f.password_field :password_confirmation, class: "input-block-level form-control", required: true, placeholder: t('devise.passwords.edit.confirm_password'), autocapitalize: "none", autocorrect: "off"
|
= f.password_field :password_confirmation, class: "input-block-level form-control", required: true, placeholder: t('devise.passwords.edit.confirm_password'), autocapitalize: "none", autocorrect: "off"
|
||||||
|
|
||||||
= hidden_field(:user, :remember_me, value: 1)
|
= hidden_field(:user, :remember_me, value: 1)
|
||||||
= f.submit t('devise.passwords.edit.change_password'), class: "btn"
|
= f.submit t('devise.passwords.edit.change_password'), class: "btn btn-block"
|
||||||
|
|
||||||
.text-center
|
.text-center
|
||||||
= link_to t('devise.shared.links.sign_in'), new_session_path(resource_name)
|
= link_to t('devise.shared.links.sign_in'), new_session_path(resource_name)
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
= t('devise.passwords.new.email')
|
= t('devise.passwords.new.email')
|
||||||
%i.entypo.mail
|
%i.entypo.mail
|
||||||
= f.text_field :email, class: "input-block-level form-control", required: true, autocapitalize: "off", placeholder: t('devise.passwords.new.email'), autocorrect: "off", autofocus: true
|
= f.text_field :email, class: "input-block-level form-control", required: true, autocapitalize: "off", placeholder: t('devise.passwords.new.email'), autocorrect: "off", autofocus: true
|
||||||
= f.submit t('devise.passwords.new.send_password_instructions'), class: "btn"
|
= f.submit t('devise.passwords.new.send_password_instructions'), class: "btn btn-block"
|
||||||
|
|
||||||
.text-center
|
.text-center
|
||||||
= link_to t('devise.shared.links.sign_in'), new_session_path(resource_name)
|
= link_to t('devise.shared.links.sign_in'), new_session_path(resource_name)
|
||||||
|
|
|
||||||
|
|
@ -41,4 +41,4 @@
|
||||||
- if AppConfig.settings.terms.enable?
|
- if AppConfig.settings.terms.enable?
|
||||||
%p#terms.text-center
|
%p#terms.text-center
|
||||||
= t('.terms', terms_link: link_to(t('.terms_link'), terms_path, target: "_blank")).html_safe
|
= t('.terms', terms_link: link_to(t('.terms_link'), terms_path, target: "_blank")).html_safe
|
||||||
= f.submit t('.sign_up'), class: "btn", data: {disable_with: t('.submitting')}
|
= f.submit t('.sign_up'), class: "btn btn-block btn-large", data: {disable_with: t('.submitting')}
|
||||||
|
|
|
||||||
|
|
@ -30,13 +30,13 @@ en:
|
||||||
updated: 'Your password was changed successfully. You are now signed in.'
|
updated: 'Your password was changed successfully. You are now signed in.'
|
||||||
edit:
|
edit:
|
||||||
change_password: "Change my password"
|
change_password: "Change my password"
|
||||||
new_password: "NEW PASSWORD"
|
new_password: "New password"
|
||||||
confirm_password: "CONFIRM PASSWORD"
|
confirm_password: "Confirm password"
|
||||||
new:
|
new:
|
||||||
forgot_password: "Forgot your password?"
|
forgot_password: "Forgot your password?"
|
||||||
no_account: 'No account with this email exists'
|
no_account: 'No account with this email exists'
|
||||||
reset_password: "Reset password"
|
reset_password: "Reset password"
|
||||||
email: "EMAIL ADDRESS"
|
email: "Email address"
|
||||||
send_password_instructions: "Send me reset password instructions"
|
send_password_instructions: "Send me reset password instructions"
|
||||||
confirmations:
|
confirmations:
|
||||||
send_instructions: 'You will receive an email with instructions about how to confirm your account in a few minutes.'
|
send_instructions: 'You will receive an email with instructions about how to confirm your account in a few minutes.'
|
||||||
|
|
|
||||||
|
|
@ -839,7 +839,7 @@ en:
|
||||||
Sign in here: %{login_url}. If you’ve forgotten your sign-in details, you can ask for a reminder on that page.
|
Sign in here: %{login_url}. If you’ve forgotten your sign-in details, you can ask for a reminder on that page.
|
||||||
|
|
||||||
Hoping to see you again,
|
Hoping to see you again,
|
||||||
|
|
||||||
The diaspora* email robot!
|
The diaspora* email robot!
|
||||||
people:
|
people:
|
||||||
zero: "No people"
|
zero: "No people"
|
||||||
|
|
@ -1009,11 +1009,11 @@ en:
|
||||||
enter_password_again: "Enter the same password as before"
|
enter_password_again: "Enter the same password as before"
|
||||||
hey_make: "HEY,<br/>MAKE<br/>SOMETHING."
|
hey_make: "HEY,<br/>MAKE<br/>SOMETHING."
|
||||||
diaspora: "<3 diaspora*"
|
diaspora: "<3 diaspora*"
|
||||||
sign_up: "SIGN UP"
|
sign_up: "Sign up"
|
||||||
email: "EMAIL"
|
email: "Email"
|
||||||
username: "USERNAME"
|
username: "Username"
|
||||||
password: "PASSWORD"
|
password: "Password"
|
||||||
password_confirmation: "PASSWORD CONFIRMATION"
|
password_confirmation: "Password confirmation"
|
||||||
submitting: "Submitting..."
|
submitting: "Submitting..."
|
||||||
terms: "By creating an account you accept the %{terms_link}."
|
terms: "By creating an account you accept the %{terms_link}."
|
||||||
terms_link: "terms of service"
|
terms_link: "terms of service"
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ Feature: invitation acceptance
|
||||||
Given I have been invited by an admin
|
Given I have been invited by an admin
|
||||||
And I am on my acceptance form page
|
And I am on my acceptance form page
|
||||||
And I fill in the new user form
|
And I fill in the new user form
|
||||||
And I press "Continue"
|
And I press "Sign up"
|
||||||
Then I should be on the getting started page
|
Then I should be on the getting started page
|
||||||
And I should see "Well, hello there!"
|
And I should see "Well, hello there!"
|
||||||
And I fill in the following:
|
And I fill in the following:
|
||||||
|
|
@ -19,7 +19,7 @@ Feature: invitation acceptance
|
||||||
Given I have been invited by bob
|
Given I have been invited by bob
|
||||||
And I am on my acceptance form page
|
And I am on my acceptance form page
|
||||||
And I fill in the new user form
|
And I fill in the new user form
|
||||||
And I press "Continue"
|
And I press "Sign up"
|
||||||
Then I should be on the getting started page
|
Then I should be on the getting started page
|
||||||
And I should see "Well, hello there!"
|
And I should see "Well, hello there!"
|
||||||
And I fill in the following:
|
And I fill in the following:
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,6 @@ Feature: Invitations
|
||||||
When I visit alice's invitation code url
|
When I visit alice's invitation code url
|
||||||
# Then I should see the "alice is excited" message
|
# Then I should see the "alice is excited" message
|
||||||
When I fill in the new user form
|
When I fill in the new user form
|
||||||
And I press "Continue"
|
And I press "Sign up"
|
||||||
Then I should see the "welcome to diaspora" message
|
Then I should see the "welcome to diaspora" message
|
||||||
And I should be able to friend Alice
|
And I should be able to friend Alice
|
||||||
|
|
|
||||||
|
|
@ -71,20 +71,20 @@ Feature: new user registration
|
||||||
And I go to the new user registration page
|
And I go to the new user registration page
|
||||||
And I fill in the following:
|
And I fill in the following:
|
||||||
| user_username | $%&(/&%$&/=)(/ |
|
| user_username | $%&(/&%$&/=)(/ |
|
||||||
And I press "Continue"
|
And I press "Sign up"
|
||||||
Then I should not be able to sign up
|
Then I should not be able to sign up
|
||||||
And I should have a validation error on "user_username, user_password, user_email"
|
And I should have a validation error on "user_username, user_password, user_email"
|
||||||
|
|
||||||
When I fill in the following:
|
When I fill in the following:
|
||||||
| user_username | valid_user |
|
| user_username | valid_user |
|
||||||
| user_email | this is not a valid email $%&/()( |
|
| user_email | this is not a valid email $%&/()( |
|
||||||
And I press "Continue"
|
And I press "Sign up"
|
||||||
Then I should not be able to sign up
|
Then I should not be able to sign up
|
||||||
And I should have a validation error on "user_password, user_email"
|
And I should have a validation error on "user_password, user_email"
|
||||||
|
|
||||||
When I fill in the following:
|
When I fill in the following:
|
||||||
| user_email | valid@email.com |
|
| user_email | valid@email.com |
|
||||||
| user_password | 1 |
|
| user_password | 1 |
|
||||||
And I press "Continue"
|
And I press "Sign up"
|
||||||
Then I should not be able to sign up
|
Then I should not be able to sign up
|
||||||
And I should have a validation error on "user_password, user_password_confirmation"
|
And I should have a validation error on "user_password, user_password_confirmation"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue