A privacy respecting, self-hosted weather website https://serenum.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 

170 lines
3.8 KiB

<?php
require_once 'site-header.php';
echo '<section id="weather">';
echo '<div id="coordinates" data-latitude="'.$latitude_shorten.'" data-longitude="'.$longitude_shorten.'"></div>';
echo '<div id="settings" data-unit="'.$settings_unit.'" data-language="'.$settings_language.'" data-decimal="'.$settings_decimal.'" data-time="'.$settings_time.'" data-apikey="'.$settings_apikey.'"></div>';
echo '<div class="loading color-blue">';
echo svgicon('loading');
echo $lang->page_weather->loading;
echo '</div>';
echo '<div class="error color-red"><div>';
echo svgicon('error');
echo '<div class="message"></div>';
echo '<div class="code"></div>';
echo '</div></div>';
echo '<div class="weather">';
echo '<div id="map"></div>';
echo '<div class="report">';
echo '<div class="short">';
echo '<div class="datetime"></div>';
echo '<div class="current">';
echo '<div class="temperature"></div>';
echo '<div class="weather">';
echo '<div class="icon"></div>';
echo '</div>';
echo '</div>';
echo '<div class="weather-text"></div>';
echo '</div>';
echo '<div class="details">';
echo '<div class="item windy">';
echo '<div class="label">';
echo $lang->page_weather->details_wind;
echo '</div>';
echo '<div class="value"></div>';
echo '</div>';
echo '<div class="item feels-like">';
echo '<div class="label">';
echo $lang->page_weather->details_feelslike;
echo '</div>';
echo '<div class="value"></div>';
echo '</div>';
echo '<div class="item dewpoint">';
echo '<div class="label">';
echo $lang->page_weather->details_dewpoint;
echo '</div>';
echo '<div class="value"></div>';
echo '</div>';
echo '<div class="item clouds">';
echo '<div class="label">';
echo $lang->page_weather->details_clouds;
echo '</div>';
echo '<div class="value"></div>';
echo '</div>';
echo '<div class="item humidity">';
echo '<div class="label">';
echo $lang->page_weather->details_humidity;
echo '</div>';
echo '<div class="value"></div>';
echo '</div>';
echo '<div class="item pressure">';
echo '<div class="label">';
echo $lang->page_weather->details_pressure;
echo '</div>';
echo '<div class="value"></div>';
echo '</div>';
echo '<div class="item uvindex">';
echo '<div class="label">';
echo $lang->page_weather->details_uvindex;
echo '</div>';
echo '<div class="value"></div>';
echo '</div>';
echo '<div class="item visibility">';
echo '<div class="label">';
echo $lang->page_weather->details_visibility;
echo '</div>';
echo '<div class="value"></div>';
echo '</div>';
echo '<div class="item precipitation">';
echo '<div class="label">';
echo $lang->page_weather->details_precipitation;
echo '</div>';
echo '<div class="value"></div>';
echo '</div>';
echo '<div class="item air-quality">';
echo '<div class="label">';
echo $lang->page_weather->details_airquality;
echo '</div>';
echo '<div class="value"></div>';
echo '</div>';
echo '</div>';
echo '</div>';
echo '<div class="forecast">';
echo '<h4>'.$lang->page_weather->subtitle_forecast_48h.'</h4>';
echo '<div class="hourly jspScrollable"><div class="jspContainer"><div class="jspPane"></div></div></div>';
echo '<h4>'.$lang->page_weather->subtitle_forecast_7d.'</h4>';
echo '<div class="daily"></div>';
echo '</div>';
echo '<div class="message">';
echo $lang->page_weather->message_moredatalateron;
echo '</div>';
echo '</div>';
echo '</section>';
require_once 'site-footer.php';
?>