bye bye github
This commit is contained in:
94
public/home/event/cssEvent.css
Executable file
94
public/home/event/cssEvent.css
Executable file
@@ -0,0 +1,94 @@
|
||||
section.eimage{
|
||||
background-size:cover;
|
||||
height:80vh;
|
||||
background-attachment: fixed;
|
||||
margin: auto;
|
||||
background-image:url("img/grulla_10.jpg");
|
||||
background-position:center;
|
||||
}
|
||||
section.place{
|
||||
background: #C22A39;
|
||||
padding:40px;
|
||||
}
|
||||
p.place{
|
||||
font-size: 1.5em;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
p.cname{
|
||||
font-size: 1.7em;
|
||||
color: white;
|
||||
text-align: center;
|
||||
margin: 7px;
|
||||
}
|
||||
section.description{
|
||||
background-color:white;
|
||||
justify-content: center;
|
||||
-webkit-justify-content: center;
|
||||
}
|
||||
article.info{
|
||||
flex:1 1 250px;
|
||||
max-width:370px;
|
||||
margin:auto;
|
||||
min-width:250px;
|
||||
padding-left:20px;
|
||||
}
|
||||
p.pbig{
|
||||
font-weight:bold;
|
||||
font-size:1.8em;
|
||||
}
|
||||
p.pmed{
|
||||
font-size:1.1em;
|
||||
}
|
||||
|
||||
article.specs{
|
||||
flex:2 2 250px;
|
||||
margin:auto;
|
||||
max-width:420px;
|
||||
}
|
||||
p#subt{
|
||||
margin: 10px;
|
||||
color: black;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
article.specs >p{
|
||||
margin-bottom: 30px;
|
||||
color: black;
|
||||
font-size: .875rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
min-width:250px;
|
||||
}
|
||||
|
||||
p.promo{
|
||||
margin: 10px;
|
||||
color: #c22a39;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
section.map{
|
||||
background-color:#333333;
|
||||
overflow:hidden;
|
||||
height:80vh;
|
||||
min-height:400px;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
section.map > iframe{
|
||||
width:70%;
|
||||
height:70%;
|
||||
top:15%;
|
||||
left:15%;
|
||||
overflow: hidden;
|
||||
position:absolute;
|
||||
}
|
||||
p.arrive{
|
||||
position:absolute;
|
||||
left:10%;
|
||||
top:1%;
|
||||
font-size:1.5em;
|
||||
color:white;
|
||||
}
|
||||
article.contact{
|
||||
}
|
||||
BIN
public/home/event/img/grulla_10.jpg
Executable file
BIN
public/home/event/img/grulla_10.jpg
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 493 KiB |
29
public/home/event/qEvent.q
Executable file
29
public/home/event/qEvent.q
Executable file
@@ -0,0 +1,29 @@
|
||||
|
||||
select
|
||||
|
||||
curso.nombre as cname,
|
||||
concat(lugar.municipio,', ',lugar.federativa) as place,
|
||||
|
||||
lugar.direccion as paddr,
|
||||
lugar.observacion as pobs,
|
||||
lugar.municipio as city,
|
||||
evento.precio as cost,
|
||||
case evento.promo_estado when 1 then coalesce(evento.promocion,"") else "" end as promo,
|
||||
curso.temario as csubjects,
|
||||
curso.servicios as cservices,
|
||||
|
||||
lugar.nombre as pname,
|
||||
case when month(evento.fecha_inicio) = month(evento.fecha_fin)
|
||||
then concat("Del ", day(evento.fecha_inicio)," al ",day(evento.fecha_fin)," de ",mi.nombre)
|
||||
else concat("Del ",day(evento.fecha_inicio)," de ",mi.nombre," al ",
|
||||
day(evento.fecha_fin)," de ", mo.nombre)
|
||||
end as date
|
||||
|
||||
|
||||
from evento
|
||||
inner join lugar on evento.lugar_id=lugar.id
|
||||
inner join curso on evento.curso_id=curso.id
|
||||
join mes as mi on mi.id=month(evento.fecha_inicio)
|
||||
join mes as mo on mo.id=month(evento.fecha_fin)
|
||||
where evento.estado=1
|
||||
and evento.id = ?
|
||||
Reference in New Issue
Block a user