/
infopanel.html
executable file
·26 lines (26 loc) · 1.43 KB
/
infopanel.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<div class="card panel-default mainpanel">
<hs.layout.panel-header panel-name="info" panel-title="'Info'||translate"></hs.layout.panel-header>
<div class="card-body">
<hs.query.feature ng-repeat="feature in data.features | orderBy : 'name'" feature="feature"></hs.query.feature>
<table class="table table-striped" style="table-layout:fixed" ng-show="data.attributes.length > 0">
<tr ng-repeat="attribute in data.attributes | orderBy : name">
<td class="first-col">{{attribute.name}}</td>
<td class="second-col" ng-bind-html="attribute.value"></td>
</tr>
</table>
<div class="container-fluid" ng-show="data.coordinates[0].name.length > 0">
<div class="row">
<div class="col-12 m-2"><strong>{{data.coordinates[0].name}}</strong></div>
</div>
<div class="row" ng-repeat="projection in data.coordinates[0].projections | orderBy : name">
<div class="input-group m-1" >
<div class="input-group-prepend">
<span class="input-group-text">{{projection.name}}</span>
</div>
<input class="form-control" ng-value="projection.value"></input>
</div>
</div>
</div>
</div>
<iframe id="invisible_popup" style="display:block; z-index:12122;left:-10000px; position:absolute"></iframe>
</div>