matrix-dimension/web/app/admin/home/home.component.html
Ahmad 9dc4e99aca translation
- the traslation feature without the changes from other branches
2020-10-23 13:30:20 +02:00

46 lines
2.0 KiB
HTML

<div *ngIf="isLoading">
<my-spinner></my-spinner>
</div>
<div *ngIf="!isLoading">
<my-ibox boxTitle="{{'Configuration' | translate}}">
<div class="my-ibox-content">
<p>
{{'Parts of your configuration are displayed below. To change these values, edit your configuration and restart Dimension.' | translate}}
</p>
<div class="row">
<div class="col-md-4">
<strong>{{'Administrators' | translate}}</strong>
<ul>
<li *ngFor="let user of config.admins trackById">{{ user }}</li>
</ul>
</div>
<div class="col-md-4">
<strong>{{'Widget Blacklist' | translate}}</strong>
<ul>
<li *ngFor="let ip of config.widgetBlacklist trackById">{{ ip }}</li>
</ul>
</div>
<div class="col-md-4">
<strong>{{'Homeserver' | translate}}</strong><br/>
Name: {{ config.homeserver.name }}<br/>
{{'Federation URL' | translate}}: {{ config.homeserver.federationUrl }}<br/>
{{'Federation Hostname' | translate}}: {{ config.homeserver.federationHostname }}<br/>
{{'Client/Server URL'| translate}}: {{ config.homeserver.clientServerUrl }}<br/>
{{'Utility User ID' | translate}}: {{ config.homeserver.userId }}
</div>
</div>
<div class="row">
<div class="col-md-4">
<strong>{{'Sessions' | translate}}</strong><br/>
{{'Tokens registered' | translate}}: {{ config.sessionInfo.numTokens }}<br/>
<button class="btn btn-danger btn-sm" type="button" (click)="logoutAll()">
{{'Logout Everyone' | translate}}
</button>
</div>
</div>
</div>
</my-ibox>
</div>