From e1b646fc2fef3c66a9dd11be59f23148d69b4558 Mon Sep 17 00:00:00 2001 From: nat Date: Wed, 29 Dec 2021 16:45:58 -0300 Subject: [PATCH] =?UTF-8?q?Boton=20para=20Ver=20resultados=20en=20la=20p?= =?UTF-8?q?=C3=A1gina=20de=20editar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/app.css | 13 +++++++++++++ public/js/edit.js | 2 +- resources/views/edit.blade.php | 3 +++ resources/views/resultado.blade.php | 6 ++++++ 4 files changed, 23 insertions(+), 1 deletion(-) diff --git a/public/css/app.css b/public/css/app.css index 7bb2923..0818bf7 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -17,6 +17,7 @@ button, input[type="submit"] { padding: 5px; color:white; margin: 15px; + cursor: pointer; } input.formulario { @@ -30,3 +31,15 @@ p, label { font-weight: bolder; } +a.button { + -webkit-appearance: button; + -moz-appearance: button; + appearance: button; + + background: darkred; + border-radius: 5px; + padding: 5px; + color: white; + margin: 15px; + font-size: 15px; +} \ No newline at end of file diff --git a/public/js/edit.js b/public/js/edit.js index ee8cf07..35c50c2 100644 --- a/public/js/edit.js +++ b/public/js/edit.js @@ -7,7 +7,7 @@ function copiarEnlace() { /* Copy the text inside the text field */ document.execCommand("copy"); - alert("ok"); + alert("Enlace copiado"); } let HORARIO_CONTAINER = null; diff --git a/resources/views/edit.blade.php b/resources/views/edit.blade.php index ca64f78..677ccd0 100644 --- a/resources/views/edit.blade.php +++ b/resources/views/edit.blade.php @@ -54,6 +54,9 @@ +
+
+ Ver resultados de la encuesta (hasta ahora)
diff --git a/resources/views/resultado.blade.php b/resources/views/resultado.blade.php index edf72a7..4340cd1 100644 --- a/resources/views/resultado.blade.php +++ b/resources/views/resultado.blade.php @@ -54,9 +54,15 @@
+ @if (count($marzullos) > 0)

Hasta ahora estos son los mejores horarios para "{{ $evento->nombre }}":

+ @else +

+ Hasta ahora no hay buenos horarios para "{{ $evento->nombre }}". +

+ @endif @each('marzullo', $marzullos, 'marzullo')