From b1120af033b537ce9002dc79ab9e05161280db9e Mon Sep 17 00:00:00 2001
From: RoopeLehtonen <rosale@utu.fi>
Date: Sun, 25 Feb 2018 17:06:01 +0200
Subject: [PATCH] Fixed the AccuWeather weather widget on info-site.

---
 templates/info.html | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/templates/info.html b/templates/info.html
index a83617e..5a8ca9e 100644
--- a/templates/info.html
+++ b/templates/info.html
@@ -1,7 +1,7 @@
 {% extends 'internal/base.html' %}
 
 {% set title = 'Info' %}
-{% set sticky_banners = g.is_kiosk %}
+{% set sticky_banners = true %}
 {% set localized = false %}
 {% set content_lang = 'fi' %}
 
@@ -9,14 +9,14 @@
 
 <div class="container">
     <div class="row">
-        <div class="col">
-            <div class="card" style="height:600px;">
+        <div class="col-md-6">
+            <div class="card" style="height:600px; margin-bottom: 30px;">
                 <a class="twitter-timeline" data-height="600" data-dnt="true" data-theme="light" href="https://twitter.com/Turkukaupunki?ref_src=twsrc%5Etfw">Tweets by Turkukaupunki</a>
                 <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
             </div>
         </div>
-        <div class="col">
-            <div class="card" style="height: 600px; background-color: #FF9900;">
+        <div class="col-md-6">
+            <div class="card" style="height: 600px; background-color: #FF9900; margin-bottom: 30px;">
                 <div class="card-header">
                     <h3 class="card-title">Visit Turku -uutiset</h3>
                 </div>
@@ -24,21 +24,19 @@
             </div>
         </div>
     </div>
+
     <div class="row">
-        <div class="col">
-            <div class="card" style="height:600px;">
+        <div class="col-md-6">
+            <div class="card" style="height:600px; background-color: #FF9900; overflow: auto; margin-bottom: 30px;">
+                <div class="card-header">
+                    <h3 class="card-title">AccuWeather</h3>
+                </div>
                 <a href="https://www.accuweather.com/en/fi/turku/134768/weather-forecast/134768" class="aw-widget-legal">
-                    <!--
-                    By accessing and/or using this code snippet, you agree to AccuWeather's terms and conditions (in English) which can be found at https://www.accuweather.com/en/free-weather-widgets/terms and AccuWeather's Privacy Statement (in English) which can be found at https://www.accuweather.com/en/privacy.
-                    -->
                 </a><div id="awtd1519238716374" class="aw-widget-36hour" data-locationkey="134768" data-unit="c" data-language="fi" data-useip="false" data-uid="awtd1519238716374" data-editlocation="false"></div>
                 <script type="text/javascript" src="https://oap.accuweather.com/launch.js"></script>
             </div>
         </div>
-        <div class="col">
-            <div class="card">
-                <p>empty</p>
-            </div>
+        <div class="col-6">
         </div>
     </div>
 </div>
-- 
GitLab