mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
chore: cleanup and small misc fixes
display success alert if on latest EOS after check for update fix bug with loader dismiss after alert present fix restart button on update complete alert and fix mocks to account for this state fix make clean and adjust default registry names
This commit is contained in:
@@ -66,22 +66,30 @@
|
||||
<ion-footer>
|
||||
<ion-toolbar>
|
||||
<ng-container *ngIf="!initializing && swiper">
|
||||
<ion-buttons slot="end" style="padding-right: 8px">
|
||||
<ion-buttons slot="end" class="ion-padding-end">
|
||||
<ion-button
|
||||
*ngIf="error; else noError"
|
||||
fill="solid"
|
||||
color="dark"
|
||||
(click)="dismiss()"
|
||||
class="enter-click"
|
||||
class="enter-click btn-128"
|
||||
>
|
||||
<b>Dismiss</b>
|
||||
Dismiss
|
||||
</ion-button>
|
||||
<ng-template #noError>
|
||||
<ion-button
|
||||
*ngIf="!currentSlide.loading && !swiper.isEnd"
|
||||
fill="solid"
|
||||
color="primary"
|
||||
(click)="next()"
|
||||
class="enter-click"
|
||||
class="enter-click btn-128"
|
||||
[class.no-click]="currentSlide.loading"
|
||||
>
|
||||
<b>Continue</b>
|
||||
{{
|
||||
currentIndex < swiper.slides.length - 2
|
||||
? 'Continue'
|
||||
: params.submitBtn
|
||||
}}
|
||||
</ion-button>
|
||||
</ng-template>
|
||||
</ion-buttons>
|
||||
|
||||
@@ -27,6 +27,7 @@ export class AppWizardComponent {
|
||||
action: WizardAction
|
||||
title: string
|
||||
slides: SlideDefinition[]
|
||||
submitBtn: string
|
||||
version?: string
|
||||
}
|
||||
|
||||
@@ -76,7 +77,6 @@ export class AppWizardComponent {
|
||||
}
|
||||
|
||||
setError(e: any) {
|
||||
console.log(e)
|
||||
this.error = e
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
{{ v.version }}
|
||||
</b>
|
||||
</h4>
|
||||
<hr style="height: 0; border-width: 1px" />
|
||||
<div class="underline" style="margin: unset"></div>
|
||||
<div [innerHTML]="v.notes | markdown"></div>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
@@ -63,6 +63,7 @@ export class WizardDefs {
|
||||
title,
|
||||
version,
|
||||
slides: slides.filter(exists),
|
||||
submitBtn: 'Begin Update',
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,6 +111,7 @@ export class WizardDefs {
|
||||
title,
|
||||
version,
|
||||
slides: slides.filter(exists),
|
||||
submitBtn: 'Begin Update',
|
||||
}
|
||||
}
|
||||
|
||||
@@ -160,6 +162,7 @@ export class WizardDefs {
|
||||
title,
|
||||
version,
|
||||
slides: slides.filter(exists),
|
||||
submitBtn: 'Begin Downgrade',
|
||||
}
|
||||
}
|
||||
|
||||
@@ -199,6 +202,7 @@ export class WizardDefs {
|
||||
action: 'uninstall',
|
||||
title,
|
||||
slides: slides.filter(exists),
|
||||
submitBtn: 'Uninstall Anyway',
|
||||
}
|
||||
}
|
||||
|
||||
@@ -228,6 +232,7 @@ export class WizardDefs {
|
||||
action: 'stop',
|
||||
title,
|
||||
slides: slides.filter(exists),
|
||||
submitBtn: 'Stop Anyway',
|
||||
}
|
||||
}
|
||||
|
||||
@@ -261,6 +266,7 @@ export class WizardDefs {
|
||||
action: 'configure',
|
||||
title,
|
||||
slides: slides.filter(exists),
|
||||
submitBtn: 'Configure Anyway',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
rendering.display === PR[PS.Stopping].display &&
|
||||
(sigtermTimeout | durationToSeconds) > 30
|
||||
"
|
||||
>This may take a while.</span
|
||||
>this may take a while</span
|
||||
>
|
||||
</span>
|
||||
<span *ngIf="installProgress">
|
||||
|
||||
Reference in New Issue
Block a user