Added new landing Defensores de la 4T

This commit is contained in:
Albert Strusberg 2022-03-29 19:15:31 -05:00
parent dcda06d328
commit 5d69338298
13 changed files with 150 additions and 1 deletions

View File

@ -16,3 +16,7 @@ def l_transformando():
def l_mujeres_protagonistas():
favicon_name='favicon_mujeres_protagonistas.png'
return dict(favicon_name=favicon_name)
def l_defensores_4t():
favicon_name='favicon_defensores4t.png'
return dict(favicon_name=favicon_name)

View File

@ -66,6 +66,7 @@
'Database Administration (appadmin)': 'Administración de Base de Datos (appadmin)',
'db': 'bdd',
'DB Model': 'Modelo BDD',
'Defensores de la 4T': 'Defensores de la 4T',
'Delete:': 'Eliminar:',
'Demo': 'Demostración',
'Deployment Recipes': 'Recetas de despliegue',

View File

@ -21,7 +21,8 @@ if not configuration.get('app.production'):
(T('Edda Vitte'), False, URL('landings', 'l_edda')),
(T('Morena Hidalgo'), False, URL('landings', 'l_morena')),
(T('Transformando Hidalgo'), False, URL('landings', 'l_transformando')),
(T('Mujeres Protagonistas'), False, URL('landings', 'l_mujeres_protagonistas'))
(T('Mujeres Protagonistas'), False, URL('landings', 'l_mujeres_protagonistas')),
(T('Defensores de la 4T'), False, URL('landings', 'l_defensores_4t'))
]),
(T('This App'), False, '#', [
(T('Design'), False, URL('admin', 'default', 'design/%s' % _app)),

View File

@ -0,0 +1,67 @@
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css");
@font-face {
font-family: montserratLight;
src: url(../fonts/Montserrat-Light.ttf);
}
@font-face {
font-family: montserratRegular;
src: url(../fonts/Montserrat-Regular.ttf);
}
@font-face {
font-family: montserratBold;
src: url(../fonts/Montserrat-Bold.ttf);
}
body{
font-family: montserratRegular;
margin-bottom: 100px !important;
}
.main-container{
margin-top: 0px;
}
.title-defensores4t{
font-size: 3rem;
color: white;
background-color: #c50000;
text-align: center;
padding: 2rem 1rem;
}
.logo-defensores4t{
margin-top: 4.5rem;
}
.div-defensores4t-form{
padding: 4.5rem 1.5rem 4.5rem 1.5rem;
background-image: url('../images/decal_defensores4t.png'), url('../images/candidato_defensores4t.png'), url('../images/fondo_defensores4t.jpg');
background-position: right bottom, right bottom, left top;
background-size: 360px, auto, auto;
background-repeat: no-repeat;
}
.form-control{
background-color: #cfcfcf !important;
border-radius: 10px !important;
}
.btn-defensores4t{
font-family: montserratBold;
font-size: 1.25rem;
color: white;
padding: 0.25rem 0.75rem;
background-color: #c50000;
border-radius: 10px;
}
.footer{
height: 100px !important;
color: black;
font-family: montserratLight;
font-size: 1rem;
background-color: #dedbdd;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 792 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@ -0,0 +1,76 @@
{{extend 'layout.html'}}
<link rel="stylesheet" href="{{=URL('static', 'css/defensores_4t.css')}}">
<div class="container-fluid main-container">
<div class="row align-items-center">
<div class="col-12 px-0 title-defensores4t">
BUSCAMOS <span style="font-family: montserratBold">DEFENSORES</span>
</div>
</div>
<div class="row div-defensores4t-form">
<div class="col-12 mx-auto" style="max-width: 1280px; min-height: 65vh;">
<div class="" style="max-width:720px;">
<form class="" enctype="multipart/form-data" method="post">
<div class="row mb-3">
<div class="col-12 col-lg-12 form-group">
<label for="formularioNombre">NOMBRE(S)</label>
<input type="text" class="form-control" id="formularioNombre">
</div>
</div>
<div class="row mb-3">
<div class="col-12 col-lg-6 form-group">
<label for="formularioApellidoP">APELLIDO PATERNO</label>
<input type="text" class="form-control" id="formularioApellidoP">
</div>
<div class="col-12 col-lg-6 form-group">
<label for="formularioApellidoM">APELLIDO MATERNO</label>
<input type="text" class="form-control" id="formularioApellidoM">
</div>
</div>
<label for="formularioNacimiento">FECHA DE CUMPLEAÑOS</label>
<div class="row mb-3">
<div class="col-12 form-group">
<div class="row" id="formularioNacimiento">
<div class="col-3">
<input type="numeric" class="form-control" placeholder="Día">
</div>
<div class="col-3">
<input type="numeric" class="form-control" placeholder="Mes">
</div>
<div class="col-6">
<input type="numeric" class="form-control" placeholder="Año">
</div>
</div>
</div>
</div>
<div class="row mb-5">
<div class="col-12">
<label for="formularioTelefono">CELULAR</label>
<input class="form-control" type="number" id="formularioTelefono"></input>
</div>
</div>
<div class="text-center">
<input class="btn btn-defensores4t" type="submit" value="QUIERO SER DEFENSOR">
<input type="hidden" name="_formname" value="enviarFormulario">
</div>
</form>
</div>
<div class="logo-defensores4t">
<img src="{{=URL('static', 'images/logo_defensores4t.png')}}" alt="">
</div>
</div>
</div>
</div>
{{block footer}} <!-- this is default footer -->
<footer class="footer container-fluid px-0">
<div class="row align-items-center mx-auto" style="margin-top:0px; height:100%; max-width:1280px;">
<div class="col-10">
<div class="copyright pull-left">{{=T('Copyright')}} &#169; Defensores de la 4T {{=request.now.year}}. Todos los derechos reservados. Aviso de privacidad</div>
</div>
<div class="col-2 text-right">
<a href="https://www.facebook.com/DefensoresDeLa4tHidalgo">
<i class="bi bi-facebook" style="font-size: 2.25rem; color: #4267B2"></i>
</a>
</div>
</div>
</footer>
{{end}}