mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 18:31:52 +00:00
* begin subnav implementation * implement subnav AND angular forms for comparison * unions working-ish, list of enums working * new form approach almost complete * finish new forms approach for action inputs and config * expandable list items and handlebars display * Config animation (#394) * config cammel * config animation Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com> * improve server settings inputs, still needs work * delete all notifications, styling, and bugs * contracted by default Co-authored-by: Drew Ansbacher <drew.ansbacher@gmail.com> Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
30 lines
961 B
HTML
30 lines
961 B
HTML
<ion-item-group>
|
|
<!-- error -->
|
|
<ng-container *ngIf="error">
|
|
<ion-item>
|
|
<ion-icon slot="start" name="warning-outline" color="danger" size="small"></ion-icon>
|
|
<ion-label>
|
|
<ion-text class="ion-text-wrap" color="danger">{{ error }}</ion-text>
|
|
</ion-label>
|
|
</ion-item>
|
|
<ion-item-divider *ngIf="spec.description || spec['change-warning']"></ion-item-divider>
|
|
</ng-container>
|
|
<!-- description -->
|
|
<ion-item *ngIf="spec.description">
|
|
<ion-label class="ion-text-wrap">
|
|
<p>
|
|
<ion-text color="dark">Description</ion-text>
|
|
</p>
|
|
<p [innerHTML]="spec.description | markdown"></p>
|
|
</ion-label>
|
|
</ion-item>
|
|
<!-- warning -->
|
|
<ion-item *ngIf="spec['change-warning']">
|
|
<ion-label class="ion-text-wrap">
|
|
<p>
|
|
<ion-text color="warning">Warning!</ion-text>
|
|
</p>
|
|
<p [innerHTML]="spec['change-warning'] | markdown"></p>
|
|
</ion-label>
|
|
</ion-item>
|
|
</ion-item-group> |