diff --git a/controllers/landings.py b/controllers/landings.py index a573b84..b6a4af5 100644 --- a/controllers/landings.py +++ b/controllers/landings.py @@ -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) diff --git a/languages/es.py b/languages/es.py index 8de3e2e..603e22e 100644 --- a/languages/es.py +++ b/languages/es.py @@ -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', diff --git a/models/menu.py b/models/menu.py index 2c7d71e..89657a9 100644 --- a/models/menu.py +++ b/models/menu.py @@ -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)), diff --git a/static/css/defensores_4t.css b/static/css/defensores_4t.css new file mode 100644 index 0000000..44f9990 --- /dev/null +++ b/static/css/defensores_4t.css @@ -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; +} diff --git a/static/fonts/Montserrat-Bold.ttf b/static/fonts/Montserrat-Bold.ttf new file mode 100644 index 0000000..221819b Binary files /dev/null and b/static/fonts/Montserrat-Bold.ttf differ diff --git a/static/fonts/Montserrat-Light.ttf b/static/fonts/Montserrat-Light.ttf new file mode 100644 index 0000000..990857d Binary files /dev/null and b/static/fonts/Montserrat-Light.ttf differ diff --git a/static/fonts/Montserrat-Regular.ttf b/static/fonts/Montserrat-Regular.ttf new file mode 100644 index 0000000..8d443d5 Binary files /dev/null and b/static/fonts/Montserrat-Regular.ttf differ diff --git a/static/images/candidato_defensores4t.png b/static/images/candidato_defensores4t.png new file mode 100644 index 0000000..4ae92b2 Binary files /dev/null and b/static/images/candidato_defensores4t.png differ diff --git a/static/images/decal_defensores4t.png b/static/images/decal_defensores4t.png new file mode 100644 index 0000000..05a457f Binary files /dev/null and b/static/images/decal_defensores4t.png differ diff --git a/static/images/favicon_defensores4t.png b/static/images/favicon_defensores4t.png new file mode 100644 index 0000000..dd3fe0e Binary files /dev/null and b/static/images/favicon_defensores4t.png differ diff --git a/static/images/fondo_defensores4t.jpg b/static/images/fondo_defensores4t.jpg new file mode 100644 index 0000000..f8b6a99 Binary files /dev/null and b/static/images/fondo_defensores4t.jpg differ diff --git a/static/images/logo_defensores4t.png b/static/images/logo_defensores4t.png new file mode 100644 index 0000000..15ad6b8 Binary files /dev/null and b/static/images/logo_defensores4t.png differ diff --git a/views/landings/l_defensores_4t.html b/views/landings/l_defensores_4t.html new file mode 100644 index 0000000..e88bba4 --- /dev/null +++ b/views/landings/l_defensores_4t.html @@ -0,0 +1,76 @@ +{{extend 'layout.html'}} + +