Initial commit for gisaf/fastapi
This commit is contained in:
commit
adce44722f
1361 changed files with 42521 additions and 0 deletions
80
src/app/info/info-misc/info-misc.component.html
Normal file
80
src/app/info/info-misc/info-misc.component.html
Normal file
|
@ -0,0 +1,80 @@
|
|||
<mat-tab-group [class]="inMap ? 'in-map' : ''" fxFlexFill>
|
||||
<mat-tab>
|
||||
<ng-template mat-tab-label>
|
||||
<mat-icon matTooltip="Miscelenous information, depends on the kind of feature">toc</mat-icon>
|
||||
</ng-template>
|
||||
<table>
|
||||
<tr>
|
||||
<td>id</td>
|
||||
<td>{{ source.featureInfo.id }}</td>
|
||||
</tr>
|
||||
<tr *ngFor="let infoItem of source.featureInfo.infoItems">
|
||||
<td>{{ infoItem.key }}</td>
|
||||
<td>{{ infoItem.value }}</td>
|
||||
</tr>
|
||||
<tr *ngIf="source.featureInfo.externalRecordUrl">
|
||||
<td>External link</td>
|
||||
<span class='link' (click)='source.featureInfo.openExternalRecord()'>{{ source.featureInfo.externalRecordUrl }}</span>
|
||||
</tr>
|
||||
</table>
|
||||
</mat-tab>
|
||||
<mat-tab>
|
||||
<ng-template mat-tab-label>
|
||||
<mat-icon matTooltip="Geography information: coordinates, area, etc">explore</mat-icon>
|
||||
</ng-template>
|
||||
<table>
|
||||
<tr *ngFor="let infoItem of source.featureInfo.geoInfoItems">
|
||||
<td>{{ infoItem.key }}</td>
|
||||
<td>{{ infoItem.value }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</mat-tab>
|
||||
<mat-tab [disabled]="hasSurveyInfo()">
|
||||
<ng-template mat-tab-label>
|
||||
<mat-icon matTooltip="Survey information: category, surveyor, equipment, date, accuracy, status, etc">location_searching</mat-icon>
|
||||
</ng-template>
|
||||
<table>
|
||||
<tr *ngFor="let infoItem of source.featureInfo.surveyInfoItems">
|
||||
<td>{{ infoItem.key }}</td>
|
||||
<td>{{ infoItem.value }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</mat-tab>
|
||||
<mat-tab [disabled]="source.modelInfo.legend.length == 0">
|
||||
<ng-template mat-tab-label>
|
||||
<mat-icon matTooltip="Legend">dns</mat-icon>
|
||||
</ng-template>
|
||||
<table>
|
||||
<tr *ngFor="let legendItem of source.modelInfo.legend">
|
||||
<td>{{ legendItem.key }}</td>
|
||||
<td>{{ legendItem.value }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</mat-tab>
|
||||
<!--
|
||||
<mat-tab>
|
||||
<ng-template mat-tab-label>
|
||||
<mat-icon matTooltip="Miscelenous information, depends on the kind of feature">toc</mat-icon>
|
||||
</ng-template>
|
||||
<gisaf-info-misc fxFlexFill [inMap]='inMap'>
|
||||
</gisaf-info-misc>
|
||||
</mat-tab>
|
||||
-->
|
||||
<mat-tab>
|
||||
<ng-template mat-tab-label>
|
||||
<mat-icon matTooltip="Attachments: files and pictures">attach_file</mat-icon>
|
||||
</ng-template>
|
||||
<gisaf-info-attachments fxFlexFill
|
||||
[source]="source">
|
||||
</gisaf-info-attachments>
|
||||
</mat-tab>
|
||||
<mat-tab *ngFor="let categorizedInfoItems of source.featureInfo.categorizedInfoItems"
|
||||
[label]='categorizedInfoItems.name'>
|
||||
<table>
|
||||
<tr *ngFor="let categorizedInfoItem of categorizedInfoItems.infoItems">
|
||||
<th>{{ categorizedInfoItem.key }}</th>
|
||||
<td>{{ categorizedInfoItem.value }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</mat-tab>
|
||||
</mat-tab-group>
|
Loading…
Add table
Add a link
Reference in a new issue