matrix-dimension/web/app/admin/home/home.component.html

46 lines
2.0 KiB
HTML
Raw Normal View History

<div *ngIf="isLoading">
<my-spinner></my-spinner>
</div>
<div *ngIf="!isLoading">
<my-ibox boxTitle="{{'Configuration' | translate}}">
<div class="my-ibox-content">
2019-07-11 00:17:16 -04:00
<p>
{{'Parts of your configuration are displayed below. To change these values, edit your configuration and restart Dimension.' | translate}}
2019-07-11 00:17:16 -04:00
</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/>
2019-07-11 00:17:16 -04:00
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>
2019-03-12 21:08:12 -04:00
<div class="row">
<div class="col-md-4">
<strong>{{'Sessions' | translate}}</strong><br/>
{{'Tokens registered' | translate}}: {{ config.sessionInfo.numTokens }}<br/>
2019-03-12 21:08:12 -04:00
<button class="btn btn-danger btn-sm" type="button" (click)="logoutAll()">
{{'Logout Everyone' | translate}}
2019-03-12 21:08:12 -04:00
</button>
</div>
</div>
</div>
</my-ibox>
</div>