{"id":1301,"date":"2015-09-04T11:48:57","date_gmt":"2015-09-04T09:48:57","guid":{"rendered":"http:\/\/beta.themetwins.com\/calluna-beta\/?page_id=1301"},"modified":"2015-09-04T11:48:57","modified_gmt":"2015-09-04T09:48:57","slug":"weather-time","status":"publish","type":"page","link":"https:\/\/www.harnydomek.pl\/index.php\/features\/weather-time\/","title":{"rendered":"Weather &#038; Time"},"content":{"rendered":"[vc_row][vc_column][vc_empty_space height=&#8221;50px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;]<h2 class=\"calluna-heading calluna-heading-single-line text-align-left \" ><span>Display Weather &amp; Time<\/span><\/h2>[vc_column_text]Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium<\/p>\n<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantiu[\/vc_column_text][vc_empty_space][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_empty_space][vc_row_inner][vc_column_inner width=&#8221;1\/2&#8243;]<div class=\"calluna-time\">\n        \t<span class=\"icon-clock\" ><\/span>\n            <span class=\"time\" >\n       \t06:26 AM \n       <\/span>\n        <\/div>\n\t    \t[\/vc_column_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_column_text]\n<div id=\"simple-weather--bc3a2c604d2a7b2166f2a8595dbd4a36\" class=\"simple-weather simple-weather--vue\" :style=\"atts.inline_css\">\n  <template v-if=\"style !== 'widget'\">\n    <span v-if=\"hasCurrentWeather()\" class=\"simple-weather__day simple-weather__day--current\">\n      <span v-if=\"filter_var(atts.show_units)\" class=\"simple-weather__date\">{{current_weather.dt | momentjs( atts.date )}}<\/span>\n      <i class=\"sw\" :class=\"getWeatherIcon(current_weather)\"><\/i>\n      <em class=\"simple-weather__temp\">{{current_weather.temp | temp}} &deg;<template v-if=\"filter_var(atts.show_units)\">{{units}}<\/template>\n      <\/em>\n    <\/span>\n    <template v-if=\"weather_feed\">\n      <span v-for=\"(day, index) in weather_feed\" v-if=\"isDayVisible(index, day)\" class=\"simple-weather__day\">\n        <span v-if=\"filter_var(atts.show_units)\" class=\"simple-weather__date\">{{day.dt | momentjs(atts.date)}}<\/span>\n        <i class=\"sw\" :class=\"getWeatherIcon(day)\"><\/i>\n        <em class=\"simple-weather__temp\">{{day.temp | temp}} &deg;<em class=\"simple-weather__temp-min\" v-if=\"filter_var(atts.night)\">{{day.temp_min | temp}} &deg;<\/em><template v-if=\"filter_var(atts.show_units)\">{{units}}<\/template><\/em>\n      <\/span>\n    <\/template>\n    <template v-else>\n      <span v-html=\"error\" class=\"error\"><\/span>\n    <\/template>\n  <\/template>\n  <template v-else>\n    <div class=\"simple-weather-widget\" v-if=\"current_weather.name || weather_feed\" :class=\"atts.inline_css ? 'simple-weather-widget--bg' : ''\">\n      <h4 class='widget_title' v-if=\"atts.title || current_weather.name\" v-text=\"atts.title ? atts.title : current_weather.name\"><\/h4>\n      <div class=\"temp\">\n        <span v-if=\"current_weather.temp\" class=\"degrees\">{{current_weather.temp | temp}} &deg;<\/span>\n        <span class=\"details\">\n          <template v-if=\"current_weather.humidity\">Humidity: <em class=\"float-right\">{{current_weather.humidity}}%<\/em><br><\/template>\n          <template v-if=\"current_weather.clouds\">Clouds: <em class=\"float-right\">{{current_weather.clouds}}%<\/em><br><\/template>\n          <template v-if=\"current_weather.wind\">Wind <small>({{current_weather.wind.deg}})<\/small>:\n          <em class=\"float-right\">{{current_weather.wind.speed}}<small>{{units_wind}}<\/small><\/em><\/template>\n        <\/span>\n      <\/div>\n      <div class=\"summary\">{{current_weather.desc}}<\/div>\n      <div class=\"simple-weather-table\" v-if=\"weather_feed\">\n        <div v-for=\"(day, index) in weather_feed\" v-if=\"index < atts.days\" class=\"simple-weather-table__row\">\n\t\t\t\t\t<div class=\"simple-weather-table__date\">{{day.dt | momentjs(atts.date)}}<\/div>\n\t\t\t\t\t<div class=\"simple-weather-table__icon\"><i class=\"sw\" :class=\"getWeatherIcon(day)\"><\/i><\/div>\n\t\t\t\t\t<div class=\"simple-weather-table__temp\">\n            {{day.temp | temp}}&deg;\n            <span class=\"simple-weather-table__temp-min\">{{day.temp_min | temp}} &deg;<\/span>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/template>\n<\/div>\n\n[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][\/vc_column][\/vc_row][vc_row][vc_column][vc_empty_space height=&#8221;50px&#8221;][\/vc_column][\/vc_row]\n","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_empty_space height=&#8221;50px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_column_text]Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1204,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1301","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.harnydomek.pl\/index.php\/wp-json\/wp\/v2\/pages\/1301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.harnydomek.pl\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.harnydomek.pl\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.harnydomek.pl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.harnydomek.pl\/index.php\/wp-json\/wp\/v2\/comments?post=1301"}],"version-history":[{"count":0,"href":"https:\/\/www.harnydomek.pl\/index.php\/wp-json\/wp\/v2\/pages\/1301\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.harnydomek.pl\/index.php\/wp-json\/wp\/v2\/pages\/1204"}],"wp:attachment":[{"href":"https:\/\/www.harnydomek.pl\/index.php\/wp-json\/wp\/v2\/media?parent=1301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}