Added Edda Vitte landing

This commit is contained in:
Albert Strusberg 2022-03-21 15:43:46 -05:00
parent 1a4d52d8d5
commit 3abc1d7276
16 changed files with 154 additions and 8 deletions

6
controllers/landings.py Normal file
View File

@ -0,0 +1,6 @@
# -*- coding: utf-8 -*-
# Controller for all the landing pages created on this apple
def l_edda():
return dict()

View File

@ -72,6 +72,7 @@
'Description': 'Descripción', 'Description': 'Descripción',
'design': 'diseño', 'design': 'diseño',
'Design': 'Diseño', 'Design': 'Diseño',
'Developed by': 'Developed by',
'DISK': 'DISCO', 'DISK': 'DISCO',
'Disk Cache Keys': 'Llaves de Caché en Disco', 'Disk Cache Keys': 'Llaves de Caché en Disco',
'Disk Cleared': 'Disco limpiado', 'Disk Cleared': 'Disco limpiado',
@ -81,6 +82,7 @@
'done!': '¡hecho!', 'done!': '¡hecho!',
'Download': 'Descargas', 'Download': 'Descargas',
'E-mail': 'Correo electrónico', 'E-mail': 'Correo electrónico',
'Edda Vitte': 'Edda Vitte',
'Edit current record': 'Edite el registro actual', 'Edit current record': 'Edite el registro actual',
'Email and SMS': 'Correo electrónico y SMS', 'Email and SMS': 'Correo electrónico y SMS',
'Email sent': 'Correo electrónico enviado', 'Email sent': 'Correo electrónico enviado',
@ -123,6 +125,7 @@
'Invitation to join %(site)s': 'Invitation to join %(site)s', 'Invitation to join %(site)s': 'Invitation to join %(site)s',
'Key': 'Llave', 'Key': 'Llave',
'Key verified': 'Key verified', 'Key verified': 'Key verified',
'Landing pages': 'Landing pages',
'Last name': 'Apellido', 'Last name': 'Apellido',
'Layout': 'Diseño de página', 'Layout': 'Diseño de página',
'Live Chat': 'Chat en vivo', 'Live Chat': 'Chat en vivo',

View File

@ -17,6 +17,9 @@ if not configuration.get('app.production'):
_app = request.application _app = request.application
response.menu += [ response.menu += [
(T('My Sites'), False, URL('admin', 'default', 'site')), (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('This App'), False, '#', [
(T('Design'), False, URL('admin', 'default', 'design/%s' % _app)), (T('Design'), False, URL('admin', 'default', 'design/%s' % _app)),
(T('Controller'), False, (T('Controller'), False,
@ -107,4 +110,3 @@ if not configuration.get('app.production'):
'http://webchat.freenode.net/?channels=web2py'), 'http://webchat.freenode.net/?channels=web2py'),
]), ]),
] ]

65
static/css/edda_vitte.css Normal file
View File

@ -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;
}

BIN
static/fonts/Arial Bold.ttf Normal file

Binary file not shown.

BIN
static/fonts/Arial.ttf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
static/images/eddaPsd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 MiB

View File

