From 6f9e5c3e8d9b0e6ddc82cdc20c5d3916733572c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Correa?= Date: Thu, 2 Apr 2020 13:53:29 -0300 Subject: [PATCH] =?UTF-8?q?se=20agrega=20aviso=20de=20postergaci=C3=B3n=20?= =?UTF-8?q?por=20razones=20sanitarias?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/app.js | 3 ++- public/style/style.css | 5 +++++ templates/avisomodal.html | 43 +++++++++++++++++++++++++++++++++++++++ templates/header.html | 2 +- templates/layout.html | 5 +++++ 5 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 templates/avisomodal.html diff --git a/public/js/app.js b/public/js/app.js index c574d9b..ba8ba42 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -12,6 +12,7 @@ function routeMenu() { switch (ruta) { case "/": $("li#home").addClass("active"); + $("#avisomodal").modal('show'); break; case "/programa": $("li#program").addClass("active"); @@ -42,7 +43,7 @@ $(document).ready(function() { //var margin = $(".container").css("margin-left"); //$("#menu").css("margin-left",margin); var parallaxHeight = $(".parallax-mirror").height(); - $("#header").height(parallaxHeight); + $("#header").height(parallaxHeight); $("#contactform").submit(function(event) { var fail = false; $("#statusmsg").hide(); diff --git a/public/style/style.css b/public/style/style.css index 4f97211..c065cae 100644 --- a/public/style/style.css +++ b/public/style/style.css @@ -568,4 +568,9 @@ p.abstract{ margin-top:10px; max-width:48em; white-space:pre-wrap; +} +.avisomodal > h4.aviso-title { + text-decoration:underline; + color:black; + padding-bottom:15px; } \ No newline at end of file diff --git a/templates/avisomodal.html b/templates/avisomodal.html new file mode 100644 index 0000000..a74f52c --- /dev/null +++ b/templates/avisomodal.html @@ -0,0 +1,43 @@ + \ No newline at end of file diff --git a/templates/header.html b/templates/header.html index 41f4602..3e1ea13 100644 --- a/templates/header.html +++ b/templates/header.html @@ -7,7 +7,7 @@

- 20 al 24 de julio de 2020 / Montevideo, Uruguay + 20 al 24 de julio de 2020/ Montevideo, Uruguay

diff --git a/templates/layout.html b/templates/layout.html index 6c87392..6866f03 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -53,9 +53,14 @@
{% include 'header.html' %} + {% include 'avisomodal.html' %}
+ {% block content %} {% endblock %}