From cc1a7712372d5478e7ed9bac3c5ef7096d1f1dff Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Wed, 8 Apr 2015 20:55:30 +0300 Subject: [PATCH] Supported 2SV setup on mobile --- app/js/locales/en-us.json | 2 + app/less/app.less | 4 + app/less/mobile.less | 3 + .../mobile/password_update_modal.html | 70 +++++++++++++++++ app/partials/mobile/sessions_list_modal.html | 76 +++++++++++++++++++ app/partials/mobile/settings_modal.html | 12 ++- 6 files changed, 166 insertions(+), 1 deletion(-) create mode 100644 app/partials/mobile/password_update_modal.html create mode 100644 app/partials/mobile/sessions_list_modal.html diff --git a/app/js/locales/en-us.json b/app/js/locales/en-us.json index 9dd4a4e0..cb207af6 100644 --- a/app/js/locales/en-us.json +++ b/app/js/locales/en-us.json @@ -58,8 +58,10 @@ "settings_modal_set_password": "Set Additional Password", "settings_modal_change_password": "Change password", "settings_modal_disable_password": "Turn off", + "settings_modal_disable_password_mobile": "Turn password off", "settings_modal_password_email_pending": "Click the link in {email} to complete Two-Step Verification setup.", "settings_modal_password_email_pending_cancel": "Abort", + "settings_modal_password_email_pending_cancel_mobile": "Abort Password", "password_delete_title": "Turn Password Off", "password_change_title": "Two-Step Verification", diff --git a/app/less/app.less b/app/less/app.less index 6215999d..73589abb 100644 --- a/app/less/app.less +++ b/app/less/app.less @@ -823,6 +823,10 @@ a.tg_radio_on:hover i.icon-radio { padding: 10px; } +.nano-content { + outline: none !important; +} + /* Login page */ .login_head_bg { background: #5682a3; diff --git a/app/less/mobile.less b/app/less/mobile.less index dc70f996..cd39c577 100644 --- a/app/less/mobile.less +++ b/app/less/mobile.less @@ -1474,6 +1474,9 @@ a.im_message_fwd_author { } } } +.sessions_modal_wrap .mobile_modal_body { + padding: 0; +} .mobile_modal { .peer_select_modal_wrap { diff --git a/app/partials/mobile/password_update_modal.html b/app/partials/mobile/password_update_modal.html new file mode 100644 index 00000000..b9f39fe2 --- /dev/null +++ b/app/partials/mobile/password_update_modal.html @@ -0,0 +1,70 @@ +
+ +
+ +
+ + + +
\ No newline at end of file diff --git a/app/partials/mobile/sessions_list_modal.html b/app/partials/mobile/sessions_list_modal.html new file mode 100644 index 00000000..6c0b8cdb --- /dev/null +++ b/app/partials/mobile/sessions_list_modal.html @@ -0,0 +1,76 @@ +
+ +
+ +
+ + + +
diff --git a/app/partials/mobile/settings_modal.html b/app/partials/mobile/settings_modal.html index 3b94592d..611e2599 100644 --- a/app/partials/mobile/settings_modal.html +++ b/app/partials/mobile/settings_modal.html @@ -21,7 +21,17 @@
  • - + + + + +
  • +
  • + +
  • + +
  • +