ota-wizard: nice layout for first step

ios
Norwin 6 years ago
parent 776cd0dc85
commit b623d53971

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

@ -4,4 +4,33 @@ page-ota-wizard {
.swiper-pagination-bullet-active {
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