Compare commits
2 commits
c96ccfbe1b
...
3529f09a9c
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3529f09a9c | ||
![]() |
e1b646fc2f |
6 changed files with 32 additions and 18 deletions
13
public/css/app.css
vendored
13
public/css/app.css
vendored
|
@ -17,6 +17,7 @@ button, input[type="submit"] {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
color:white;
|
color:white;
|
||||||
margin: 15px;
|
margin: 15px;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
input.formulario {
|
input.formulario {
|
||||||
|
@ -30,3 +31,15 @@ p, label {
|
||||||
font-weight: bolder;
|
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;
|
||||||
|
}
|
3
public/css/welcome.css
vendored
3
public/css/welcome.css
vendored
|
@ -1,3 +0,0 @@
|
||||||
label, span.help {
|
|
||||||
float: left;
|
|
||||||
}
|
|
2
public/js/edit.js
vendored
2
public/js/edit.js
vendored
|
@ -7,7 +7,7 @@ function copiarEnlace() {
|
||||||
|
|
||||||
/* Copy the text inside the text field */
|
/* Copy the text inside the text field */
|
||||||
document.execCommand("copy");
|
document.execCommand("copy");
|
||||||
alert("ok");
|
alert("Enlace copiado");
|
||||||
}
|
}
|
||||||
|
|
||||||
let HORARIO_CONTAINER = null;
|
let HORARIO_CONTAINER = null;
|
||||||
|
|
|
@ -54,6 +54,9 @@
|
||||||
<input readonly id="enlace" type="text" value="{{route('edit',['evento' => $evento])}}">
|
<input readonly id="enlace" type="text" value="{{route('edit',['evento' => $evento])}}">
|
||||||
</div>
|
</div>
|
||||||
<button onclick="copiarEnlace()" id="copiar-enlace">Copiar enlace</button>
|
<button onclick="copiarEnlace()" id="copiar-enlace">Copiar enlace</button>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<a href="{{route('show',['evento' => $evento])}}" class="button">Ver resultados de la encuesta (hasta ahora)</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="p-6 border-t border-gray-200 dark:border-gray-700 md:border-t-0 md:border-l">
|
<div class="p-6 border-t border-gray-200 dark:border-gray-700 md:border-t-0 md:border-l">
|
||||||
|
|
|
@ -54,9 +54,15 @@
|
||||||
<div class="mt-8 bg-white dark:bg-gray-800 overflow-hidden shadow sm:rounded-lg">
|
<div class="mt-8 bg-white dark:bg-gray-800 overflow-hidden shadow sm:rounded-lg">
|
||||||
<div class="grid grid-cols-1">
|
<div class="grid grid-cols-1">
|
||||||
<div class="p-6">
|
<div class="p-6">
|
||||||
|
@if (count($marzullos) > 0)
|
||||||
<p>
|
<p>
|
||||||
Hasta ahora estos son los mejores horarios para "{{ $evento->nombre }}":
|
Hasta ahora estos son los mejores horarios para "{{ $evento->nombre }}":
|
||||||
</p>
|
</p>
|
||||||
|
@else
|
||||||
|
<p>
|
||||||
|
Hasta ahora no hay buenos horarios para "{{ $evento->nombre }}".
|
||||||
|
</p>
|
||||||
|
@endif
|
||||||
@each('marzullo', $marzullos, 'marzullo')
|
@each('marzullo', $marzullos, 'marzullo')
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -39,16 +39,21 @@
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
<div class="max-w-6xl mx-auto sm:px-6 lg:px-8">
|
<div class="max-w-6xl mx-auto sm:px-6 lg:px-8">
|
||||||
<div class="flex justify-center pt-8 sm:justify-start sm:pt-0">
|
<div class="flex justify-center pt-8 sm:justify-start sm:pt-0">
|
||||||
<img id= "logo" src="assets/logoMPS.png" alt="Mercado Popular de Subsitencia">
|
<img id= "logo" src="assets/logoMPS.png" alt="Mercado Popular de Subsitencia">
|
||||||
</div>
|
</div>
|
||||||
|
<div class="flex justify-center pt-8 sm:justify-start sm:pt-0">
|
||||||
|
<h1>
|
||||||
|
Planifica un nuevo evento
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
<div class="mt-8 bg-white dark:bg-gray-800 overflow-hidden shadow sm:rounded-lg">
|
<div class="mt-8 bg-white dark:bg-gray-800 overflow-hidden shadow sm:rounded-lg">
|
||||||
<div class="grid grid-cols-1 md:grid-cols-2">
|
<div class="grid grid-cols-1">
|
||||||
<div class="p-6">
|
<div class="p-6">
|
||||||
<form id="nuevoevento" method="post" action="{{route('store')}}">
|
<form id="nuevoevento" method="post" action="{{route('store')}}">
|
||||||
<label for="nombre">Nombre del nuevo evento</label>
|
<label for="nombre">Nombre del evento</label>
|
||||||
<br>
|
<br>
|
||||||
<span class="help">Lo ideal es un nombre corto y fácil de recordar.</span>
|
<span class="help">Lo ideal es un nombre corto y fácil de recordar.</span>
|
||||||
<br>
|
<br>
|
||||||
|
@ -61,17 +66,7 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="p-6 border-t border-gray-200 dark:border-gray-700 md:border-t-0 md:border-l">
|
|
||||||
<form id="ver-evento" method="get" action="{{route('resultado')}}">
|
|
||||||
<label for="evento">Id de evento</label>
|
|
||||||
<br>
|
|
||||||
<input required name="id" type="text" class="formulario">
|
|
||||||
@error('id')
|
|
||||||
<div class="alert alert-danger">Ingrese la ID del evento que quiere ver.</div>
|
|
||||||
@enderror
|
|
||||||
<input type="submit" value="Ver evento">
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue