setup disclaimer view and styles
This commit is contained in:
parent
3b2b7358b8
commit
a78724bcca
6 changed files with 79 additions and 14 deletions
|
|
@ -1,20 +1,20 @@
|
|||
<ion-view>
|
||||
<ion-view id="onboarding-disclaimer" class="onboarding">
|
||||
<ion-content ng-controller="disclaimerController" ng-init="accept1 = accept2 = accept3 = false">
|
||||
<h1 translate>Almost done! Let's review</h1>
|
||||
<span transalate>Bitcoin is different - it cannot be safely held with a bank or web service </span>
|
||||
<ion-list class="disclaimer">
|
||||
<ion-checkbox ng-model="accept1"><span translate>I undestand my funds are held securely on this device, not by company.</span></ion-checkbox>
|
||||
<ion-checkbox ng-model="accept2"><span translate>I understand if this wallet is lost or deleted, my bitcoin can onlt be recovered with the backup phrase</span></ion-checkbox>
|
||||
<ion-checkbox ng-model="accept3"><span translate>I have read, understood, and agree with the Terms of use.</span></ion-checkbox>
|
||||
</ion-list>
|
||||
<div class="text-center">
|
||||
<a ui-sref="onboarding.terms" translate>Terms of use</a>
|
||||
<div class="row text-center">
|
||||
<h3 translate class="col-75 col">Almost done! Let's review</h3>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<p translate class="col col-75">
|
||||
Bitcoin is different - it cannot be safely held with a bank or web service
|
||||
</p>
|
||||
</div>
|
||||
<ion-list class="disclaimer">
|
||||
<ion-checkbox ng-model="accept1"><span translate>I understand my funds are held securely on this device, not by a company.</span></ion-checkbox>
|
||||
<ion-checkbox ng-model="accept2"><span translate>I understand if this wallet is lost or deleted, my bitcoin can only be recovered with the backup phrase.</span></ion-checkbox>
|
||||
</ion-list>
|
||||
<div id="agree-to-terms" ng-if="accept1&&accept2">
|
||||
<ion-checkbox ng-model="accept3"></ion-checkbox><p translate>I have read, understood, and agree with the <a ui-sref="onboarding.terms" translate>Terms of use</a>.</p>
|
||||
<button ng-disabled="!accept1 || !accept2 || !accept3" class="button button-block button-positive" ng-click="confirm()" translate>Confirm & Finish</button>
|
||||
</div>
|
||||
<button
|
||||
ng-disabled="!accept1 || !accept2 || !accept3"
|
||||
class="button button-block button-positive"
|
||||
ng-click="confirm()"
|
||||
translate>Confirm & Finish
|
||||
</button>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
|
|
|
|||
0
src/sass/forms.scss
Normal file
0
src/sass/forms.scss
Normal file
|
|
@ -2,6 +2,7 @@
|
|||
$font-family-sans-serif: "Roboto", sans-serif;
|
||||
$font-family-light-sans-serif: "Roboto-Light", sans-serif-light;
|
||||
$royal: #1e3186;
|
||||
$soft-blue: rgb(100,124,232);
|
||||
$base-background-color: #f5f5f5;
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -991,6 +991,7 @@ input[type=number] {
|
|||
|
||||
@import "ionic";
|
||||
@import "common";
|
||||
@import "forms";
|
||||
@import 'mixins/mixins';
|
||||
@import "views/add";
|
||||
@import "views/tab-home";
|
||||
|
|
|
|||
62
src/sass/views/onboarding/onboard-disclaimer.scss
Normal file
62
src/sass/views/onboarding/onboard-disclaimer.scss
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
#onboarding-disclaimer {
|
||||
color: #fff;
|
||||
.item {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #fff;
|
||||
.checkbox input:before,
|
||||
.checkbox .checkbox-icon:before {
|
||||
border-radius: 50% !important;
|
||||
background: none;
|
||||
border-width: 2px;
|
||||
padding: .9rem;
|
||||
position: relative;
|
||||
left: -7px;
|
||||
top: -8px;
|
||||
}
|
||||
.checkbox input:checked:before,
|
||||
.checkbox input:checked + .checkbox-icon:before {
|
||||
border-color: rgb(19, 229, 182);
|
||||
}
|
||||
.checkbox input:checked:after,
|
||||
input:checked + .checkbox-icon:after {
|
||||
border-color: rgb(19, 229, 182);
|
||||
}
|
||||
.item-content {
|
||||
width: 90%;
|
||||
margin-left: 6%;
|
||||
}
|
||||
}
|
||||
.item-checkbox .checkbox {
|
||||
margin-left: 3%;
|
||||
top:44%;
|
||||
}
|
||||
#agree-to-terms{
|
||||
background: #fff;
|
||||
padding:1rem;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
.item{
|
||||
color:rgb(58,58,58);
|
||||
padding-bottom: 1.2rem;
|
||||
.item-content{
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
p{
|
||||
color:rgb(58,58,58);
|
||||
}
|
||||
.checkbox input:before,
|
||||
.checkbox .checkbox-icon:before{
|
||||
border-color:$soft-blue;
|
||||
}
|
||||
.checkbox input:checked:before,
|
||||
.checkbox input:checked + .checkbox-icon:before {
|
||||
border-color: rgb(19, 229, 182);
|
||||
}
|
||||
button{
|
||||
margin-top:1.5rem;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -76,3 +76,4 @@
|
|||
@import "onboard-collect-email";
|
||||
@import "onboard-backup-request";
|
||||
@import "onboard-backup-warning";
|
||||
@import "onboard-disclaimer";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue