Skip to content

Commit

Permalink
new api template for meteolux
Browse files Browse the repository at this point in the history
  • Loading branch information
rmichaelis committed Oct 7, 2024
1 parent 4dd9f58 commit 253a573
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<h1>{{layers.layerLabel | translate}}</h1>
<div ng-repeat="feature in layers.features" class="poi-feature">
<h3>{{feature.attributes.station}} ({{feature.attributes.icao}})</h3>
<label>{{feature.attributes.weather}}</label>&nbsp;<span>{{feature.attributes.temperature}}°C</span>
</div>
% if features:
## -*- coding: utf-8 -*-
% for feature in features:
<h3>${feature['attributes']['station']} ({{${feature['attributes']['icao']}}})</h3>
<label>${feature['attributes']['weather']}</label>&nbsp;<span>${feature['attributes']['temperature']}°C</span>
% endif
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<h1>{{layers.layerLabel | translate}}</h1>
<div ng-repeat="feature in layers.features" class="poi-feature">
<h3>{{feature.attributes.station}} ({{feature.attributes.icao}})</h3>
<label>TAF:</label> <span>{{feature.attributes.taf}}</span></span><br>
<label>Metar:</label> <span>{{feature.attributes.metar}}</span></span>
</div>
% if features:
## -*- coding: utf-8 -*-
% for feature in features:
<h3>${feature['attributes']['station']} ({{${feature['attributes']['icao']}}})</h3>
<label>TAF:</label> <span>${feature['attributes']['taf']}</span></span><br>
<label>Metar:</label> <span>${feature['attributes']['metar']}</span></span>
% endif

0 comments on commit 253a573

Please sign in to comment.