gestion de procesos

This commit is contained in:
humano 2020-06-26 10:52:23 -05:00
parent a262730062
commit 316ea080ba
2 changed files with 120 additions and 1 deletions

119
index.php
View File

@ -95,6 +95,7 @@ $pagina_inicio_definida=array();
/// k= suite
/// l= Listado
/// m = checklist
/// M = menu
/// n=notas
/// o=parallax
/// p= Planilla
@ -1277,6 +1278,124 @@ $aplicacion_pie="
<div class='parallax_banner'></div>
<div style='min-height:200px;'>
$banner
</div>
<div class='barra navbar-collapse collapse ' id='barra_aplicaciones'>
<div class='navbar-header'>
<button type='button' class='navbar-toggle collapsed' data-toggle='collapse' data-target='#menu_colapsible' aria-expanded='false'>
<span class='sr-only'>Toggle navigation</span>
<span class='fa fa-bars'></span>
</button>
<a class='nav navbar-brand' href='e$id_empresa'><i class='fa fa-home'></i></a>
</div>
<div class='collapse navbar-collapse' id='menu_colapsible'>
<ul class='nav navbar-nav' >
<li class='dropdown'>
<a href='#' class='dropdown-toggle ' data-toggle='dropdown' role='button' aria-haspopup='true' aria-expanded='false'>
Secciones<span class='caret'></span>
</a>
<ul class='dropdown-menu' id='listado_aplicaciones'>
$aplicaciones_listado
</ul>
</li>
$boton_mapa
</ul>
<ul class='nav navbar-nav navbar-right'>
<li ><a href='http://tupale.co'>Tupale.co</a></li>
</ul>
</div>
</div>
<div id='mapa' class='container'><a name ='mapa' ></a>$mapa</div>
$presentacion
<script>
// When the user scrolls the page, execute myFunction
window.onscroll = function() {myFunction()};
// Get the header
var header = document.getElementById('barra_aplicaciones');
// Get the offset position of the navbar
var sticky = header.offsetTop;
// Add the sticky class to the header when you reach its scroll position. Remove 'sticky' when you leave the scroll position
function myFunction() {
if (window.pageYOffset >= sticky) {
header.classList.add('sticky');
} else {
header.classList.remove('sticky');
}
}
</script>
";
}elseif($v[0] =='M') {
/// f= FORMULARIO
$form =$v[1];
//$presentacion = contenido_presentacion("$form");
$presentacion = contenido_lista("$form","$plantilla");
$embebido = "1";
$empresa = remplacetas('form_id','id',"$form",'id_empresa',"") ;
$id_empresa= $empresa[0];
$logo = remplacetas('empresa','id',$id_empresa,'imagen','') ;
$no_mostrar ="display:none; ";
// if($_REQUEST['tema'] !="") { $tema= "$_REQUEST[tema]";} else {$tema="moon";}
////$librerias_cabeza =$presentacion_cabeza;
//$librerias_pie =$presentacion_pie;
$banner = banner_empresa("$id_empresa","$form");
$aplicaciones_listado= aplicaciones_listado("$id_empresa",'','lista','');
$geo = buscar_campo_tipo($form,"14");
$onload="
<style>
.parallax_banner {
/* The image used */
background-image: url('milfs/images/secure/?file=600/$logo[0]');
/* Full height */
height: 50%;
/* Create the parallax scrolling effect */
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.barra {
padding: 10px 16px;
background: white;
color: #f1f1f1;
width: 100%;
z-index:10000;
}
.sticky {
position: fixed;
top: 0;
width: 100%;
}
</style>
<div class='parallax_banner'></div>
<div style='min-height:200px;'>
$banner

2
milfs

@ -1 +1 @@
Subproject commit 8b12f2d146e0e8392ef44c5f808b4321fad73036
Subproject commit 67cf402bd95f1085fc9193d584abc06f21ca971d