diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 5e7c189bb..88a4ccab0 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -1767,6 +1767,19 @@ table { } } +.verify { + margin: rem-calc(24) 0 rem-calc(48); + + h1 { + color: $check; + + .icon-check { + line-height: rem-calc(30); + vertical-align: middle; + } + } +} + // 18. Comments // - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index daa90c7da..a75f65f06 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -46,6 +46,9 @@ class PagesController < ApplicationController def participation_world end + def verifica + end + def blog redirect_to "http://diario.madrid.es/participa/" end diff --git a/app/views/pages/verifica.html.erb b/app/views/pages/verifica.html.erb new file mode 100644 index 000000000..0a3110b29 --- /dev/null +++ b/app/views/pages/verifica.html.erb @@ -0,0 +1,27 @@ +
+
+
+

+ + <%= t("pages.verify.title") %> +

+ +

<%= t("pages.verify.info") %>

+
+ +
+
+ + "> + + + "> + + + "> + + " class="button radius success expand"> +
+
+
+
diff --git a/config/locales/pages.en.yml b/config/locales/pages.en.yml index 051217223..a01b380d7 100644 --- a/config/locales/pages.en.yml +++ b/config/locales/pages.en.yml @@ -18,4 +18,11 @@ en: transparency: "Transparency" opendata: - "Open Data" \ No newline at end of file + "Open Data" + verify: + title: "Verify your account" + info: "Introduce your access data and the code you received in letter." + email: "Email" + password: "Password" + code: "Secure code" + submit: "Verify my account" \ No newline at end of file diff --git a/config/locales/pages.es.yml b/config/locales/pages.es.yml index e1068f4ed..8749aa715 100644 --- a/config/locales/pages.es.yml +++ b/config/locales/pages.es.yml @@ -21,3 +21,10 @@ es: "Transparencia" opendata: "Datos abiertos" + verify: + title: "Verifica tu cuenta" + info: "Introduce tus datos con los que te registraste y el código que has recibido en tu carta." + email: "Email" + password: "Contraseña" + code: "Código de seguridad" + submit: "Verificar mi cuenta" diff --git a/config/routes.rb b/config/routes.rb index c1a0e38ba..991a0e870 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -270,5 +270,6 @@ Rails.application.routes.draw do get "/participation_world", to: "pages#participation_world" get "/blog", to: "pages#blog" get "/accessibility", to: "pages#accessibility" + get "/verifica", to: "pages#verifica" end