2014-12-03 16:01:22 -03:00
< div class = "createProfile" ng-controller = "CreateProfileController" ng-init = "init()" >
2014-11-19 15:45:08 -03:00
2014-10-31 11:24:16 -03:00
< div data-alert class = "loading-screen" ng-show = "loading" >
2014-11-19 15:45:08 -03:00
< div class = "spinner" >
< div class = "contener_general" >
2014-12-03 16:01:22 -03:00
< div class = "contener_mixte" >
< div class = "ballcolor ball_1" > < / div >
< / div >
< div class = "contener_mixte" >
< div class = "ballcolor ball_2" > < / div >
< / div >
< div class = "contener_mixte" >
< div class = "ballcolor ball_3" > < / div >
< / div >
< div class = "contener_mixte" >
< div class = "ballcolor ball_4" > < / div >
< / div >
2014-11-19 15:45:08 -03:00
< / div >
< span class = "text-gray size-12" translate > Creating profile...< / span >
< / div >
2014-09-30 21:16:46 -03:00
< / div >
2014-10-15 16:10:40 -03:00
2014-12-03 16:01:22 -03:00
< div class = "large-4 large-centered medium-6 medium-centered columns" ng-show = "!loading && !askForPin" >
2014-10-15 16:10:40 -03:00
< div class = "logo-setup" >
2014-09-30 21:16:46 -03:00
< img src = "img/logo-negative-beta.svg" alt = "Copay" width = "146" height = "59" >
< div ng-include = "'views/includes/version.html'" > < / div >
2014-12-03 16:01:22 -03:00
< / div >
2014-10-15 16:10:40 -03:00
< div class = "box-setup" >
2014-12-02 18:53:14 -03:00
< h1 > Create Profile< / h1 >
2014-11-14 14:58:04 -03:00
< div class = "box-notification" ng-show = "error" >
< div class = "box-icon error" >
< i class = "fi-x size-24" > < / i >
2014-12-03 16:01:22 -03:00
< / div >
2014-11-14 14:58:04 -03:00
< span class = "text-warning size-14" >
{{error|translate}}
< / span >
< / div >
2014-10-15 16:10:40 -03:00
< form name = "profileForm" ng-submit = "createProfile(profileForm)" novalidate >
2014-12-02 18:53:14 -03:00
< div class = "m5b text-right" >
< span translate class = "has-error size-12" ng-show = "profileForm.email.$invalid & &
!profileForm.email.$pristine">
2014-11-27 18:33:07 -03:00
< span class = "icon-input" > < i class = "fi-x" > < / i > < / span >
2014-12-03 16:01:22 -03:00
Not valid
2014-11-27 18:33:07 -03:00
< / span >
2014-12-02 18:53:14 -03:00
< span class = "icon-input" ng-show = "!profileForm.email.$invalid & &
!profileForm.email.$pristine">< i class = "fi-check" > < / i > < / span >
2014-11-27 18:33:07 -03:00
< / div >
< div class = "input" >
2014-12-04 20:42:08 -03:00
< input type = "email" ng-model = "email" class = "form-control fi-email" name = "email" placeholder = "Email"
show-focus="!isMobile" required>
2014-11-28 16:27:21 -03:00
< i class = "icon-email" > < / i >
2014-10-15 16:10:40 -03:00
< / div >
2014-10-09 18:53:31 -03:00
2014-11-27 18:33:07 -03:00
< div class = "input" >
2014-12-03 16:01:22 -03:00
< input id = "password" type = "password" ng-model = "$parent.password"
2014-11-27 18:33:07 -03:00
class="form-control" name="password" placeholder="{{'Choose a password'|translate}}" check-strength="passwordStrength"
2014-12-02 18:53:14 -03:00
tooltip-html-unsafe="Password strength: < b > {{passwordStrength}}< / b > < br / > < span class = 'size-12' > Tip: Use lower and uppercase, numbers and symbols< / span > " tooltip-trigger="focus" required tooltip-placement="top">
2014-11-28 16:27:21 -03:00
< i class = "icon-locked" > < / i >
2014-11-27 18:33:07 -03:00
< / div >
2014-12-02 18:53:14 -03:00
< div class = "m5b text-right" >
< span translate class = "has-error size-12" ng-show = "profileForm.repeatpassword.$dirty & &
2014-11-14 14:58:04 -03:00
profileForm.repeatpassword.$invalid">
< span class = "icon-input" > < i class = "fi-x" > < / i > < / span >
2014-12-03 16:01:22 -03:00
{{'Passwords must match'|translate}}
2014-11-14 14:58:04 -03:00
< / span >
2014-12-02 18:53:14 -03:00
< span class = "icon-input" ng-show = "profileForm.repeatpassword.$dirty & &
2014-12-03 16:01:22 -03:00
!profileForm.repeatpassword.$invalid">< i class = "fi-check" > < / i > < / span >
2014-11-27 15:15:00 -03:00
< / div >
2014-12-02 18:53:14 -03:00
2014-11-27 18:33:07 -03:00
< div class = "input" >
2014-12-03 16:01:22 -03:00
< input type = "password" ng-model = "repeatpassword" class = "input form-control" name = "repeatpassword" placeholder = "{{'Repeat password'|translate}}" match = "password" required >
2014-11-28 16:27:21 -03:00
< i class = "icon-locked" > < / i >
2014-12-02 18:53:14 -03:00
< / div >
2014-11-27 15:15:00 -03:00
2014-12-03 16:01:22 -03:00
< button translate type = "submit" class = "button primary radius expand m0" ng-disabled = "profileForm.$invalid || loading" >
Create
2014-11-17 00:35:24 -03:00
< / button >
2014-10-15 16:10:40 -03:00
< / form >
< div class = "box-setup-footer" >
< div class = "left" >
2014-10-30 16:13:56 -03:00
< a class = "text-gray" href = "#!/" >
2014-11-28 16:27:21 -03:00
< i class = "icon-arrow-left4" > < / i >
2014-10-20 20:46:49 -03:00
< span translate > Back< / span >
< / a >
2014-10-15 16:10:40 -03:00
< / div >
< div class = "right" >
2014-10-20 20:46:49 -03:00
< a class = "right size-12 text-gray" href = "#!/settings" >
2014-11-28 16:27:21 -03:00
< i class = "icon-wrench" > < / i >
2014-10-20 20:46:49 -03:00
< span translate > Settings< / span >
< / a >
2014-10-15 16:10:40 -03:00
< / div >
2014-09-30 21:16:46 -03:00
< / div >
< / div >
< / div >
2014-12-03 16:01:22 -03:00
< div class = "large-4 large-centered medium-6 medium-centered columns" ng-show = "!loading && askForPin" >
< div class = "box-setup" >
< h1 > < span translate > Set up a < / span > < b > PIN < / b > ?< / h1 >
2014-12-03 17:09:59 -03:00
< p class = "size-14" > Enter a 4-digit number for easier access from this device< / p >
2014-12-03 16:01:22 -03:00
2014-12-03 17:09:59 -03:00
< div class = "box-notification" ng-show = "error" >
< div class = "box-icon error" >
< i class = "fi-x size-24" > < / i >
< / div >
< span class = "text-warning size-14" >
2014-12-03 16:01:22 -03:00
{{error|translate}}
< / span >
2014-12-03 17:09:59 -03:00
< / div >
2014-12-03 16:01:22 -03:00
2014-12-03 17:09:59 -03:00
< form name = "setPinForm" ng-submit = "createPin(setPinForm)" novalidate >
< div class = "input" ng-show = "askForPin == 1" >
< input id = "newpin" type = "tel" ng-model = "newpin" class = "form-control" ng-maxlength = "4" ng-minlength = "4" maxlength = "4" ng-pattern = "/^[0-9]{1,4}$/" placeholder = "PIN" name = "newpin" required show-focus = "askForPin == 1" >
< i class = "icon-locked" > < / i >
< / div >
< div class = "input" ng-show = "askForPin == 2" >
< input id = "repeatpin" type = "tel" ng-model = "repeatpin" class = "form-control" ng-maxlength = "4" ng-minlength = "4" maxlength = "4" ng-pattern = "/^[0-9]{1,4}$/" placeholder = "Confirm your PIN" name = "repeatpin" required show-focus = "askForPin == 2" >
< i class = "icon-locked" > < / i >
< / div >
2014-12-03 16:01:22 -03:00
< div class = "box-setup-footer row collapse" >
2014-12-03 17:09:59 -03:00
< div class = "large-6 medium-6 small-6 columns" >
2014-12-03 16:01:22 -03:00
< a class = "button secondary radius m0" ng-click = "createDefaultWallet()" >
< span translate > Skip< / span >
< / a >
< / div >
< div class = "large-6 medium-6 small-6 columns text-right" >
2014-12-03 17:09:59 -03:00
< button translate type = "submit" class = "button primary radius expand m0"
ng-disabled="setPinForm.$invalid || error">
OK
< / button >
2014-12-03 16:01:22 -03:00
< / div >
< / div >
2014-12-03 17:09:59 -03:00
< / form >
2014-12-03 16:01:22 -03:00
< / div >
< / div >
2014-09-30 21:16:46 -03:00
< / div >