-
Notifications
You must be signed in to change notification settings - Fork 88
/
component.html
63 lines (54 loc) · 1.47 KB
/
component.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<div
class="gmf-profile-container panel"
ng-show="ctrl.active">
<div
class="ngeo-profile"
ng-show="!ctrl.isErrored"
ngeo-profile="ctrl.profileData"
ngeo-profile-highlight="ctrl.profileHighlight"
ngeo-profile-options="::ctrl.profileOptions">
</div>
<ul
class="gmf-profile-legend"
ng-show="!ctrl.isErrored">
<li ng-repeat="name in ::ctrl.getLayersNames()">
<i
class="fa fa-minus"
ng-style="ctrl.getStyle(name)"></i>
{{name | translate}}
<span ng-if="ctrl.currentPoint.elevations[name] != null">
{{ctrl.currentPoint.elevations[name]}} {{ctrl.currentPoint.yUnits}}
</span>
</li>
</ul>
<div
class="gmf-profile-export btn-group dropup"
ng-show="!ctrl.isErrored">
<a
class="dropdown-toggle"
href=""
ng-show="ctrl.profileData.length !== 0"
data-toggle="dropdown"
aria-expanded="false">
{{'Export' | translate}} <i class="fa fa-caret-up"></i>
</a>
<ul
class="dropdown-menu dropdown-menu-right"
role="menu">
<li>
<a
href=""
ng-click="::ctrl.downloadCsv()">
<i class="fa fa-table"></i> {{'Download CSV' | translate}}</a>
</li>
</ul>
</div>
<div
class="gmf-profile-error"
ng-show="ctrl.isErrored">
<p>{{'The profile service does not respond, please try later.' | translate}}</p>
</div>
<div
class="close"
ng-click="ctrl.line = null">×</div>
</div>