Added messaging to the login form to indicate that key generation may take a long time on slow devices. This does not fix the slow key generation but does adjust expectations so it should not be frustrating. Fix #40.

This commit is contained in:
Jim Cresswell 2014-06-14 09:55:26 +01:00
parent c57597d3b5
commit acb024fe40
2 changed files with 6 additions and 0 deletions

View File

@ -780,6 +780,11 @@ a.tg_radio_on:hover i.icon-radio {
margin: 15px 0 30px; margin: 15px 0 30px;
font-size: 13px; font-size: 13px;
} }
.login_form_messaging {
color: #959595;
font-size: 13px;
margin-top: 10px;
}
.login_country_selector { .login_country_selector {
cursor: pointer; cursor: pointer;

View File

@ -24,6 +24,7 @@
<span ng-switch-when="true">Generating keys<span my-loading-dots></span></span> <span ng-switch-when="true">Generating keys<span my-loading-dots></span></span>
<span ng-switch-default>Next</span> <span ng-switch-default>Next</span>
</button> </button>
<div class="login_form_messaging" ng-show="progress.enabled">Key generation will only happen once, it could take several minutes on slower devices, please be patient.</div>
</form> </form>
<form name="myLoginForm" ng-if="credentials.phone_code_hash &amp;&amp; !credentials.phone_code_valid" ng-submit="logIn()"> <form name="myLoginForm" ng-if="credentials.phone_code_hash &amp;&amp; !credentials.phone_code_valid" ng-submit="logIn()">