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

59 lines
2.5 KiB
HTML
Raw Normal View History

<app-frame>
2017-07-09 20:23:50 +08:00
<div body class="container">
<div class="panel panel-default" *ngIf="notificationService.notifications.length>0">
<div class="panel-heading">
<h3 class="panel-title" i18n>Server notifications</h3>
2017-07-09 20:23:50 +08:00
</div>
<div class="panel-body">
<ng-container *ngFor="let notification of notificationService.notifications">
2017-07-14 15:28:52 +08:00
<div class="alert alert-{{getCss(notification.type)}}" role="alert">
2017-07-09 20:23:50 +08:00
{{notification.message}}
<br *ngIf="notification.details"/>
{{notification.details | json}}
</div>
</ng-container>
</div>
<div class="panel-footer" i18n>
2017-07-09 20:23:50 +08:00
To dismiss these notifications, restart the server.
</div>
2016-05-01 16:28:05 +08:00
</div>
2017-07-15 23:29:40 +08:00
<div class="form-horizontal">
<div class="form-group">
<label class="col-sm-10 col-xs-8 control-label" for="simplifiedMode" i18n>Mode</label>
<div class="col-sm-2 col-xs-4">
2017-07-15 23:29:40 +08:00
<bSwitch
id="simplifiedMode"
class="switch"
name="simplifiedMode"
[switch-off-color]="'warning'"
[switch-on-color]="'primary'"
[switch-inverse]="'inverse'"
2018-03-30 08:30:23 +08:00
[switch-off-text]="text.Advanced"
[switch-on-text]="text.Simplified"
2017-07-15 23:29:40 +08:00
[switch-handle-width]="'100'"
[switch-label-width]="'20'"
[(ngModel)]="simplifiedMode">
</bSwitch>
</div>
</div>
</div>
2018-05-04 07:17:08 +08:00
<app-settings-basic [simplifiedMode]="simplifiedMode"></app-settings-basic>
<app-settings-usermanager></app-settings-usermanager>
<app-settings-database [simplifiedMode]="simplifiedMode"></app-settings-database>
<app-settings-thumbnail #thumbnail [hidden]="!thumbnail.hasAvailableSettings"
[simplifiedMode]="simplifiedMode"></app-settings-thumbnail>
<app-settings-search #search [hidden]="!search.hasAvailableSettings"
[simplifiedMode]="simplifiedMode"></app-settings-search>
<app-settings-share #share [hidden]="!share.hasAvailableSettings"
[simplifiedMode]="simplifiedMode"></app-settings-share>
<app-settings-map #map [hidden]="!map.hasAvailableSettings" [simplifiedMode]="simplifiedMode"></app-settings-map>
<app-settings-other #other [hidden]="!other.hasAvailableSettings"
[simplifiedMode]="simplifiedMode"></app-settings-other>
<app-settings-indexing #other [hidden]="!other.hasAvailableSettings"
[simplifiedMode]="simplifiedMode"></app-settings-indexing>
2017-07-09 20:23:50 +08:00
</div>
</app-frame>