مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-19 06:09:47 +00:00
initial commit from appmail
هذا الالتزام موجود في:
16
app/views/sessions/begin_password_reset.html.haml
Normal file
16
app/views/sessions/begin_password_reset.html.haml
Normal file
@@ -0,0 +1,16 @@
|
||||
- page_title << "Reset your password"
|
||||
.subPageBox__title
|
||||
Reset your password
|
||||
= display_flash
|
||||
.subPageBox__content
|
||||
%p.subPageBox__text
|
||||
If you've forgotten your password, just enter your e-mail address below and we'll send you an email with a link which
|
||||
will allow you to choose a new password.
|
||||
= form_tag login_reset_path, :class => 'loginForm' do
|
||||
= hidden_field_tag 'return_to', params[:return_to]
|
||||
%p.loginForm__input= text_field_tag 'email_address', '', :class => 'input input--text input--onWhite', :placeholder => "Your e-mail address", :autofocus => true, :tabindex => 1
|
||||
.loginForm__submit
|
||||
%ul.loginForm__links
|
||||
%li= link_to "Back to login", login_path(:return_to => params[:return_to])
|
||||
%p= submit_tag "Continue", :class => 'button button--positive', :tabindex => 3
|
||||
|
||||
20
app/views/sessions/finish_password_reset.html.haml
Normal file
20
app/views/sessions/finish_password_reset.html.haml
Normal file
@@ -0,0 +1,20 @@
|
||||
- page_title << "Reset your password"
|
||||
.subPageBox__title
|
||||
Choose a new password
|
||||
= display_flash
|
||||
|
||||
.subPageBox__content
|
||||
%p.subPageBox__text
|
||||
If you've forgotten your password, just enter your e-mail address below and we'll send you an email with a link which
|
||||
will allow you to choose a new password.
|
||||
= form_tag '', :class => 'loginForm' do
|
||||
= error_messages_for @user
|
||||
= hidden_field_tag 'return_to', params[:return_to]
|
||||
%p.loginForm__input= password_field_tag 'password', params[:password], :class => 'input input--text input--onWhite', :placeholder => "Choose a new password", :autofocus => true, :tabindex => 1
|
||||
%p.loginForm__input= password_field_tag 'password_confirmation', params[:password_confirmation], :class => 'input input--text input--onWhite', :placeholder => "and enter it again to confirm", :tabindex => 2
|
||||
|
||||
.loginForm__submit
|
||||
%ul.loginForm__links
|
||||
%li= link_to "Back to login", login_path(:return_to => params[:return_to])
|
||||
%p= submit_tag "Login", :class => 'button button--positive', :tabindex => 3
|
||||
|
||||
19
app/views/sessions/new.html.haml
Normal file
19
app/views/sessions/new.html.haml
Normal file
@@ -0,0 +1,19 @@
|
||||
- page_title << "Login"
|
||||
.subPageBox__title
|
||||
Welcome to Postal
|
||||
= display_flash
|
||||
|
||||
.subPageBox__content
|
||||
= form_tag login_path, :class => 'loginForm' do
|
||||
= hidden_field_tag 'return_to', params[:return_to]
|
||||
- if params[:return_to] && params[:return_to] =~ /\/join\//
|
||||
%p.loginForm__invite.warningBox.u-margin To accept your invitation you need to login to your account or create a new one. Choose from the options below to continue.
|
||||
|
||||
%p.loginForm__input= text_field_tag 'email_address', '', :type => 'email', :autocomplete => 'off', :spellcheck => 'false', :class => 'input input--text input--onWhite', :placeholder => "Your e-mail address", :autofocus => true, :tabindex => 1
|
||||
%p.loginForm__input= password_field_tag 'password', '', :class => 'input input--text input--onWhite', :placeholder => "Your password", :tabindex => 2
|
||||
.loginForm__submit
|
||||
%ul.loginForm__links
|
||||
%li= link_to "Forgotten your password?", login_reset_path(:return_to => params[:return_to])
|
||||
%li= link_to "Create a new user", signup_path(:return_to => params[:return_to])
|
||||
%p= submit_tag "Login", :class => 'button button--positive', :tabindex => 3
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم