Mejoras en la vista aplicación
This commit is contained in:
parent
c3da68b3c5
commit
fee47510fe
0
addon/reveal/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot
Executable file → Normal file
0
addon/reveal/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot
Executable file → Normal file
0
addon/reveal/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf
Executable file → Normal file
0
addon/reveal/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf
Executable file → Normal file
0
addon/reveal/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff
Executable file → Normal file
0
addon/reveal/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff
Executable file → Normal file
|
@ -277,48 +277,98 @@ if ($variable !=''){
|
||||||
}
|
}
|
||||||
elseif($v[0] =='a') {
|
elseif($v[0] =='a') {
|
||||||
$form =$v[1];
|
$form =$v[1];
|
||||||
|
$plantilla="carousel";
|
||||||
/// a=Aplicacion
|
/// a=Aplicacion
|
||||||
$geo = buscar_campo_tipo($form,"14");
|
$geo = buscar_campo_tipo($form,"14");
|
||||||
$embebido = "1";
|
$embebido = "1";
|
||||||
$empresa = remplacetas('form_id','id',$form,'id_empresa',"") ;
|
$empresa = remplacetas('form_id','id',$form,'id_empresa',"") ;
|
||||||
$razon_social_portal = remplacetas('empresa','id',"1",'razon_social','') ;
|
$razon_social_portal = remplacetas('empresa','id',"1",'razon_social','') ;
|
||||||
$id_empresa = $empresa[0];
|
$id_empresa = $empresa[0];
|
||||||
$registros = consultar_contenido_formulario("$form",'5','','embebido','',"$plantilla");
|
$titulo = remplacetas('form_id','id',$form,'nombre',"") ;
|
||||||
$formulario = formulario_embebido($form,$opciones);
|
$descripcion = remplacetas('form_id','id',$form,'descripcion',"") ;
|
||||||
|
//$registros = consultar_contenido_formulario("$form",'5','','embebido','',"$plantilla");
|
||||||
|
//$registros = aplicacion_carrusel("embebido","$form","$plantilla","","","5");
|
||||||
|
$registros = aplicacion_carrusel("$form",'10','','embebido','',"carousel");
|
||||||
|
$registros="<div id='mostrar_carrusel'>$registros</div>";
|
||||||
|
// $formulario = formulario_embebido($form,$opciones);
|
||||||
$titulo = remplacetas('form_id','id',$form,'nombre',"") ;
|
$titulo = remplacetas('form_id','id',$form,'nombre',"") ;
|
||||||
$razon_social = remplacetas('empresa','id',"$id_empresa",'razon_social','') ;
|
$razon_social = remplacetas('empresa','id',"$id_empresa",'razon_social','') ;
|
||||||
$slogan = remplacetas('empresa','id',"$id_empresa",'slogan','') ;
|
$slogan = remplacetas('empresa','id',"$id_empresa",'slogan','') ;
|
||||||
$web = remplacetas('empresa','id',"$id_empresa",'web','');
|
$web = remplacetas('empresa','id',"$id_empresa",'web','');
|
||||||
$logo = remplacetas('empresa','id',"$id_empresa",'imagen','') ;
|
$logo = remplacetas('empresa','id',"$id_empresa",'imagen','') ;
|
||||||
if($geo[0] != "") {
|
if($geo[0] != "") {
|
||||||
|
$mapa = "
|
||||||
|
<a name='mapa'></a>
|
||||||
|
<div class=' '>
|
||||||
|
<iframe class='' src='mapero.php?id=$form' width='100%' height='900px;' webkitAllowFullScreen mozallowfullscreen allowFullScreen ></iframe>
|
||||||
$mapa = "
|
|
||||||
<div class='text-center'>
|
|
||||||
<iframe src='https://$web[0]/milfs/map.php?id=$form' width='80%' height='600px;' ></iframe>
|
|
||||||
</div>";
|
</div>";
|
||||||
}else {$mapa = "";}
|
}else {$mapa = "";}
|
||||||
|
$estadisticas = portal_listado_campos("$form");
|
||||||
|
$acciones= formulario_acciones("$form","aplicacion");
|
||||||
|
$footer=" <style>
|
||||||
|
div.nomostrar{
|
||||||
|
display:none;
|
||||||
|
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<nav class='navbar navbar-inverse navbar-fixed-bottom'>
|
||||||
|
<div class=''>
|
||||||
|
|
||||||
|
<ul class='nav navbar-nav center-block' style='
|
||||||
|
float:none;
|
||||||
|
margin:0 auto;
|
||||||
|
display: block;
|
||||||
|
text-align: center;'>
|
||||||
|
$acciones
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</nav>";
|
||||||
$aplicacion = "
|
$aplicacion = "
|
||||||
<div class='container center-block' style='word-wrap: break-word; '>
|
<a name='inicio'></a>
|
||||||
<div class='text-center'><a href='https://$web[0]'><i class='fa fa-home'></i> $razon_social_portal[0]</a> / <a href='https://$web[0]/e$id_empresa'>$razon_social[0]</a> $slogan[0]</div>
|
<div class='container text-center' style='min-height:1500px; overflow: hidden;'>
|
||||||
|
|
||||||
$formulario
|
<img src='milfs/images/secure/?file=full/$logo[0]' alt='' class='img'>
|
||||||
|
<h1>$titulo[0]
|
||||||
|
<small>$descripcion[0]</small>
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<div class='text-center'><a href='https://$web[0]'><i class='fa fa-home'></i> $razon_social_portal[0]</a> / <a href='https://$web[0]/e$id_empresa'>$razon_social[0]</a> $slogan[0]</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div style=''>
|
||||||
|
<a name='mapa'></a>
|
||||||
|
<h2>Mapa</h2>
|
||||||
|
$mapa
|
||||||
|
</div>
|
||||||
|
<div style=''>
|
||||||
|
<a name='galeria'></a>
|
||||||
|
<h2>Galería</h2>
|
||||||
|
$registros
|
||||||
|
</div>
|
||||||
|
<div style=''>
|
||||||
|
<a name='estadisticas'></a>
|
||||||
|
<h2>Estadísticas</h2>
|
||||||
|
$estadisticas
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<br>
|
|
||||||
$registros
|
|
||||||
$mapa
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<span>Powered by <a href='https://github.com/humano/milfs' target='milfs'>MILFS</a></span>
|
<span>Powered by <a href='https://github.com/humano/milfs' target='milfs'>MILFS</a></span>
|
||||||
<div class='container' style='background-color:white' >
|
<div class='container' style='background-color:white' >
|
||||||
<h2><img src= 'https://qwerty.co/qr/?d=https://$web[0]/a$form'>Comparte nuestra aplicación</h2>
|
<h2><img src= 'https://qwerty.co/qr/?d=https://$web[0]/a$form'>Comparte nuestra aplicación</h2>
|
||||||
<p>Descarga una aplicación para leer este código
|
|
||||||
<a href='https://play.google.com/store/search?q=qr%20code%20reader&hl=es_419'><i class='fa fa-android'></i></a>
|
|
||||||
<a href='https://itunes.apple.com/us/app/qr-reader-for-iphone/id368494609?mt=8'><i class='fa fa-apple'></i></a>
|
|
||||||
</p>
|
</p>
|
||||||
</div>";
|
</div>
|
||||||
$onload = "$aplicacion";
|
</div>
|
||||||
|
|
||||||
|
";
|
||||||
|
$onload = "$footer $aplicacion ";
|
||||||
|
|
||||||
}
|
}
|
||||||
elseif($v[0] =='g') {
|
elseif($v[0] =='g') {
|
||||||
|
@ -428,6 +478,7 @@ $uri = $_SERVER['REQUEST_URI'];
|
||||||
$xajax->statusMessagesOn();
|
$xajax->statusMessagesOn();
|
||||||
;?>
|
;?>
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
@media all {
|
@media all {
|
||||||
div.saltopagina{
|
div.saltopagina{
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -485,6 +536,8 @@ legend.legend-area {
|
||||||
</style>
|
</style>
|
||||||
<link href="./librerias/font-awesome/css/font-awesome.min.css" rel="stylesheet" >
|
<link href="./librerias/font-awesome/css/font-awesome.min.css" rel="stylesheet" >
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css"> -->
|
<!-- <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css"> -->
|
||||||
|
|
||||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
|
@ -516,14 +569,14 @@ legend.legend-area {
|
||||||
if($tema=="") {
|
if($tema=="") {
|
||||||
|
|
||||||
$barra="
|
$barra="
|
||||||
<div class='noprint'>
|
<div class='noprint nomostrar'>
|
||||||
<nav style='' class='navbar navbar-inverse navbar-fixed-top topnav' role='navigation'>
|
<nav style='' class='navbar navbar-inverse navbar-fixed-top topnav navbar-principal ' role='navigation'>
|
||||||
|
|
||||||
<div style='padding:10px; ' class='container topnav '>
|
<div style='padding:10px; ' class='container topnav '>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ul style=' ' class='nav navbar-nav navbar-center'>
|
<ul style=' ' class='nav navbar-nav navbar-center navbar-principal '>
|
||||||
|
|
||||||
<li class='dropdown' >
|
<li class='dropdown' >
|
||||||
<a style=' ' href='#' class='dropdown-toggle' data-toggle='dropdown' role='button' aria-haspopup='true' aria-expanded='false'><i class='fa fa-bars'></i> $portal_sigla</a>
|
<a style=' ' href='#' class='dropdown-toggle' data-toggle='dropdown' role='button' aria-haspopup='true' aria-expanded='false'><i class='fa fa-bars'></i> $portal_sigla</a>
|
||||||
|
@ -550,40 +603,37 @@ legend.legend-area {
|
||||||
<script src="./librerias/jquery/jquery-2.1.4.min.js" ></script>
|
<script src="./librerias/jquery/jquery-2.1.4.min.js" ></script>
|
||||||
<script src="./librerias/bootstrap/js/bootstrap.min.js" ></script>
|
<script src="./librerias/bootstrap/js/bootstrap.min.js" ></script>
|
||||||
|
|
||||||
|
<!-- morris -->
|
||||||
|
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/morris.js/0.5.1/morris.css">
|
||||||
|
<script src="//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
|
||||||
|
<script src="//cdnjs.cloudflare.com/ajax/libs/morris.js/0.5.1/morris.min.js"></script>
|
||||||
|
<!-- morris -->
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
.navbar .navbar-nav {
|
||||||
.navbar .navbar-nav {
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
float: none;
|
float: none;
|
||||||
|
|
||||||
}
|
}
|
||||||
.navbar .navbar-collapse {
|
.navbar .navbar-collapse .navbar-principal {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
margin-top: -13px;
|
margin-top: -13px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-nav > li > a, .navbar-brand {
|
.navbar-principal > li > a, {
|
||||||
padding-top:0px !important; padding-bottom:0 !important;
|
padding-top:0px !important; padding-bottom:0 !important;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
margin-top: -13px;
|
margin-top: -13px;
|
||||||
}
|
}
|
||||||
.navbar {min-height:30px !important;}
|
.navbar-principal {min-height:30px !important;}
|
||||||
|
|
||||||
|
|
||||||
.navbar-nav > li > a, .navbar-brand {
|
|
||||||
padding-top:0px !important; padding-bottom:0 !important;
|
|
||||||
height: 30px;
|
|
||||||
margin-top: -13px;
|
|
||||||
color:black !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.topnav {
|
.topnav {
|
||||||
width: 100px !important;
|
width: 100px !important;
|
||||||
display: inline;
|
display: inline;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
@ -663,7 +713,7 @@ $menu_lateral = "
|
||||||
<a href='#' class='fh5co-close-offcanvas js-fh5co-close-offcanvas'><span><i class='icon-cross3'></i> <span>Close</span></span></a>
|
<a href='#' class='fh5co-close-offcanvas js-fh5co-close-offcanvas'><span><i class='icon-cross3'></i> <span>Close</span></span></a>
|
||||||
<div class='fh5co-bio'>
|
<div class='fh5co-bio'>
|
||||||
<figure>
|
<figure>
|
||||||
<img src='milfs/images/secure/?file=full/$logo[0]' alt='Free HTML5 Bootstrap Template' class='img-responsive'>
|
<img src='milfs/images/secure/?file=full/$logo[0]' alt='' class='img-responsive'>
|
||||||
</figure>
|
</figure>
|
||||||
<h3 data-toc-skip >LO QUE SOMOS</h3>
|
<h3 data-toc-skip >LO QUE SOMOS</h3>
|
||||||
<h2 data-toc-skip >".@$razon_social[0]." </h2>
|
<h2 data-toc-skip >".@$razon_social[0]." </h2>
|
||||||
|
@ -727,6 +777,7 @@ $menu_lateral = "
|
||||||
<?php echo $css_adicional; ?>
|
<?php echo $css_adicional; ?>
|
||||||
<?php if(!isset($_SESSION['id']) ){ ?>
|
<?php if(!isset($_SESSION['id']) ){ ?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
function addLink() {
|
function addLink() {
|
||||||
var body_element = document.getElementsByTagName('body')[0];
|
var body_element = document.getElementsByTagName('body')[0];
|
||||||
var selection;
|
var selection;
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
/* Sticky footer styles
|
||||||
|
-------------------------------------------------- */
|
||||||
|
html {
|
||||||
|
position: relative;
|
||||||
|
min-height: 100%;
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
/* Margin bottom by footer height */
|
||||||
|
margin-bottom: 60px;
|
||||||
|
}
|
||||||
|
.footer {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
/* Set the fixed height of the footer here */
|
||||||
|
height: 60px;
|
||||||
|
line-height: 60px; /* Vertically center the text there */
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Custom page CSS
|
||||||
|
-------------------------------------------------- */
|
||||||
|
/* Not required for template or sticky footer method. */
|
||||||
|
|
||||||
|
body > .container {
|
||||||
|
padding: 60px 15px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer > .container {
|
||||||
|
padding-right: 15px;
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue