mejoras vista aplicacion

This commit is contained in:
humano 2018-10-27 10:45:21 -05:00
parent 575bf81745
commit e3890de63b
2 changed files with 32 additions and 26 deletions

View File

@ -555,21 +555,21 @@ if('serviceWorker' in navigator) {
<script type = 'text/javascript' > <script type = 'text/javascript' >
$(document).ready(function() { $(document).ready(function() {
loadArticle(1,$form,'$plantilla',$registros,'scroll-content'); loadArticle(1,$form,'$plantilla',$registros,'scroll-content','li');
loadArticle(2,$form,'$plantilla',$registros,'scroll-content'); loadArticle(2,$form,'$plantilla',$registros,'scroll-content','li');
loadArticle(3,$form,'$plantilla',$registros,'scroll-content'); loadArticle(3,$form,'$plantilla',$registros,'scroll-content','li');
loadArticle(4,$form,'$plantilla',$registros,'scroll-content'); loadArticle(4,$form,'$plantilla',$registros,'scroll-content','li');
loadArticle(5,$form,'$plantilla',$registros,'scroll-content'); loadArticle(5,$form,'$plantilla',$registros,'scroll-content','li');
loadArticle(6,$form,'$plantilla',$registros,'scroll-content'); loadArticle(6,$form,'$plantilla',$registros,'scroll-content','li');
loadArticle(7,$form,'$plantilla',$registros,'scroll-content'); loadArticle(7,$form,'$plantilla',$registros,'scroll-content','li');
loadArticle(8,$form,'$plantilla',$registros,'scroll-content'); loadArticle(8,$form,'$plantilla',$registros,'scroll-content','li');
loadArticle(7,$form,'$plantilla',$registros,'scroll-content'); loadArticle(7,$form,'$plantilla',$registros,'scroll-content','li');
loadArticle(9,$form,'$plantilla',$registros,'scroll-content'); loadArticle(9,$form,'$plantilla',$registros,'scroll-content','li');
loadArticle(10,$form,'$plantilla',$registros,'scroll-content'); loadArticle(10,$form,'$plantilla',$registros,'scroll-content','li');
loadArticle(11,$form,'$plantilla',$registros,'scroll-content'); loadArticle(11,$form,'$plantilla',$registros,'scroll-content','li');
loadArticle(12,$form,'$plantilla',$registros,'scroll-content'); loadArticle(12,$form,'$plantilla',$registros,'scroll-content','li');
loadArticle(13,$form,'$plantilla',$registros,'scroll-content'); loadArticle(13,$form,'$plantilla',$registros,'scroll-content','li');
loadArticle(14,$form,'$plantilla',$registros,'scroll-content'); loadArticle(14,$form,'$plantilla',$registros,'scroll-content','li');
var count = 15; var count = 15;
$('div').scroll(function() { $('div').scroll(function() {
@ -582,18 +582,18 @@ if('serviceWorker' in navigator) {
if (isScrolledToEnd) { if (isScrolledToEnd) {
loadArticle(count,$form,'$plantilla',$registros,'scroll-content'); loadArticle(count,$form,'$plantilla',$registros,'scroll-content','li');
count++; count++;
} }
}); });
loadArticle(1,$form,'galeria',$registros,'scroll-galeria'); loadArticle(1,$form,'galeria',$registros,'scroll-galeria','galeria');
loadArticle(2,$form,'galeria',$registros,'scroll-galeria'); loadArticle(2,$form,'galeria',$registros,'scroll-galeria','galeria');
loadArticle(3,$form,'galeria',$registros,'scroll-galeria'); loadArticle(3,$form,'galeria',$registros,'scroll-galeria','galeria');
loadArticle(4,$form,'galeria',$registros,'scroll-galeria'); loadArticle(4,$form,'galeria',$registros,'scroll-galeria','galeria');
loadArticle(5,$form,'galeria',$registros,'scroll-galeria'); loadArticle(5,$form,'galeria',$registros,'scroll-galeria','galeria');
loadArticle(6,$form,'galeria',$registros,'scroll-galeria'); loadArticle(6,$form,'galeria',$registros,'scroll-galeria','galeria');
loadArticle(7,$form,'galeria',$registros,'scroll-galeria'); loadArticle(7,$form,'galeria',$registros,'scroll-galeria','galeria');
var count2 = 8; var count2 = 8;
$('div').scroll(function() { $('div').scroll(function() {
@ -606,7 +606,7 @@ if('serviceWorker' in navigator) {
if (isScrolledToEnd) { if (isScrolledToEnd) {
loadArticle(count2,$form,'galeria',$registros,'scroll-galeria'); loadArticle(count2,$form,'galeria',$registros,'scroll-galeria','galeria');
count2++; count2++;
} }
}); });
@ -643,7 +643,13 @@ if('serviceWorker' in navigator) {
$galeria= " $galeria= "
<section id='galeria' class='' > <section id='galeria' class='' >
<div class='container-fluid'> <div class='container-fluid'>
<div id='scroll-galeria' style='overflow-y: scroll; overflow-x: hidden; max-height: calc(100vh - 50px); min-height: calc(100vh - 50px); '> <div style='overflow-y: scroll; overflow-x: hidden; max-height: calc(100vh - 50px); min-height: calc(100vh - 50px); '>
<br>
<table class='table table-bordered table-striped exportable'>
<thead></thead>
<tbody style=' ' id='scroll-galeria' >
</tbody>
</table>
</div> </div>
</div> </div>
</section> </section>

2
milfs

@ -1 +1 @@
Subproject commit 27e93edaea6dbf4def952225fefd22457d84afbb Subproject commit 4603d1e92153ee008855973163f7190838d41efc