|
|
@ -4,45 +4,56 @@
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</mat-toolbar>
|
|
|
|
</mat-toolbar>
|
|
|
|
<div class="details-content" fxLayout="row">
|
|
|
|
<div class="details-content" fxLayout="row">
|
|
|
|
<div class="repository-metadata" fxFlex="100%">
|
|
|
|
<div class="repository-metadata" fxFlex="50%">
|
|
|
|
<h1>Stats</h1>
|
|
|
|
<div class="stats-container">
|
|
|
|
<app-metadata-entry *ngIf="repository.path" attributeName="Path">{{repository.path}}</app-metadata-entry>
|
|
|
|
<h1>Stats</h1>
|
|
|
|
<app-metadata-entry *ngIf="repository.address"
|
|
|
|
<app-metadata-entry *ngIf="repository.path" attributeName="Path">{{repository.path}}</app-metadata-entry>
|
|
|
|
attributeName="Address">{{repository.address}}</app-metadata-entry>
|
|
|
|
<app-metadata-entry *ngIf="repository.address"
|
|
|
|
<app-metadata-entry attributeName="File Count">
|
|
|
|
attributeName="Address">{{repository.address}}</app-metadata-entry>
|
|
|
|
<mat-progress-bar *ngIf="!metadata"></mat-progress-bar>
|
|
|
|
<app-metadata-entry attributeName="File Count">
|
|
|
|
{{metadata ? metadata!.file_count.toString() : ''}}
|
|
|
|
<mat-progress-bar *ngIf="!metadata"></mat-progress-bar>
|
|
|
|
</app-metadata-entry>
|
|
|
|
{{metadata ? metadata!.file_count.toString() : ''}}
|
|
|
|
<app-metadata-entry attributeName="Tag Count">
|
|
|
|
</app-metadata-entry>
|
|
|
|
<mat-progress-bar *ngIf="!metadata"></mat-progress-bar>
|
|
|
|
<app-metadata-entry attributeName="Tag Count">
|
|
|
|
{{metadata ? metadata!.tag_count.toString() : ''}}
|
|
|
|
<mat-progress-bar *ngIf="!metadata"></mat-progress-bar>
|
|
|
|
</app-metadata-entry>
|
|
|
|
{{metadata ? metadata!.tag_count.toString() : ''}}
|
|
|
|
<app-metadata-entry attributeName="Namespace Count">
|
|
|
|
</app-metadata-entry>
|
|
|
|
<mat-progress-bar *ngIf="!metadata"></mat-progress-bar>
|
|
|
|
<app-metadata-entry attributeName="Namespace Count">
|
|
|
|
{{metadata ? metadata!.namespace_count.toString() : ''}}
|
|
|
|
<mat-progress-bar *ngIf="!metadata"></mat-progress-bar>
|
|
|
|
</app-metadata-entry>
|
|
|
|
{{metadata ? metadata!.namespace_count.toString() : ''}}
|
|
|
|
<app-metadata-entry attributeName="Mapping Count">
|
|
|
|
</app-metadata-entry>
|
|
|
|
<mat-progress-bar *ngIf="!metadata"></mat-progress-bar>
|
|
|
|
<app-metadata-entry attributeName="Mapping Count">
|
|
|
|
{{metadata ? metadata!.mapping_count.toString() : ''}}
|
|
|
|
<mat-progress-bar *ngIf="!metadata"></mat-progress-bar>
|
|
|
|
</app-metadata-entry>
|
|
|
|
{{metadata ? metadata!.mapping_count.toString() : ''}}
|
|
|
|
<app-metadata-entry attributeName="Total Size">
|
|
|
|
</app-metadata-entry>
|
|
|
|
<mat-progress-bar *ngIf="(this.totalSize | async) === undefined" mode="indeterminate"></mat-progress-bar>
|
|
|
|
<app-metadata-entry attributeName="Total Size">
|
|
|
|
{{this.totalSize | async}}
|
|
|
|
<mat-progress-bar *ngIf="(this.totalSize | async) === undefined"
|
|
|
|
</app-metadata-entry>
|
|
|
|
mode="indeterminate"></mat-progress-bar>
|
|
|
|
<app-metadata-entry attributeName="File Folder Size">
|
|
|
|
{{this.totalSize | async}}
|
|
|
|
<mat-progress-bar *ngIf="(this.fileFolderSize | async) === undefined"
|
|
|
|
</app-metadata-entry>
|
|
|
|
mode="indeterminate"></mat-progress-bar>
|
|
|
|
<app-metadata-entry attributeName="File Folder Size">
|
|
|
|
{{this.fileFolderSize | async}}
|
|
|
|
<mat-progress-bar *ngIf="(this.fileFolderSize | async) === undefined"
|
|
|
|
</app-metadata-entry>
|
|
|
|
mode="indeterminate"></mat-progress-bar>
|
|
|
|
<app-metadata-entry attributeName="Thumbnail Folder Size">
|
|
|
|
{{this.fileFolderSize | async}}
|
|
|
|
<mat-progress-bar *ngIf="(this.thumbFolderSize | async) === undefined"
|
|
|
|
</app-metadata-entry>
|
|
|
|
mode="indeterminate"></mat-progress-bar>
|
|
|
|
<app-metadata-entry attributeName="Thumbnail Folder Size">
|
|
|
|
{{this.thumbFolderSize | async}}
|
|
|
|
<mat-progress-bar *ngIf="(this.thumbFolderSize | async) === undefined"
|
|
|
|
</app-metadata-entry>
|
|
|
|
mode="indeterminate"></mat-progress-bar>
|
|
|
|
<app-metadata-entry attributeName="Database File Size">
|
|
|
|
{{this.thumbFolderSize | async}}
|
|
|
|
<mat-progress-bar *ngIf="(this.databaseFileSize | async) === undefined"
|
|
|
|
</app-metadata-entry>
|
|
|
|
mode="indeterminate"></mat-progress-bar>
|
|
|
|
<app-metadata-entry attributeName="Database File Size">
|
|
|
|
{{this.databaseFileSize | async}}
|
|
|
|
<mat-progress-bar *ngIf="(this.databaseFileSize | async) === undefined"
|
|
|
|
</app-metadata-entry>
|
|
|
|
mode="indeterminate"></mat-progress-bar>
|
|
|
|
|
|
|
|
{{this.databaseFileSize | async}}
|
|
|
|
|
|
|
|
</app-metadata-entry>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="repository-charts" fxFlex="50%">
|
|
|
|
|
|
|
|
<app-chart *ngIf="this.chartData"
|
|
|
|
|
|
|
|
[datasets]="this.chartData"
|
|
|
|
|
|
|
|
[labels]="this.chartLabels"
|
|
|
|
|
|
|
|
chartType="doughnut"
|
|
|
|
|
|
|
|
class="size-chart"
|
|
|
|
|
|
|
|
title="Sizes"></app-chart>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|