diff --git a/.scss-lint.yml b/.scss-lint.yml
index 1fc197bb9..5e5e45316 100644
--- a/.scss-lint.yml
+++ b/.scss-lint.yml
@@ -70,7 +70,7 @@ linters:
enabled: true
IdSelector:
- enabled: true
+ enabled: false
ImportantRule:
enabled: true
diff --git a/app/assets/javascripts/app/pages/registration.js b/app/assets/javascripts/app/pages/registration.js
deleted file mode 100644
index fec226363..000000000
--- a/app/assets/javascripts/app/pages/registration.js
+++ /dev/null
@@ -1,10 +0,0 @@
-// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
-app.pages.Registration = Backbone.View.extend({
- initialize: function() {
- $("input#user_email").popover({
- placement: "left",
- trigger: "focus"
- }).popover("show");
- }
-});
-// @license-end
diff --git a/app/assets/javascripts/app/router.js b/app/assets/javascripts/app/router.js
index f7bd8a440..e9dc48ef6 100644
--- a/app/assets/javascripts/app/router.js
+++ b/app/assets/javascripts/app/router.js
@@ -173,10 +173,6 @@ app.Router = Backbone.Router.extend({
});
},
- registration: function() {
- app.page = new app.pages.Registration();
- },
-
settings: function() {
app.page = new app.pages.Settings();
},
diff --git a/app/assets/stylesheets/_application.scss b/app/assets/stylesheets/_application.scss
index adb868f5c..5566860ec 100644
--- a/app/assets/stylesheets/_application.scss
+++ b/app/assets/stylesheets/_application.scss
@@ -24,6 +24,9 @@
// font overrides
@import 'typography';
+// New design, can be used adding the .modern-design class to a
around the page which is ported
+@import 'modern-design';
+
// layout
@import 'sidebar';
diff --git a/app/assets/stylesheets/mobile/mobile.scss b/app/assets/stylesheets/mobile/mobile.scss
index 7ee53069e..8ba52becf 100644
--- a/app/assets/stylesheets/mobile/mobile.scss
+++ b/app/assets/stylesheets/mobile/mobile.scss
@@ -21,6 +21,10 @@
@import 'typography';
+// New design, can be used adding the .modern-design class to a
\ No newline at end of file
diff --git a/app/views/registrations/new.haml b/app/views/registrations/new.haml
index bf034f9da..0cf033bde 100644
--- a/app/views/registrations/new.haml
+++ b/app/views/registrations/new.haml
@@ -1,11 +1 @@
-#registration
- .container
- .row
- .col-sm-6.hidden-xs
- .ball
- .col-sm-6.col-xs-12.v-center
- .content.text-center
- %h1#pod-name
- = AppConfig.settings.pod_name
-
- = render partial: "form", locals: {mobile: false}
+= render partial: "new"
diff --git a/app/views/registrations/new.mobile.haml b/app/views/registrations/new.mobile.haml
index 7837a875d..e5e6d00bc 100644
--- a/app/views/registrations/new.mobile.haml
+++ b/app/views/registrations/new.mobile.haml
@@ -2,15 +2,12 @@
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
-.stream#main-stream
- - flash.each do |name, msg|
- .expose#flash-container
- .flash-message{class: "message alert alert-#{flash_class name}", role: "alert"}
- = msg
+- flash.each do |name, msg|
+ .expose#flash-container
+ .flash-message{class: "message alert alert-#{flash_class name}", role: "alert"}
+ = msg
- .login-form
- .login-container
- = render partial: "form", locals: {mobile: true}
+= render partial: "new", locals: {mobile: true}
%footer.footer
%ul
diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml
index d9890580a..78ff360cd 100644
--- a/config/locales/diaspora/en.yml
+++ b/config/locales/diaspora/en.yml
@@ -1099,18 +1099,20 @@ en:
registrations:
new:
- enter_email: "Enter your email address"
- enter_username: "Pick a username (only letters, numbers, and underscores)"
- enter_password: "Enter a password (six character minimum)"
- enter_password_again: "Enter the same password as before"
+ title: "Join the diaspora* community!"
+ subtitle: "You're about to create an account on %{podname}. A single account is enough to reach the whole diaspora* network. You don't need to create a new account here if you already have one on another pod. Need help? Check %{tutorials_link}."
+ tutorials_link_label: "the tutorials"
sign_up: "Create account"
email: "Email"
+ email_advice: "Your e-mail will never be shared with anyone and will only be used to enable you to recover your account and to send notifications."
username: "Username"
+ username_advice: "Your username is unique and allows others to find you in the network. It can't be changed once set. Only letters, numbers, \".\", \"_\" and \"-\"."
password: "Password"
password_confirmation: "Password confirmation"
submitting: "Submitting..."
terms: "By creating an account you accept the %{terms_link}."
terms_link: "terms of service"
+ import_indication: "Do you want to migrate an existing diaspora* account to %{podname}? If so, sign up first and then go to the user settings page to import your previous account."
create:
success: "You’ve joined diaspora*!"
closed:
@@ -1423,7 +1425,7 @@ en:
simple_captcha:
placeholder: "Enter the image value"
- label: "Enter the code in the box:"
+ label: "Captcha"
message:
default: "The secret code did not match with the image"
user: "The secret image and code were different"