This commit is contained in:
Michele Artini 2023-02-14 11:17:37 +01:00
parent 9e2be69d98
commit 7d36713db7
6 changed files with 48 additions and 10 deletions

View File

@ -7,9 +7,18 @@
</p>
<p>
<a mat-stroked-button color="primary" [routerLink]="['/adv_resources/context']">Return to contexts list</a>
<button mat-stroked-button color="primary" (click)="showParamsDialog(context?.parameters)">Global parameters</button>
<a mat-stroked-button color="primary" href="/api/contexts/{{context?.id}}" target="_blank">Download</a>
<a mat-stroked-button color="primary" [routerLink]="['/adv_resources/context']">
<mat-icon fontIcon="home"></mat-icon>
Return to contexts list
</a>
<button mat-stroked-button color="primary" (click)="showParamsDialog(context?.parameters)">
<mat-icon fontIcon="info"></mat-icon>
Global parameters
</button>
<a mat-stroked-button color="link" href="/api/contexts/{{context?.id}}" target="_blank">
<mat-icon fontIcon="download"></mat-icon>
Download
</a>
</p>
<ul>

View File

@ -1,4 +1,10 @@
<h2>Metadata Store Inspector</h2>
<p>
<a mat-stroked-button color="primary" [routerLink]="['/mdstores']">
<mat-icon fontIcon="home"></mat-icon>
return to mdstore list
</a>
</p>
<table class="mdstore-table">
<tr>

View File

@ -1,7 +1,15 @@
<h2>Metadata Stores</h2>
<button mat-stroked-button color="primary" (click)="openAddMdstoreDialog()">create a new mdstore</button>
<button mat-stroked-button color="primary" (click)="reload()">refresh</button>
<p>
<button mat-stroked-button color="primary" (click)="openAddMdstoreDialog()">
<mat-icon fontIcon="add"></mat-icon>
create a new mdstore
</button>
<button mat-stroked-button color="primary" (click)="reload()">
<mat-icon fontIcon="refresh"></mat-icon>
refresh
</button>
</p>
<mat-form-field appearance="fill" floatLabel="always" style="width: 100%; margin-top: 10px;">
<mat-label><b>Filter</b> (Total: {{(mdstores | searchFilter: searchText).length}})</mat-label>

View File

@ -1,6 +1,9 @@
<h2>{{type.name}}</h2>
<button mat-stroked-button color="primary" (click)="openNewDialog()">create a new resource</button>
<button mat-stroked-button color="primary" (click)="openNewDialog()">
<mat-icon fontIcon="add"></mat-icon>
create a new resource
</button>
<mat-form-field appearance="fill" floatLabel="always" style="width: 100%; margin-top: 10px;">
<mat-label><b>Filter</b> (Total: {{(resources | searchFilter: searchText).length}})</mat-label>

View File

@ -1,6 +1,9 @@
<h2>Vocabularies</h2>
<button mat-stroked-button color="primary" (click)="newVocabularyDialog()">create a new vocabulary</button>
<button mat-stroked-button color="primary" (click)="newVocabularyDialog()">
<mat-icon fontIcon="add"></mat-icon>
create a new vocabulary
</button>
<mat-form-field appearance="fill" floatLabel="always" style="width: 100%; margin-top: 10px;">
<mat-label>Filter</mat-label>

View File

@ -7,9 +7,18 @@
</p>
<p>
<a mat-stroked-button color="primary" [routerLink]="['/adv_resources/vocabulary']">return to vocabulary list</a>
<button mat-stroked-button color="primary" (click)="newVocabularyTermDialog()">create a new term</button>
<a mat-stroked-button color="primary" href="/api/vocs/{{voc?.id}}/terms" target="_blank">Download</a>
<a mat-stroked-button color="primary" [routerLink]="['/adv_resources/vocabulary']">
<mat-icon fontIcon="home"></mat-icon>
return to vocabulary list
</a>
<button mat-stroked-button color="primary" (click)="newVocabularyTermDialog()">
<mat-icon fontIcon="add"></mat-icon>
create a new term
</button>
<a mat-stroked-button color="link" href="/api/vocs/{{voc?.id}}/terms" target="_blank">
<mat-icon fontIcon="download"></mat-icon>
Download
</a>
</p>
<mat-form-field appearance="fill" floatLabel="always" style="width: 100%; margin-top: 10px;">