diff --git a/controllers/landings.py b/controllers/landings.py index 38dc169..e59799a 100644 --- a/controllers/landings.py +++ b/controllers/landings.py @@ -2,5 +2,13 @@ # Controller for all the landing pages created on this apple def l_edda(): + favicon_name='favicon_edda.png' + return dict(favicon_name=favicon_name) - return dict() +def l_morena(): + favicon_name='favicon_morena_h.png' + return dict(favicon_name=favicon_name) + +def l_transformando(): + favicon_name='favicon_transformando.png' + return dict(favicon_name=favicon_name) diff --git a/languages/es.py b/languages/es.py index 11a8427..8cb8009 100644 --- a/languages/es.py +++ b/languages/es.py @@ -142,6 +142,7 @@ 'Manage Cache': 'Gestionar la Caché', 'Memberships': 'Membresias', 'Menu Model': 'Modelo "menu"', +'Morena Hidalgo': 'Morena Hidalgo', 'My Sites': 'Mis Sitios', 'Name': 'Nombre', 'New password': 'Contraseña nueva', @@ -227,6 +228,7 @@ 'Time in Cache (h:m:s)': 'Tiempo en Caché (h:m:s)', 'Timestamp': 'Marca de tiempo', 'Traceback': 'Rastrear', +'Transformando Hidalgo': 'Transformando Hidalgo', 'Twitter': 'Twitter', 'Two-step Login Authentication Code': 'Two-step Login Authentication Code', 'unable to parse csv file': 'no es posible analizar el archivo CSV', diff --git a/models/menu.py b/models/menu.py index 4868526..2598e57 100644 --- a/models/menu.py +++ b/models/menu.py @@ -18,7 +18,9 @@ if not configuration.get('app.production'): response.menu += [ (T('My Sites'), False, URL('admin', 'default', 'site')), (T('Landing pages'), False, '#', [ - (T('Edda Vitte'), False, URL('landings', 'l_edda')) + (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('This App'), False, '#', [ (T('Design'), False, URL('admin', 'default', 'design/%s' % _app)), diff --git a/static/css/morena_hidalgo.css b/static/css/morena_hidalgo.css new file mode 100644 index 0000000..df6c8b0 --- /dev/null +++ b/static/css/morena_hidalgo.css @@ -0,0 +1,63 @@ +@font-face { + font-family: aftikaExtraLight; + src: url(../fonts/Graphite_Aftika_Extra_Light.otf); +} + +@font-face { + font-family: aftikaSemiBold; + src: url(../fonts/Graphite_Aftika_SemiBold.otf); +} + +@font-face { + font-family: aftikaBold; + src: url(../fonts/Graphite_Aftika_Bold.otf); +} + +.main-container{ + margin-top: 0px; +} + +h3{ + font-family: aftikaSemiBold; + font-size: 1.25rem; + font-weight: 200; + color: black; +} + +h4{ + font-family: aftikaBold; + font-size: 1rem; + font-weight: 600; + letter-spacing: 0.15rem; + color: black; +} + +.div-morena-form{ + padding: 5rem 2rem 5rem 2rem; +} + +.form-control{ + background-color: #cecece !important; + border-radius: 10px !important; +} + +.btn-morena{ + font-family: aftikaBold; + font-size: 1.5rem; + color: white; + padding: 0.25rem 2rem; + background-color: #b3272d; + border-radius: 0.75rem; + letter-spacing: 0.15rem; +} + +.footer{ + height: auto; + bottom: auto; + color: white; + background-color:#b3272d !important; +} + +.footer-img{ + background-color: #d15459; +} diff --git a/static/css/transformando.css b/static/css/transformando.css new file mode 100644 index 0000000..937e7c5 --- /dev/null +++ b/static/css/transformando.css @@ -0,0 +1,91 @@ +@font-face { + font-family: bebasRegular; + src: url(../fonts/BebasNeue_Regular.otf); +} + +@font-face { + font-family: bebasBold; + src: url(../fonts/BebasNeue_Bold.otf); +} + +body{ + margin-bottom: 120px !important; +} + +.main-container{ + margin-top: 0px; +} + +.banner-transformando{ + min-height: 900px; + background-position: center; + max-width: 1280px; + background-image: url(../images/banner_transformando.png); +} + +.logo-transformando{ + padding: 2.5rem 2rem; +} + +h3{ + margin-top: 15rem; + font-family: bebasBold; + font-size: 7rem; + color: #f1e8c9; + text-shadow: 1px 1px 8px black; +} + +.form-title-transformando{ + font-family: bebasBold; + font-size: 5rem; + color: #7e0018; +} + +.div-transformando-form{ + padding: 0rem 0rem 0rem 0rem; +} + +.form-control{ + background-color: #f1e8c9 !important; + border-radius: 10px !important; + border-color: #7e0018; + border-width: 3px; +} + +.btn-transformando{ + font-family: bebasBold; + font-size: 1.5rem; + color: white; + padding: 0.25rem 2rem; + background-color: #00a1a0; + border-radius: 1.5rem; +} + +.footer{ + height: 120px !important; + color: white; + font-family: bebasRegular; + font-size: 1rem; +} + +.footer-img{ + background-image: url(../images/footer_bg_transformando.png); + background-size: 100% auto; +} + +@media (max-width: 800px) { + .banner-transformando{ + min-height: 600px; + } + h3{ + margin-top: 7.5rem; + font-family: bebasBold; + font-size: 3.5rem; + color: #f1e8c9; + } + .form-title-transformando{ + font-family: bebasBold; + font-size: 2rem; + color: #7e0018; + } +} diff --git a/static/fonts/BebasNeue_Bold.otf b/static/fonts/BebasNeue_Bold.otf new file mode 100644 index 0000000..4653f84 Binary files /dev/null and b/static/fonts/BebasNeue_Bold.otf differ diff --git a/static/fonts/BebasNeue_Regular.otf b/static/fonts/BebasNeue_Regular.otf new file mode 100644 index 0000000..f1d440f Binary files /dev/null and b/static/fonts/BebasNeue_Regular.otf differ diff --git a/static/fonts/Graphite_Aftika_Bold.otf b/static/fonts/Graphite_Aftika_Bold.otf new file mode 100644 index 0000000..9785601 Binary files /dev/null and b/static/fonts/Graphite_Aftika_Bold.otf differ diff --git a/static/fonts/Graphite_Aftika_Extra_Light.otf b/static/fonts/Graphite_Aftika_Extra_Light.otf new file mode 100644 index 0000000..bd8dfb1 Binary files /dev/null and b/static/fonts/Graphite_Aftika_Extra_Light.otf differ diff --git a/static/fonts/Graphite_Aftika_SemiBold.otf b/static/fonts/Graphite_Aftika_SemiBold.otf new file mode 100644 index 0000000..9923b2a Binary files /dev/null and b/static/fonts/Graphite_Aftika_SemiBold.otf differ diff --git a/static/images/banner_morena.jpg b/static/images/banner_morena.jpg new file mode 100644 index 0000000..a9a6eca Binary files /dev/null and b/static/images/banner_morena.jpg differ diff --git a/static/images/banner_transformando.png b/static/images/banner_transformando.png new file mode 100644 index 0000000..10647c7 Binary files /dev/null and b/static/images/banner_transformando.png differ diff --git a/static/images/favicon.ico b/static/images/favicon.ico new file mode 100644 index 0000000..d2296d5 Binary files /dev/null and b/static/images/favicon.ico differ diff --git a/static/images/favicon.png b/static/images/favicon.png index d939a56..bd0a414 100644 Binary files a/static/images/favicon.png and b/static/images/favicon.png differ diff --git a/static/images/favicon_edda.png b/static/images/favicon_edda.png new file mode 100644 index 0000000..d939a56 Binary files /dev/null and b/static/images/favicon_edda.png differ diff --git a/static/images/favicon_morena_h.png b/static/images/favicon_morena_h.png new file mode 100644 index 0000000..e4d6b5c Binary files /dev/null and b/static/images/favicon_morena_h.png differ diff --git a/static/images/favicon_transformando.png b/static/images/favicon_transformando.png new file mode 100644 index 0000000..58a49bd Binary files /dev/null and b/static/images/favicon_transformando.png differ diff --git a/static/images/fb_transformando.png b/static/images/fb_transformando.png new file mode 100644 index 0000000..ccbce73 Binary files /dev/null and b/static/images/fb_transformando.png differ diff --git a/static/images/fondo_morena.png b/static/images/fondo_morena.png new file mode 100644 index 0000000..e81b756 Binary files /dev/null and b/static/images/fondo_morena.png differ diff --git a/static/images/fondo_transformando.png b/static/images/fondo_transformando.png new file mode 100644 index 0000000..57452c0 Binary files /dev/null and b/static/images/fondo_transformando.png differ diff --git a/static/images/footer_bg_transformando.png b/static/images/footer_bg_transformando.png new file mode 100644 index 0000000..9676c29 Binary files /dev/null and b/static/images/footer_bg_transformando.png differ diff --git a/static/images/logo_morena.png b/static/images/logo_morena.png new file mode 100644 index 0000000..fa9ed19 Binary files /dev/null and b/static/images/logo_morena.png differ diff --git a/static/images/logo_transformando.png b/static/images/logo_transformando.png new file mode 100644 index 0000000..eb2d8f2 Binary files /dev/null and b/static/images/logo_transformando.png differ diff --git a/static/images/morena_hidalgo_estado.png b/static/images/morena_hidalgo_estado.png new file mode 100644 index 0000000..8abbb84 Binary files /dev/null and b/static/images/morena_hidalgo_estado.png differ diff --git a/views/landings/l_edda.html b/views/landings/l_edda.html index a27402b..01ce4ce 100644 --- a/views/landings/l_edda.html +++ b/views/landings/l_edda.html @@ -1,74 +1,84 @@ {{extend 'layout.html'}} - -
-
- -
-
- -
-
-
-
-