@ -0,0 +1,74 @@
{{extend 'layout.html'}}
<link rel="stylesheet" href="{{=URL('static', 'css/edda_vitte.css')}}">
<div class="row align-items-center bg-edda-paper">
<div class="col-8">
<img src="{{=URL('static', 'images/eddaPsd.png')}}" class="img-fluid" alt="">
</div>
<div class="col-4">
<img src="{{=URL('static', 'images/logo_edda_vitte.png')}}" class="img-fluid" alt="">
</div>
</div>
<div class="row">
<div class="col-12 bg-edda-dpurple pt-2">
<h2 class="text-center">QUIERO LEER Y SABER MÁS DE TI, ESCRIBEME</h2>
</div>
</div>
<div class="row div-edda-form bg-edda-lpurple">
<div class="col-12 mx-auto" style="max-width: 1280px;">
<div class="row mb-4">
<div class="col-12">
<h2 class="text-center" style="color: #47398e; letter-spacing: 0.15rem;">REGÍSTRATE Y CONVERSEMOS</h2>
</div>
</div>
<form class="" enctype="multipart/form-data" method="post">
<div class="row mb-4">
<div class="col-12 col-lg-6 form-group">
<label for="formularioNombre"><h3>NOMBRE(S) *</h3></label>
<input type="text" class="form-control" id="formularioNombre" placeholder="">
</div>
<div class="col-12 col-lg-3 form-group">
<label for="formularioApellidoP"><h3>APELLIDO PATERNO *</h3></label>
<input type="text" class="form-control" id="formularioApellidoP" placeholder="">
</div>
<div class="col-12 col-lg-3 form-group">
<label for="formularioApellidoM"><h3>APELLIDO MATERNO *</h3></label>
<input type="text" class="form-control" id="formularioApellidoM" placeholder="">
</div>
</div>
<div class="row mb-4">
<div class="col-12 col-lg-4 form-group">
<label for="formularioNacimiento"><h3>FECHA DE CUMPLEAÑOS *</h3></label>
<div class="row" id="formularioNacimiento">
<div class="col-3">
<input type="numeric" class="form-control" placeholder="">
</div>
<div class="col-3">
<input type="numeric" class="form-control" placeholder="">
</div>
<div class="col-6">
<input type="numeric" class="form-control" placeholder="">
</div>
</div>
</div>
<div class="col-12 col-lg-3 form-group">
<label for="formularioCelular"><h3>CELULAR *</h3></label>
<input type="numeric" class="form-control" id="formularioCelular" placeholder="">
</div>
<div class="col-12 col-lg-5 form-group">
<label for="formularioCorreo"><h3>CORREO ELECTRÓNICO *</h3></label>
<input type="email" class="form-control" id="formularioCorreo" placeholder="">
</div>
</div>
<div class="row mb-4">
<div class="col-12">
<h4 class="text-center">Los campos marcados con * son obligatorios.</h4>
</div>
</div>
<div class="text-center">
<input class="btn btn-edda" type="submit" value="CONVERSEMOS">
<input type="hidden" name="_formname" value="enviarFormulario">
</div>
</form>
</div>
</div>

View File

@ -23,7 +23,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"/> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"/>
<link rel="stylesheet" href="{{=URL('static','css/bootstrap.min.css')}}"/> <link rel="stylesheet" href="{{=URL('static','css/bootstrap.min.css')}}"/>
<link rel="stylesheet" href="{{=URL('static','css/web2py-bootstrap4.css')}}"/> <link rel="stylesheet" href="{{=URL('static','css/web2py-bootstrap4.css')}}"/>
<link rel="shortcut icon" href="{{=URL('static','images/favicon.ico')}}" type="image/x-icon"> <link rel="shortcut icon" href="{{=URL('static','images/favicon.png')}}" type="image/x-icon">
<link rel="apple-touch-icon" href="{{=URL('static','images/favicon.png')}}"> <link rel="apple-touch-icon" href="{{=URL('static','images/favicon.png')}}">
<!-- All JavaScript at the bottom, except for Modernizr which enables <!-- All JavaScript at the bottom, except for Modernizr which enables
HTML5 elements & feature detects --> HTML5 elements & feature detects -->
@ -59,9 +59,6 @@
{{pass}} {{pass}}
{{pass}} {{pass}}
</ul> </ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search">
</form>
{{if 'auth' in globals():}} {{if 'auth' in globals():}}
<ul class="nav navbar-nav ml-auto w-100 justify-content-end"> <ul class="nav navbar-nav ml-auto w-100 justify-content-end">
<li class="nav-item dropdown"> <li class="nav-item dropdown">
@ -100,15 +97,14 @@
{{include}} {{include}}
{{=response.toolbar() if response.show_toolbar else ''}} {{=response.toolbar() if response.show_toolbar else ''}}
</div> </div>
{{block footer}} <!-- this is default footer --> {{block footer}} <!-- this is default footer -->
<footer class="footer container-fluid"> <footer class="footer container-fluid">
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<div class="copyright pull-left">{{=T('Copyright')}} &#169; {{=request.now.year}}</div> <div class="copyright pull-left">{{=T('Copyright')}} &#169; {{=request.now.year}}</div>
<div id="poweredBy" class="pull-right"> <div id="poweredBy" class="pull-right">
{{=T('Powered by')}} {{=T('Developed by')}}
<a href="http://www.web2py.com/">web2py</a> <a href="http://www.latinux.org/">Latinux</a>
</div> </div>
</div> </div>
</div> </div>