Minor visual change to settings

pull/45/head
Isaac Grynsztein 6 years ago
parent 0c60c12124
commit 25b5b28df8

@ -2,7 +2,7 @@
<!-- <ng-container i18n="Allow subscriptions setting"></ng-container> --> <!-- <ng-container i18n="Allow subscriptions setting"></ng-container> -->
<mat-dialog-content> <mat-dialog-content>
<!-- Language --> <!-- Language -->
<div> <div style="margin-bottom: 10px;">
Language:&nbsp;&nbsp;&nbsp;<mat-select class="locale-select" (selectionChange)="localeSelectChanged($event.value)" [(value)]="initialLocale"> Language:&nbsp;&nbsp;&nbsp;<mat-select class="locale-select" (selectionChange)="localeSelectChanged($event.value)" [(value)]="initialLocale">
<mat-option *ngFor="let locale of supported_locales" [value]="locale"> <mat-option *ngFor="let locale of supported_locales" [value]="locale">
{{all_locales[locale]['nativeName']}} {{all_locales[locale]['nativeName']}}
@ -11,7 +11,7 @@
</div> </div>
<!-- Host --> <!-- Host -->
<mat-expansion-panel class="settings-expansion-panel"> <mat-expansion-panel class="settings-expansion-panel mat-elevation-z4">
<mat-expansion-panel-header> <mat-expansion-panel-header>
<mat-panel-title> <mat-panel-title>
<ng-container i18n="Host settings title">Host</ng-container> <ng-container i18n="Host settings title">Host</ng-container>
@ -37,7 +37,7 @@
</mat-expansion-panel> </mat-expansion-panel>
<!-- Encryption --> <!-- Encryption -->
<mat-expansion-panel class="settings-expansion-panel"> <mat-expansion-panel class="settings-expansion-panel mat-elevation-z4">
<mat-expansion-panel-header> <mat-expansion-panel-header>
<mat-panel-title> <mat-panel-title>
<ng-container i18n="Encryption settings title">Encryption</ng-container> <ng-container i18n="Encryption settings title">Encryption</ng-container>
@ -65,7 +65,7 @@
</mat-expansion-panel> </mat-expansion-panel>
<!-- Downloader --> <!-- Downloader -->
<mat-expansion-panel class="settings-expansion-panel"> <mat-expansion-panel class="settings-expansion-panel mat-elevation-z4">
<mat-expansion-panel-header> <mat-expansion-panel-header>
<mat-panel-title> <mat-panel-title>
<ng-container i18n="Downloader settings title">Downloader</ng-container> <ng-container i18n="Downloader settings title">Downloader</ng-container>
@ -104,7 +104,7 @@
</mat-expansion-panel> </mat-expansion-panel>
<!-- Extra --> <!-- Extra -->
<mat-expansion-panel class="settings-expansion-panel"> <mat-expansion-panel class="settings-expansion-panel mat-elevation-z4">
<mat-expansion-panel-header> <mat-expansion-panel-header>
<mat-panel-title> <mat-panel-title>
<ng-container i18n="Extra settings title">Extra</ng-container> <ng-container i18n="Extra settings title">Extra</ng-container>
@ -139,7 +139,7 @@
</mat-expansion-panel> </mat-expansion-panel>
<!-- API --> <!-- API -->
<mat-expansion-panel class="settings-expansion-panel"> <mat-expansion-panel class="settings-expansion-panel mat-elevation-z4">
<mat-expansion-panel-header> <mat-expansion-panel-header>
<mat-panel-title> <mat-panel-title>
<ng-container i18n="API settings title">API</ng-container> <ng-container i18n="API settings title">API</ng-container>
@ -161,7 +161,7 @@
</mat-expansion-panel> </mat-expansion-panel>
<!-- Themes --> <!-- Themes -->
<mat-expansion-panel class="settings-expansion-panel"> <mat-expansion-panel class="settings-expansion-panel mat-elevation-z4">
<mat-expansion-panel-header> <mat-expansion-panel-header>
<mat-panel-title> <mat-panel-title>
<ng-container i18n="Themes settings title">Themes</ng-container> <ng-container i18n="Themes settings title">Themes</ng-container>
@ -184,7 +184,7 @@
</mat-expansion-panel> </mat-expansion-panel>
<!-- Subscriptions --> <!-- Subscriptions -->
<mat-expansion-panel class="settings-expansion-panel"> <mat-expansion-panel class="settings-expansion-panel mat-elevation-z4">
<mat-expansion-panel-header> <mat-expansion-panel-header>
<mat-panel-title> <mat-panel-title>
<ng-container i18n="Subscriptions settings title">Subscriptions</ng-container> <ng-container i18n="Subscriptions settings title">Subscriptions</ng-container>
@ -217,7 +217,7 @@
</mat-expansion-panel> </mat-expansion-panel>
<!-- Extensions --> <!-- Extensions -->
<mat-expansion-panel class="settings-expansion-panel"> <mat-expansion-panel class="settings-expansion-panel mat-elevation-z4">
<mat-expansion-panel-header> <mat-expansion-panel-header>
<mat-panel-title> <mat-panel-title>
<ng-container i18n="Extensions settings title">Extensions</ng-container> <ng-container i18n="Extensions settings title">Extensions</ng-container>
@ -249,7 +249,7 @@
<!-- Advanced --> <!-- Advanced -->
<mat-expansion-panel class="settings-expansion-panel"> <mat-expansion-panel class="settings-expansion-panel mat-elevation-z4">
<mat-expansion-panel-header> <mat-expansion-panel-header>
<mat-panel-title> <mat-panel-title>
<ng-container i18n="Advanced settings title">Advanced</ng-container> <ng-container i18n="Advanced settings title">Advanced</ng-container>
@ -286,7 +286,7 @@
<ng-container i18n="Settings save button">Save</ng-container> <ng-container i18n="Settings save button">Save</ng-container>
</button> </button>
<button mat-flat-button [mat-dialog-close]="false"><mat-icon>cancel</mat-icon>&nbsp;&nbsp; <button mat-flat-button [mat-dialog-close]="false"><mat-icon>cancel</mat-icon>&nbsp;&nbsp;
<ng-container i18n="Settings cancel button">Cancel</ng-container> <span i18n="Settings cancel and close button">{settingsAreTheSame + "", select, true {Close} false {Cancel} other {otha}}</span>
</button> </button>
</div> </div>
</mat-dialog-actions> </mat-dialog-actions>
Loading…
Cancel
Save