QUIERO LEER Y SABER MÁS DE TI, ESCRÍBEME

-
-
-
-
-
-
-

REGÍSTRATE Y CONVERSEMOS

-
+
+
+
+
-
-
-
- - -
-
- - -
-
- - -
-
-
-
- -
-
- -
-
- -
-
- -
-
-
-
- - -
-
- - -
-
+
+ +
+
+
+
+

QUIERO LEER Y SABER MÁS DE TI, ESCRÍBEME

+
+
+
+
-

Los campos marcados con * son obligatorios.

+

REGÍSTRATE Y CONVERSEMOS

-
- - -
- +
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ + +
+
+ + +
+
+
+
+

Los campos marcados con * son obligatorios.

+
+
+
+ + +
+
+
+{{block footer}} +
+
+
+ +
+
+
+{{end}} diff --git a/views/landings/l_morena.html b/views/landings/l_morena.html new file mode 100644 index 0000000..e461c7a --- /dev/null +++ b/views/landings/l_morena.html @@ -0,0 +1,68 @@ +{{extend 'layout.html'}} + +
+
+
+ +
+
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ + +
+
+
+ + +
+
+
+
+
+{{block footer}} +
+
+
+
+ +
+ +
+ +
+
+{{end}} diff --git a/views/landings/l_transformando.html b/views/landings/l_transformando.html new file mode 100644 index 0000000..57a562a --- /dev/null +++ b/views/landings/l_transformando.html @@ -0,0 +1,69 @@ +{{extend 'layout.html'}} + +
+
+ +
+
+
+
+ REGISTRATE A NUESTRA COMUNIDAD +
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
+
+
+
+
+{{block footer}} +
+
+
+ +
+
+ +
+
+
+{{end}} diff --git a/views/layout.html b/views/layout.html index ccb6908..bfabc1e 100644 --- a/views/layout.html +++ b/views/layout.html @@ -23,8 +23,13 @@ + {{if 'favicon_name' in locals():}} + + + {{else:}} - + + {{pass}} @@ -93,23 +98,9 @@ {{end}} -
{{include}} {{=response.toolbar() if response.show_toolbar else ''}} -
- {{block footer}} -
-
-
- -
- {{=T('Developed by')}} - Latinux -
-
-
-
- {{end}} +