ota-wizard: nice layout for first step

ios
Norwin 6 years ago
parent 776cd0dc85
commit b623d53971

@ -8,26 +8,34 @@
</ion-header> </ion-header>
<ion-content padding="false"> <!-- FIXME: remove padding --> <ion-content padding="false"> <!-- FIXME: remove padding -->
<ion-slides pager> <ion-slides #slides pager (ionSlideDidChange)="onSlideChange()">
<ion-slide>
<h1>Welcome</h1>
<img src="TODO-nice-wifi-sensebox-pictrogram>" />
<p> <!-- intro -->
To program your senseBox wirelessly, please follow these steps. <ion-slide>
We will help you connect to your senseBox via WiFi. <ion-grid>
<br/> <ion-row>
Please make sure that your senseBox.. <ion-col col-lg-6>
<ion-icon name="wifi" style="font-size: 160px"></ion-icon>
<h2>Welcome</h2>
</p> <p>
To <b>program your senseBox</b> wirelessly, please follow these steps.
We will help you connect to your senseBox via <b>WiFi</b>.
</p>
</ion-col>
<ul style="text-align: left"> <ion-col col-lg-6>
<li>has the WiFi shield plugged in</li> <p>First, please make sure that your senseBox...</p>
<li>has the initial OTA sketch installed</li> <ul style="text-align: left">
<li>TODO review this list foo bar lorem ipsum</li> <li>has the <b>WiFi shield</b> plugged in</li>
</ul> <li>has the initial <b>OTA sketch</b> installed</li>
</ul>
<button ion-button large clear icon-end color="primary" (click)="slides.slideNext()">
Continue
<ion-icon name="arrow-forward"></ion-icon>
</button>
</ion-col>
</ion-row>
</ion-grid>
</ion-slide> </ion-slide>
<ion-slide> <ion-slide>

@ -4,4 +4,33 @@ page-ota-wizard {
.swiper-pagination-bullet-active { .swiper-pagination-bullet-active {
background: map-get($colors, primary); background: map-get($colors, primary);
} }
ion-slide {
img {
max-height: 50%;
max-width: 60%;
margin: 18px 0;
& ~ h2 {
margin-top: 2.8rem;
}
}
p, ul {
padding: 0 20px;
font-size: 16px;
line-height: 1.4;
color: #60646B;
b {
color: #000000;
font-weight: 500;
}
}
ul {
margin-left: 3%;
list-style-type: disc;
}
}
} }

Loading…
Cancel
Save