Skip to content

Commit bbc9f80

Browse files
committed
fixed minor css bugs: alert, page lock
1 parent 8e0ba06 commit bbc9f80

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

src/pages/wizard/wizard.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ <h1 class="h1">Questionnaire 2/3</h1>
258258
</form>
259259
</div>
260260
</ion-slide>
261-
<ion-slide>
261+
<ion-slide class= 'quest-slide'>
262262
<div class='top-question'>
263263
<ion-list class="question-header" >
264264
<ion-list-header class='inner-question-header' >
@@ -320,7 +320,7 @@ <h1 id="end-wizard-h" class="h1">Thank you for using the Wizard</h1>
320320
</ion-list-header>
321321
<p class="h2">You may begin by taking the self assesment.</p>
322322
</ion-list >
323-
</div>
323+
324324
<!-- <div class='top-simple'>
325325
<div class="top-message">
326326
<h1>Thanks for using the Wizard</h1>
@@ -331,6 +331,7 @@ <h1>Thanks for using the Wizard</h1>
331331
<button class='button1' ion-button>Dashboard</button>
332332
<button class='button1' ion-button>Take Assesment</button>
333333
</div>
334+
</div>
334335
</ion-slide>
335336

336337
</ion-slides>

src/pages/wizard/wizard.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class WizardPage implements OnInit {
169169
slideChanged() {
170170
let index = this.slides.realIndex;
171171
console.log(index);
172-
if((index == 5 && !this.firstForm.valid) || (index == 6 && !this.secondForm.valid) || (index == 7 && !this.thirdForm.valid)) {
172+
if((index == 5 && !this.firstForm.valid) || (index == 6 && !this.secondForm.valid) || (index == 7 && !this.thirdForm.valid) || (index == 8)) {
173173
this.nextButton = true;
174174
this.shouldLockSwipeToNext = true;
175175
}else {
@@ -278,7 +278,8 @@ export class WizardPage implements OnInit {
278278
vetTouched: boolean = false;
279279
showVetOptions() {
280280
let vetAlert = this.alertCtrl.create({
281-
message: "Select one"
281+
message: "Select one",
282+
cssClass: "branchRadio"
282283
});
283284
vetAlert.setTitle('Military Status');
284285

@@ -389,7 +390,8 @@ export class WizardPage implements OnInit {
389390
employedAnswer: string= "";
390391
showEmployedRadio() {
391392
let alert = this.alertCtrl.create({
392-
message: "Select one"
393+
message: "Select one",
394+
cssClass: "branchRadio"
393395
});
394396
alert.setTitle('Employment');
395397

0 commit comments

Comments
 (0)