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') {
|
||||
$form =$v[1];
|
||||
$plantilla="carousel";
|
||||
/// a=Aplicacion
|
||||
$geo = buscar_campo_tipo($form,"14");
|
||||
$embebido = "1";
|
||||
$empresa = remplacetas('form_id','id',$form,'id_empresa',"") ;
|
||||
$razon_social_portal = remplacetas('empresa','id',"1",'razon_social','') ;
|
||||
$id_empresa = $empresa[0];
|
||||
$registros = consultar_contenido_formulario("$form",'5','','embebido','',"$plantilla");
|
||||
$formulario = formulario_embebido($form,$opciones);
|
||||
$titulo = remplacetas('form_id','id',$form,'nombre',"") ;
|
||||
$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',"") ;
|
||||
$razon_social = remplacetas('empresa','id',"$id_empresa",'razon_social','') ;
|
||||
$slogan = remplacetas('empresa','id',"$id_empresa",'slogan','') ;
|
||||
$web = remplacetas('empresa','id',"$id_empresa",'web','');
|
||||
$logo = remplacetas('empresa','id',"$id_empresa",'imagen','') ;
|
||||
if($geo[0] != "") {
|
||||
|
||||
|
||||
|
||||
|
||||
$mapa = "
|
||||
<div class='text-center'>
|
||||
<iframe src='https://$web[0]/milfs/map.php?id=$form' width='80%' height='600px;' ></iframe>
|
||||
$mapa = "
|
||||
<a name='mapa'></a>
|
||||
<div class=' '>
|
||||
<iframe class='' src='mapero.php?id=$form' width='100%' height='900px;' webkitAllowFullScreen mozallowfullscreen allowFullScreen ></iframe>
|
||||
</div>";
|
||||
}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 = "
|
||||
<div class='container center-block' style='word-wrap: break-word; '>
|
||||
<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>
|
||||
<a name='inicio'></a>
|
||||
<div class='container text-center' style='min-height:1500px; overflow: hidden;'>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$formulario
|
||||
|
||||
|
||||
<br>
|
||||
$registros
|
||||
$mapa
|
||||
<span>Powered by <a href='https://github.com/humano/milfs' target='milfs'>MILFS</a></span>
|
||||
<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>
|
||||
<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>
|
||||
<h2><img src= 'https://qwerty.co/qr/?d=https://$web[0]/a$form'>Comparte nuestra aplicación</h2>
|
||||
</p>
|
||||
</div>";
|
||||
$onload = "$aplicacion";
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
$onload = "$footer $aplicacion ";
|
||||
|
||||
}
|
||||
elseif($v[0] =='g') {
|
||||
|
@ -428,6 +478,7 @@ $uri = $_SERVER['REQUEST_URI'];
|
|||
$xajax->statusMessagesOn();
|
||||
;?>
|
||||
<style>
|
||||
|
||||
@media all {
|
||||
div.saltopagina{
|
||||
display: none;
|
||||
|
@ -485,6 +536,8 @@ legend.legend-area {
|
|||
</style>
|
||||
<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"> -->
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
|
@ -516,14 +569,14 @@ legend.legend-area {
|
|||
if($tema=="") {
|
||||
|
||||
$barra="
|
||||
<div class='noprint'>
|
||||
<nav style='' class='navbar navbar-inverse navbar-fixed-top topnav' role='navigation'>
|
||||
<div class='noprint nomostrar'>
|
||||
<nav style='' class='navbar navbar-inverse navbar-fixed-top topnav navbar-principal ' role='navigation'>
|
||||
|
||||
<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' >
|
||||
<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/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>
|
||||
|
||||
|
||||
.navbar .navbar-nav {
|
||||
.navbar .navbar-nav {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
|
||||
}
|
||||
.navbar .navbar-collapse {
|
||||
.navbar .navbar-collapse .navbar-principal {
|
||||
text-align: center;
|
||||
height: 30px;
|
||||
margin-top: -13px;
|
||||
|
||||
}
|
||||
|
||||
.navbar-nav > li > a, .navbar-brand {
|
||||
.navbar-principal > li > a, {
|
||||
padding-top:0px !important; padding-bottom:0 !important;
|
||||
height: 30px;
|
||||
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;
|
||||
display: inline;
|
||||
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>
|
||||
<div class='fh5co-bio'>
|
||||
<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>
|
||||
<h3 data-toc-skip >LO QUE SOMOS</h3>
|
||||
<h2 data-toc-skip >".@$razon_social[0]." </h2>
|
||||
|
@ -727,6 +777,7 @@ $menu_lateral = "
|
|||
<?php echo $css_adicional; ?>
|
||||
<?php if(!isset($_SESSION['id']) ){ ?>
|
||||
<script type="text/javascript">
|
||||
|
||||
function addLink() {
|
||||
var body_element = document.getElementsByTagName('body')[0];
|
||||
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