mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 07:11:08 +00:00
style dialog component and close button
This commit is contained in:
parent
6e1828ff63
commit
95f7a26bce
@ -12,6 +12,7 @@ import { MatCardModule } from '@angular/material/card';
|
|||||||
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
||||||
import { MatDialogModule } from '@angular/material/dialog';
|
import { MatDialogModule } from '@angular/material/dialog';
|
||||||
import { MatListModule } from '@angular/material/list'
|
import { MatListModule } from '@angular/material/list'
|
||||||
|
import { MatButtonModule } from '@angular/material/button';
|
||||||
import { FlexLayoutModule } from '@angular/flex-layout';
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
||||||
|
|
||||||
import { httpInterceptorProviders } from './http-interceptors';
|
import { httpInterceptorProviders } from './http-interceptors';
|
||||||
@ -64,6 +65,7 @@ import { CardComponent, CardTitleComponent, CardContentComponent } from './card/
|
|||||||
MatProgressBarModule,
|
MatProgressBarModule,
|
||||||
MatDialogModule,
|
MatDialogModule,
|
||||||
MatListModule,
|
MatListModule,
|
||||||
|
MatButtonModule,
|
||||||
FlexLayoutModule,
|
FlexLayoutModule,
|
||||||
HttpClientModule,
|
HttpClientModule,
|
||||||
HttpClientXsrfModule.withOptions({
|
HttpClientXsrfModule.withOptions({
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div mat-dialog-content>
|
<div mat-dialog-content fxLayout="column" fxLayoutAlign="space-between center">
|
||||||
<mat-list dense>
|
<mat-list>
|
||||||
<mat-list-item *ngFor='let message of messageService.messages'>{{message}}</mat-list-item>
|
<mat-list-item *ngFor='let message of messageService.messages'>{{message}}</mat-list-item>
|
||||||
</mat-list>
|
</mat-list>
|
||||||
<button mat-button [mat-dialog-close] cdkFocusInitial>Close</button>
|
<button mat-stroked-button [mat-dialog-close] cdkFocusInitial>Close</button>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue
Block a user