mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-11 11:06:16 -08:00
feat: check for available update
This commit is contained in:
5 files changed
+102
-14
No files matched your search
@@ -1,8 +1,14 @@
|
||||
<app-header title="Settings / IPTVnator" subtitle="Change the configuration of the application"></app-header>
|
||||
<app-header
|
||||
title="Settings / IPTVnator"
|
||||
subtitle="Change the configuration of the application"
|
||||
></app-header>
|
||||
<form [formGroup]="settingsForm" (ngSubmit)="onSubmit()" novalidate>
|
||||
<mat-card>
|
||||
<mat-card-header class="card-header">
|
||||
<div mat-card-subtitle>Please adapt the options from the list below and confirm with a save button</div>
|
||||
<div mat-card-subtitle>
|
||||
Please adapt the options from the list below and confirm with a
|
||||
save button
|
||||
</div>
|
||||
</mat-card-header>
|
||||
<mat-card-content>
|
||||
<mat-list>
|
||||
@@ -13,23 +19,45 @@
|
||||
<mat-form-field appearance="fill">
|
||||
<mat-label>Select an option</mat-label>
|
||||
<mat-select formControlName="player">
|
||||
<mat-option *ngFor="let player of players" [value]="player.id">{{player.label}}
|
||||
<mat-option
|
||||
*ngFor="let player of players"
|
||||
[value]="player.id"
|
||||
>{{ player.label }}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
</p>
|
||||
</div>
|
||||
</mat-list-item>
|
||||
<mat-list-item>
|
||||
<div matLine fxLayout="row">
|
||||
<p fxFlex>Version</p>
|
||||
<p fxFlex>
|
||||
{{ version }} <br />
|
||||
{{ updateMessage }}
|
||||
</p>
|
||||
</div>
|
||||
</mat-list-item>
|
||||
</mat-list>
|
||||
</mat-card-content>
|
||||
<mat-card-actions>
|
||||
<button mat-button color="primary" type="submit" [disabled]="settingsForm.pristine">
|
||||
<button
|
||||
mat-button
|
||||
color="primary"
|
||||
type="submit"
|
||||
[disabled]="settingsForm.pristine"
|
||||
>
|
||||
<mat-icon>save</mat-icon> Save changes
|
||||
</button>
|
||||
<div fxFlex></div>
|
||||
<button mat-button color="primary" type="reset" (click)="backToHome()">
|
||||
<button
|
||||
mat-button
|
||||
color="primary"
|
||||
type="reset"
|
||||
(click)="backToHome()"
|
||||
>
|
||||
<mat-icon>chevron_left</mat-icon> Back to home
|
||||
</button>
|
||||
</mat-card-actions>
|
||||
</mat-card>
|
||||
</form>
|
||||
</form>
|
||||
Reference in new issue
Block a user