diff --git a/controllers/landings.py b/controllers/landings.py new file mode 100644 index 0000000..38dc169 --- /dev/null +++ b/controllers/landings.py @@ -0,0 +1,6 @@ +# -*- coding: utf-8 -*- +# Controller for all the landing pages created on this apple + +def l_edda(): + + return dict() diff --git a/languages/es.py b/languages/es.py index 302d3bd..11a8427 100644 --- a/languages/es.py +++ b/languages/es.py @@ -72,6 +72,7 @@ 'Description': 'Descripción', 'design': 'diseño', 'Design': 'Diseño', +'Developed by': 'Developed by', 'DISK': 'DISCO', 'Disk Cache Keys': 'Llaves de Caché en Disco', 'Disk Cleared': 'Disco limpiado', @@ -81,6 +82,7 @@ 'done!': '¡hecho!', 'Download': 'Descargas', 'E-mail': 'Correo electrónico', +'Edda Vitte': 'Edda Vitte', 'Edit current record': 'Edite el registro actual', 'Email and SMS': 'Correo electrónico y SMS', 'Email sent': 'Correo electrónico enviado', @@ -123,6 +125,7 @@ 'Invitation to join %(site)s': 'Invitation to join %(site)s', 'Key': 'Llave', 'Key verified': 'Key verified', +'Landing pages': 'Landing pages', 'Last name': 'Apellido', 'Layout': 'Diseño de página', 'Live Chat': 'Chat en vivo', diff --git a/models/menu.py b/models/menu.py index 1aed04d..4868526 100644 --- a/models/menu.py +++ b/models/menu.py @@ -17,6 +17,9 @@ if not configuration.get('app.production'): _app = request.application response.menu += [ (T('My Sites'), False, URL('admin', 'default', 'site')), + (T('Landing pages'), False, '#', [ + (T('Edda Vitte'), False, URL('landings', 'l_edda')) + ]), (T('This App'), False, '#', [ (T('Design'), False, URL('admin', 'default', 'design/%s' % _app)), (T('Controller'), False, @@ -107,4 +110,3 @@ if not configuration.get('app.production'): 'http://webchat.freenode.net/?channels=web2py'), ]), ] - diff --git a/static/css/edda_vitte.css b/static/css/edda_vitte.css new file mode 100644 index 0000000..876d3de --- /dev/null +++ b/static/css/edda_vitte.css @@ -0,0 +1,65 @@ +@font-face { + font-family: sansitaBold; + src: url(../fonts/Sansita-Bold.ttf); +} + +@font-face { + font-family: sansitaItalic; + src: url(../fonts/Sansita-Italic.ttf); +} + +.main-container{ + margin-top: 0px; +} + +.bg-edda-paper { + background-image: url(../images/paper_texture.png); +} + +.bg-edda-dpurple { + background-color: #47398e; +} + +.bg-edda-lpurple { + background-color: #d0cee1; +} + +h2{ + font-family: sansitaBold; + color: #b0dac9; +} + +h3{ + font-family: sansitaBold; + font-size: 1.5rem; + color: #47398e; +} + +h4{ + font-family: sansitaItalic; + font-size: 1rem; + letter-spacing: 0.15rem; + color: #47398e; +} + +.div-edda-form{ + padding: 5rem 2rem 5rem 2rem; +} + +.form-control{ + background-color: #e8e8e8 !important; + border-radius: 0px !important; +} + +.btn-edda{ + font-family: sansitaBold; + font-size: 1.75rem; + color: white; + background-color: #47398e; + border-radius: 0.75rem; + letter-spacing: 0.15rem; +} + +.footer{ + background-color:#d0cee1 !important; +} diff --git a/static/fonts/Arial Bold.ttf b/static/fonts/Arial Bold.ttf new file mode 100644 index 0000000..940e255 Binary files /dev/null and b/static/fonts/Arial Bold.ttf differ diff --git a/static/fonts/Arial.ttf b/static/fonts/Arial.ttf new file mode 100644 index 0000000..ab68fb1 Binary files /dev/null and b/static/fonts/Arial.ttf differ diff --git a/static/fonts/Sansita-Bold.ttf b/static/fonts/Sansita-Bold.ttf new file mode 100644 index 0000000..62e63a6 Binary files /dev/null and b/static/fonts/Sansita-Bold.ttf differ diff --git a/static/fonts/Sansita-ExtraBoldItalic.ttf b/static/fonts/Sansita-ExtraBoldItalic.ttf new file mode 100644 index 0000000..a086e29 Binary files /dev/null and b/static/fonts/Sansita-ExtraBoldItalic.ttf differ diff --git a/static/fonts/Sansita-Italic.ttf b/static/fonts/Sansita-Italic.ttf new file mode 100644 index 0000000..bb01ef5 Binary files /dev/null and b/static/fonts/Sansita-Italic.ttf differ diff --git a/static/images/eddaPsd.png b/static/images/eddaPsd.png new file mode 100644 index 0000000..0f4b274 Binary files /dev/null and b/static/images/eddaPsd.png differ diff --git a/static/images/favicon.ico b/static/images/favicon.ico deleted file mode 100644 index d2296d5..0000000 Binary files a/static/images/favicon.ico and /dev/null differ diff --git a/static/images/favicon.png b/static/images/favicon.png index bd0a414..d939a56 100644 Binary files a/static/images/favicon.png and b/static/images/favicon.png differ diff --git a/static/images/logo_edda_vitte.png b/static/images/logo_edda_vitte.png new file mode 100644 index 0000000..32bd694 Binary files /dev/null and b/static/images/logo_edda_vitte.png differ diff --git a/static/images/paper_texture.png b/static/images/paper_texture.png new file mode 100644 index 0000000..04dc021 Binary files /dev/null and b/static/images/paper_texture.png differ diff --git a/views/landings/l_edda.html b/views/landings/l_edda.html new file mode 100644 index 0000000..0a1158e --- /dev/null +++ b/views/landings/l_edda.html @@ -0,0 +1,74 @@ +{{extend 'layout.html'}} + + +
+
+ +
+
+ +
+
+
+
+

QUIERO LEER Y SABER MÁS DE TI, ESCRIBEME

+
+
+
+
+
+
+

REGÍSTRATE Y CONVERSEMOS

+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ + +
+
+ + +
+
+
+
+

Los campos marcados con * son obligatorios.

+
+
+
+ + +
+
+
+
diff --git a/views/layout.html b/views/layout.html index d26d052..ccb6908 100644 --- a/views/layout.html +++ b/views/layout.html @@ -23,7 +23,7 @@ - + @@ -59,9 +59,6 @@ {{pass}} {{pass}} -
- -
{{if 'auth' in globals():}}