1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/admin/admin.component.html
2017-07-09 14:23:50 +02:00

28 lines
891 B
HTML

<app-frame>
<div body class="container">
<div class="panel panel-default" *ngIf="notificationService.notifications.length>0">
<div class="panel-heading">
<h3 class="panel-title">Server notifications</h3>
</div>
<div class="panel-body">
<ng-container *ngFor="let notification of notificationService.notifications">
<div class="alert alert-{{NotificationType[notification.type]}}" role="alert">
{{notification.message}}
<br *ngIf="notification.details"/>
{{notification.details | json}}
</div>
</ng-container>
</div>
<div class="panel-footer">
To dismiss these notifications, restart the server.
</div>
</div>
<settings-usermanager *ngIf="userManagementEnable"></settings-usermanager>
<settings-database></settings-database>
</div>
</app-frame>