2014-12-03 16:01:22 -03:00
< div class = "createProfile" ng-controller = "CreateProfileController" ng-init = "init()" >
2015-01-29 01:56:32 -03:00
2015-01-29 03:14:32 -03:00
< div ng-if = "!$root.starting && askForPin" >
2015-01-29 01:56:32 -03:00
< div ng-include = "'views/includes/pin-number.html'" > < / div >
< / div >
2014-12-11 18:13:13 -03:00
< div ng-show = "$root.starting" >
2014-12-11 16:07:43 -03:00
< div ng-include = "'views/includes/loading.html'" ng-init = "title = 'Creating profile'" > < / div >
2014-09-30 21:16:46 -03:00
< / div >
2014-10-15 16:10:40 -03:00
2015-01-29 03:14:32 -03:00
< div class = "row m20b" ng-show = "!$root.starting && !askForPin" >
2015-01-29 01:56:32 -03:00
< div class = "large-4 large-centered medium-7 medium-centered columns" >
2015-01-03 14:26:45 -03:00
< div class = "logo-setup hide-for-small-only" ng-hide = "hideForWP" >
2014-12-05 13:12:13 -03:00
< img src = "img/logo-negative-beta.svg" alt = "Copay" width = "100" >
2014-12-03 16:01:22 -03:00
< / div >
2014-12-05 11:41:06 -03:00
< div >
2014-12-06 19:16:50 -03:00
2015-01-03 14:26:45 -03:00
< div class = "clipo" ng-show = "createStep == 'storage' && !hideForWP " >
2014-12-06 19:16:50 -03:00
< img src = "img/clipo-signup1.png" alt = "clipo" width = "311" >
< / div >
< div ng-show = "createStep == 'email'" >
2015-01-03 14:26:45 -03:00
< div class = "clipo" ng-if = "useLocalstorage && !hideForWP" >
2014-12-06 19:16:50 -03:00
< img src = "img/clipo-signup2-1.png" alt = "clipo" width = "373" >
< / div >
2015-01-03 14:26:45 -03:00
< div class = "clipo" ng-if = "!useLocalstorage && !hideForWP" >
2014-12-06 19:16:50 -03:00
< img src = "img/clipo-signup2.png" alt = "clipo" width = "373" >
< / div >
2015-01-03 17:22:06 -03:00
< h2 ng-if = "!useLocalstorage" ng-hide = "hideForWP" > Creating in the cloud < / h2 >
< h2 ng-if = "useLocalstorage" ng-hide = "hideForWP" > Creating on this device < / h2 >
2014-12-06 19:16:50 -03:00
< / div >
< div ng-show = "createStep == 'pass'" >
2015-01-03 14:26:45 -03:00
< div class = "clipo" ng-hide = "hideForWP" >
2014-12-06 19:16:50 -03:00
< img src = "img/clipo-signup3.png" alt = "clipo" width = "380" >
< / div >
2015-01-03 17:22:06 -03:00
< h2 ng-if = "useLocalstorage" ng-hide = "hideForWP" > Creating on this device < / h2 >
< h2 ng-if = "!useLocalstorage" ng-hide = "hideForWP" > Creating in the cloud < / h2 >
< div class = "text-gray text-center m20b" ng-hide = "hideForWP" > {{userOrEmail}}< / div >
2014-12-06 19:16:50 -03:00
< / div >
2014-12-19 09:12:52 -03:00
< div class = "box-notification" ng-show = "error && !passwordStrength" >
2014-11-14 14:58:04 -03:00
< 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-12-04 19:48:08 -03:00
2014-12-04 23:32:02 -03:00
< form ng-show = "createStep == 'storage' " novalidate >
2014-12-07 14:16:10 -03:00
< tabset >
2014-12-05 12:20:43 -03:00
< tab style = "width: 50%;" select = "selectStorage('remote')" >
2014-12-05 11:41:06 -03:00
< tab-heading >
2014-12-19 09:59:57 -03:00
< span > In the Cloud < / span >
2014-12-07 14:16:10 -03:00
< br >
2014-12-05 11:41:06 -03:00
< span class = "size-10 text-gray" > ( Recommended )< / span >
< / tab-heading >
2014-12-07 14:16:10 -03:00
< div class = "content-item" >
< div class = "bg-circle" > < i class = "icon-wallet" > < / i >
2014-12-04 19:48:08 -03:00
< / div >
2014-12-07 14:16:10 -03:00
< span class = "text-gray" > Access your wallets anywhere< / span >
< / div >
< div class = "content-item" >
< div class = "bg-circle" > < i class = "icon-download" > < / i >
2014-12-04 19:48:08 -03:00
< / div >
2014-12-07 14:16:10 -03:00
< span class = "text-gray" > Backups managed by the server< / span >
< / div >
< div class = "content-item line-none" >
< div class = "bg-circle" > < i class = "icon-email" > < / i >
2014-12-04 19:48:08 -03:00
< / div >
2014-12-07 14:16:10 -03:00
< span class = "text-gray" > Email address confirmation needed< / span >
< / div >
2014-12-04 23:32:02 -03:00
< / tab >
2014-12-05 12:20:43 -03:00
< tab style = "width: 50%;" select = "selectStorage('local')" >
2014-12-05 11:41:06 -03:00
< tab-heading >
2014-12-19 09:59:57 -03:00
< div class = "m5t" > On this Device< / div >
2014-12-05 11:41:06 -03:00
< / tab-heading >
2014-12-07 14:16:10 -03:00
< div class = "content-item" >
< div class = "bg-circle" > < i class = "icon-locked" > < / i >
2014-12-04 19:48:08 -03:00
< / div >
2014-12-07 14:16:10 -03:00
< span class = "text-gray" > Your private keys never leave this device< / span >
< / div >
< div class = "content-item" >
< div class = "bg-circle" > < i class = "icon-person" > < / i >
2014-12-05 09:29:43 -03:00
< / div >
2014-12-07 14:16:10 -03:00
< span class = "text-gray" > No email required< / span >
< / div >
< div class = "content-item line-none" >
< div class = "bg-circle" > < i class = "icon-download" > < / i >
2014-12-04 19:48:08 -03:00
< / div >
2014-12-07 14:16:10 -03:00
< span class = "text-gray" > Need to be careful with backups< / span >
< / div >
2014-12-04 23:32:02 -03:00
< / tab >
< / tabset >
2014-12-05 11:41:06 -03:00
2014-12-07 14:16:10 -03:00
< button translate class = "button primary radius expand m0" ng-click = "goToEmail()" >
2014-12-05 14:23:33 -03:00
< span ng-if = "!useLocalstorage" > Create in the cloud< / span >
2014-12-06 14:26:33 -03:00
< span ng-if = "useLocalstorage" > Create on this device< / span >
2014-12-05 11:41:06 -03:00
< / button >
2014-12-04 23:32:02 -03:00
< div class = "box-setup-footer" >
< div class = "left" >
2014-12-08 03:16:51 -03:00
< a class = "button-setup text-gray" href = "#!/" >
2014-12-04 23:32:02 -03:00
< i class = "icon-arrow-left4" > < / i >
< span translate > Back< / span >
< / a >
< / div >
2014-12-05 09:29:43 -03:00
< div class = "right" >
2014-12-09 16:20:19 -03:00
< a class = "button-setup text-gray"
2014-12-10 12:07:26 -03:00
ng-click="$root.openExternalLink('https://copay.io/profile-storage.html')">
2014-12-08 03:16:51 -03:00
Learn more about this option
2014-12-05 09:29:43 -03:00
< / a >
< / div >
2014-12-04 23:32:02 -03:00
< / div >
2014-12-04 19:48:08 -03:00
< / form >
2014-12-04 23:32:02 -03:00
< form ng-show = "createStep == 'email'" name = "emailForm" ng-submit = "setEmailOrUsername(emailForm)" novalidate >
2014-12-05 16:53:50 -03:00
< div class = "input" ng-if = "useEmail" >
2015-01-03 16:02:38 -03:00
< input type = "email" ng-model = "email" class = "form-control fi-email" name = "email" placeholder = "Email" required auto-focus = "!isMobile" ng-focus = "formFocus()" >
2014-12-05 16:53:50 -03:00
< i class = "icon-email" > < / i >
2014-12-09 14:44:53 -03:00
< div class = "icon-input" ng-if = "useEmail" >
2014-12-05 17:30:10 -03:00
< span translate class = "has-error size-12" ng-show = "emailForm.email.$invalid & &
!emailForm.email.$pristine">
< i class = "fi-x" > < / i >
Not valid
< / span >
2014-12-09 14:44:53 -03:00
< span ng-show = "!emailForm.email.$invalid & &
2014-12-07 14:16:10 -03:00
!emailForm.email.$pristine">< i class = "fi-check" > < / i >
2014-12-09 14:44:53 -03:00
< / span >
2014-12-05 17:30:10 -03:00
< / div >
2014-12-05 16:53:50 -03:00
< / div >
2014-12-05 17:30:10 -03:00
2014-12-05 16:53:50 -03:00
< div class = "input" ng-if = "!useEmail" >
2015-01-03 16:02:38 -03:00
< input type = "text" ng-model = "username" class = "form-control fi-user" name = "username" placeholder = "Username" required auto-focus = "!isMobile" ng-focus = "formFocus()" >
2014-12-05 16:53:50 -03:00
< i class = "icon-person" > < / i >
2014-12-04 19:48:08 -03:00
< / div >
2014-10-09 18:53:31 -03:00
2014-12-04 23:32:02 -03:00
< button translate type = "submit" class = "button primary radius expand m0" ng-disabled = "(useEmail && emailForm.email.$invalid) || (!useEmail && emailForm.username.$invalid)" >
Next
2014-12-07 14:16:10 -03:00
< / button >
2014-12-04 23:32:02 -03:00
< div class = "box-setup-footer" >
< div class = "left" >
2014-12-08 03:16:51 -03:00
< a class = "button-setup text-gray" ng-click = "setStep('storage')" >
2014-12-04 23:32:02 -03:00
< i class = "icon-arrow-left4" > < / i >
< span translate > Back< / span >
< / a >
< / div >
< / div >
2014-12-07 14:16:10 -03:00
2014-12-04 19:48:08 -03:00
< / form >
2014-12-04 23:32:02 -03:00
< form ng-show = "createStep == 'pass'" name = "passForm" ng-submit = "createProfile(passForm)" novalidate >
2014-12-18 20:05:13 -03:00
< div class = "box-notification" ng-show = "passwordStrength" >
2015-01-03 21:04:00 -03:00
<!-- if you change this, check it on WP... -->
2015-01-03 18:34:07 -03:00
< div class = "box-icon" ng-if = "passwordStrength.strength< minPasswordStrength" style = "background-color:#dd514c" >
< i class = "fi-x size-24" > < / i >
< / div >
< div class = "box-icon" ng-if = "passwordStrength.strength >= minPasswordStrength" style = "background-color:#16A085" >
< i class = "fi-check size-24" > < / i >
2015-01-03 17:22:06 -03:00
< / div >
2014-12-18 20:05:13 -03:00
< span class = "size-14" >
Password Strength: {{passwordStrength.message}}
< / span >
< / div >
2014-11-27 18:33:07 -03:00
< div class = "input" >
2015-01-03 16:02:38 -03:00
< input id = "password" type = "password" ng-model = "$parent.password" class = "form-control" name = "password" placeholder = "{{'Choose a password'|translate}}" check-strength = "passwordStrength" ng-focus = "formFocus()" >
2014-11-28 16:27:21 -03:00
< i class = "icon-locked" > < / i >
2014-11-27 18:33:07 -03:00
< / div >
2014-12-04 23:32:02 -03:00
2014-12-17 10:37:11 -03:00
2014-11-27 18:33:07 -03:00
< div class = "input" >
2015-01-03 16:02:38 -03:00
< input type = "password" ng-model = "repeatpassword" class = "input form-control" name = "repeatpassword" placeholder = "{{'Repeat password'|translate}}" match = "password" required ng-focus = "formFocus()" >
2014-11-28 16:27:21 -03:00
< i class = "icon-locked" > < / i >
2014-12-09 14:44:53 -03:00
< div class = "icon-input" >
2014-12-05 17:30:10 -03:00
< span translate class = "has-error size-12" ng-show = "passForm.repeatpassword.$dirty & &
passForm.repeatpassword.$invalid">
2014-12-09 14:44:53 -03:00
< i class = "fi-x" > < / i >
{{'Passwords must match'|translate}}
2014-12-05 17:30:10 -03:00
< / span >
2014-12-09 14:44:53 -03:00
< span ng-show = "passForm.repeatpassword.$dirty & &
2014-12-07 14:16:10 -03:00
!passForm.repeatpassword.$invalid">< i class = "fi-check" > < / i >
2014-12-09 14:44:53 -03:00
< / span >
2014-12-05 17:30:10 -03:00
< / div >
2014-12-04 23:32:02 -03:00
< / div >
2014-11-27 15:15:00 -03:00
2014-12-18 20:05:13 -03:00
< button translate type = "submit" class = "button primary radius expand m0" ng-disabled = "passForm.$invalid || passwordStrength.strength < minPasswordStrength" >
2014-12-04 23:32:02 -03:00
Create Profile
2014-11-17 00:35:24 -03:00
< / button >
2014-12-04 19:48:08 -03:00
2014-12-04 23:32:02 -03:00
< div class = "box-setup-footer" >
< div class = "left" >
2014-12-08 03:16:51 -03:00
< a class = "button-setup text-gray" ng-click = "setStep('email')" >
2014-12-04 23:32:02 -03:00
< i class = "icon-arrow-left4" > < / i >
< span translate > Back< / span >
< / a >
< / div >
2014-10-15 16:10:40 -03:00
< / div >
2014-12-04 23:32:02 -03:00
< / form >
2014-09-30 21:16:46 -03:00
< / div >
< / div >
2015-01-29 01:56:32 -03:00
< / div >
2014-12-03 16:01:22 -03:00
2015-01-29 03:14:32 -03:00
< div class = "row m20b" ng-show = "!$root.starting && askForPin" >
2015-01-29 01:56:32 -03:00
< div class = "large-4 large-centered medium-6 medium-centered columns" >
< div class = "clipo" >
2014-12-09 17:44:13 -03:00
< img src = "img/clipo-pin.png" alt = "clipo" width = "380" >
< / div >
2014-12-03 16:01:22 -03:00
2015-01-29 03:14:32 -03:00
< div class = "text-white text-center" ng-show = "askForPin == 2" > Repeat PIN< / div >
2015-01-29 01:56:32 -03:00
< div class = "box-notification" ng-show = "error" >
2014-12-07 14:16:10 -03:00
< div class = "box-icon error" >
< i class = "fi-x size-24" > < / i >
< / div >
< span class = "text-warning size-14" >
2015-01-16 03:41:54 -03:00
{{error|translate}}
< / span >
2014-12-07 14:16:10 -03:00
< / div >
2015-01-29 01:56:32 -03:00
< div ng-include = "'views/includes/pin.html'" > < / div >
< / div >
2014-12-03 16:01:22 -03:00
< / div >
2014-09-30 21:16:46 -03:00
< / div >
2015-01-15 17:16:51 -03:00
< div class = "extra-margin-bottom" > < / div >
2014-09-30 21:16:46 -03:00