show mdstore params
This commit is contained in:
parent
e52cdba8a3
commit
438a8a46bc
|
@ -11,7 +11,6 @@ export interface KeyValue {
|
|||
v: string;
|
||||
}
|
||||
|
||||
|
||||
export interface BrowseTerm {
|
||||
term: string,
|
||||
name: string,
|
||||
|
|
|
@ -2,11 +2,14 @@
|
|||
|
||||
<table class="mdstore-table">
|
||||
<tr>
|
||||
<th rowspan="3" class="col-xs-1" style="width: 10em">MdStore</th>
|
||||
<th rowspan="4" class="col-xs-1" style="width: 10em">MdStore</th>
|
||||
<th style="width: 20em">ID</th>
|
||||
<td>{{mdstore?.id}}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<td>{{mdstore?.type}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Format / Layout / Interpretation</th>
|
||||
<td>{{mdstore?.format}} / {{mdstore?.layout}} / {{mdstore?.interpretation}}</td>
|
||||
|
@ -28,9 +31,9 @@
|
|||
{{version?.id}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Parameters</th>
|
||||
<td>{{version?.params}}</td>
|
||||
<tr *ngFor="let e of version?.params | keyvalue">
|
||||
<th>Parameter {{e.key}}</th>
|
||||
<td>{{e.value}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Last Update</th>
|
||||
|
|
|
@ -15,11 +15,14 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr *ngFor="let v of versions" [ngClass]="{'active-row': v.id == data.currentVersion}">
|
||||
<td>
|
||||
<td title="{{v.id}}">
|
||||
<mat-icon fontIcon="edit" *ngIf="v.writing" title="writing..."></mat-icon>
|
||||
<b>{{v.id}}</b>
|
||||
<br />
|
||||
<span class="small"><b>Parameters:</b> {{v.params}}</span><br />
|
||||
<span class="small" *ngFor="let e of v.params | keyvalue">
|
||||
<b>{{e.key}}</b>:
|
||||
{{e.value}}<br />
|
||||
</span>
|
||||
<button mat-stroked-button color="primary" (click)="openInspectorPage(v)">inspect</button>
|
||||
<button mat-stroked-button color="basic" *ngIf="v.writing" (click)="commitVersion(v)">commit</button>
|
||||
<button mat-stroked-button color="warn" *ngIf="v.writing" (click)="abortVersion(v)">abort</button>
|
||||
|
|
|
@ -43,9 +43,9 @@
|
|||
<th>Type</th>
|
||||
<td>{{md.type}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Parameters</th>
|
||||
<td>{{md.params}}</td>
|
||||
<tr *ngFor="let e of md.params | keyvalue">
|
||||
<th>Parameter {{e.key}}</th>
|
||||
<td>{{e.value}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Versions</th>
|
||||
|
|
Loading…
Reference in New Issue