forked from qwerty/tupali
mejoras en vista aplicacion
This commit is contained in:
parent
c782680dc9
commit
cc434e7445
29
index.php
29
index.php
@ -28,9 +28,21 @@ if(isset($_REQUEST['debug'])) {
|
|||||||
<meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">
|
<meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name='theme-color' content='#333'/>
|
||||||
|
<!-- Windows Phone -->
|
||||||
|
<meta name='msapplication-navbutton-color' content='#333'/>
|
||||||
|
<!-- iOS Safari -->
|
||||||
|
<meta name='apple-mobile-web-app-capable' content='yes'/>
|
||||||
|
<meta name='apple-mobile-web-app-status-bar-style' content='black-translucent'/>
|
||||||
<!-- Chrome, Firefox OS y Opera -->
|
<!-- Chrome, Firefox OS y Opera -->
|
||||||
|
|
||||||
|
<script type="text/javascript"> >
|
||||||
|
window.addEventListener("load",function() {
|
||||||
|
setTimeout(function(){
|
||||||
|
window.scrollTo(0, 1);
|
||||||
|
}, 0);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -95,7 +107,14 @@ $librerias_pie ="";
|
|||||||
//$destacados = mas_visto("ultimos","6","6");
|
//$destacados = mas_visto("ultimos","6","6");
|
||||||
//$aleatorios = mas_visto("aleatorios","6","6");
|
//$aleatorios = mas_visto("aleatorios","6","6");
|
||||||
//if (isset($_GET['v'])) {$variable = $_GET['v'];}else {$variable = "";}
|
//if (isset($_GET['v'])) {$variable = $_GET['v'];}else {$variable = "";}
|
||||||
if (isset($_REQUEST['empresa'])) {$variable = "e".$_REQUEST['empresa'];}
|
if (isset($_REQUEST['empresa'])) {
|
||||||
|
if(!isset($_REQUEST['home'])){
|
||||||
|
$pagina_inicio_definida = remplacetas('form_parametrizacion','id_empresa',$_REQUEST['id_empresa'],'descripcion'," tabla='empresa' AND opcion='pagina_inicio'") ;
|
||||||
|
$variable = $pagina_inicio_definida[0];//"e".$_REQUEST['empresa'];
|
||||||
|
}else{
|
||||||
|
$variable = "e".$_REQUEST['empresa'];
|
||||||
|
}
|
||||||
|
}
|
||||||
elseif (isset($_REQUEST['form']) AND isset($_REQUEST['embebido']) ) {$variable = "g".$_REQUEST['form'];}
|
elseif (isset($_REQUEST['form']) AND isset($_REQUEST['embebido']) ) {$variable = "g".$_REQUEST['form'];}
|
||||||
elseif (isset($_REQUEST['identificador']) AND $_REQUEST['t'] =='edit' ) {$variable = "d".$_REQUEST['identificador'];}
|
elseif (isset($_REQUEST['identificador']) AND $_REQUEST['t'] =='edit' ) {$variable = "d".$_REQUEST['identificador'];}
|
||||||
elseif (isset($_REQUEST['addon']) AND isset($_REQUEST['embebido']) ) {$variable = "j".$_REQUEST['addon'];}
|
elseif (isset($_REQUEST['addon']) AND isset($_REQUEST['embebido']) ) {$variable = "j".$_REQUEST['addon'];}
|
||||||
@ -191,7 +210,7 @@ if ($variable !=''){
|
|||||||
$background_imagen = remplacetas('empresa','id',"$id_empresa",'imagen','') ;
|
$background_imagen = remplacetas('empresa','id',"$id_empresa",'imagen','') ;
|
||||||
$background_imagen = $background_imagen[0];
|
$background_imagen = $background_imagen[0];
|
||||||
$uri_set = "";
|
$uri_set = "";
|
||||||
$pagina_inicio_definida = remplacetas('form_parametrizacion','id_empresa',$_SESSION['id_empresa'],'descripcion'," tabla='empresa' AND opcion='pagina_inicio'") ;
|
$pagina_inicio_definida = remplacetas('form_parametrizacion','id_empresa',$id_empresa,'descripcion'," tabla='empresa' AND opcion='pagina_inicio'") ;
|
||||||
if($pagina_inicio_definida[0] !="" and !isset($_REQUEST['home'])){
|
if($pagina_inicio_definida[0] !="" and !isset($_REQUEST['home'])){
|
||||||
$vista_favorita = vista_favorita($pagina_inicio_definida[0]);
|
$vista_favorita = vista_favorita($pagina_inicio_definida[0]);
|
||||||
//$set= $pagina_inicio_definida[0];
|
//$set= $pagina_inicio_definida[0];
|
||||||
@ -502,7 +521,7 @@ if ($variable !=''){
|
|||||||
// More info https://github.com/hakimel/reveal.js#configuration
|
// More info https://github.com/hakimel/reveal.js#configuration
|
||||||
Reveal.initialize({
|
Reveal.initialize({
|
||||||
width: '100%',
|
width: '100%',
|
||||||
height: '90%',
|
height: '100%',
|
||||||
touch: false,
|
touch: false,
|
||||||
controls: false,
|
controls: false,
|
||||||
progress: true,
|
progress: true,
|
||||||
@ -722,7 +741,7 @@ if('serviceWorker' in navigator) {
|
|||||||
</section>
|
</section>
|
||||||
<section id='listado' class='' >
|
<section id='listado' class='' >
|
||||||
<div class='container-fluid'>
|
<div class='container-fluid'>
|
||||||
<div style='overflow-y: scroll; overflow-x: hidden; max-height: calc(100vh - 150px); min-height: calc(100vh - 150px); ' >
|
<div style='overflow-y: scroll; overflow-x: hidden; max-height: calc(100vh - 100px); min-height: calc(100vh - 150px); ' >
|
||||||
<br>
|
<br>
|
||||||
<div class=''>
|
<div class=''>
|
||||||
<table class='table table-bordered table-striped exportable'>
|
<table class='table table-bordered table-striped exportable'>
|
||||||
|
Loading…
Reference in New Issue
Block a user