1
0
mirror of https://github.com/gamaio/lobli.git synced 2024-12-22 19:52:40 +00:00

Add rudimentary AJAX call for the stat table.

This might be temporary as I might decide to do the logic for this to happen on this page totally.
This commit is contained in:
alopexc0de 2014-07-24 21:23:29 -04:00
parent 173b977aaf
commit 09280b93fa
No known key found for this signature in database
GPG Key ID: 48E847F18074C953

View File

@ -41,54 +41,57 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <div class="stattable">
<td></td> <tr>
<td></td> <td></td>
<td> <td></td>
<div id="theLoader" style="padding-left:10%;"> <td>
<div class="wrap"> <div id="theLoader" style="padding-left:10%;">
<div class="loading"> <div class="wrap">
<span class="title">loading....</span> <div class="loading">
<span class="text">Please Wait</span> <span class="title">loading....</span>
<span class="text">Please Wait</span>
</div>
</div> </div>
</div> </td>
</td> </tr>
</tr>
<tr class="success"> <!--<tr class="success">
<td></td> <td></td>
<td class="centertab"><a href="#">1</a></td> <td class="centertab"><a href="#">1</a></td>
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td> <td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
<td class="centertab">44444</td> <td class="centertab">44444</td>
<td>00/00/0000</td> <td>00/00/0000</td>
</tr> </tr>
<tr class="success"> <tr class="success">
<td></td> <td></td>
<td class="centertab"><a href="#">6</a></td> <td class="centertab"><a href="#">6</a></td>
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td> <td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
<td class="centertab">44444</td> <td class="centertab">44444</td>
<td>00/00/0000</td> <td>00/00/0000</td>
</tr> </tr>
<tr class="success"> <tr class="success">
<td></td> <td></td>
<td class="centertab"><a href="#">236</a></td> <td class="centertab"><a href="#">236</a></td>
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td> <td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
<td class="centertab">44444</td> <td class="centertab">44444</td>
<td>00/00/0000</td> <td>00/00/0000</td>
</tr> </tr>
<tr class="success"> <tr class="success">
<td></td> <td></td>
<td class="centertab"><a href="#">f42</a></td> <td class="centertab"><a href="#">f42</a></td>
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td> <td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
<td class="centertab">44444</td> <td class="centertab">44444</td>
<td>00/00/0000</td> <td>00/00/0000</td>
</tr> </tr>
<tr class="success"> <tr class="success">
<td></td> <td></td>
<td class="centertab"><a href="#">tg54<a></td> <td class="centertab"><a href="#">tg54<a></td>
<td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td> <td><a href="#" title="Resolved website title" class="res">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</a></td>
<td class="centertab">44444</td> <td class="centertab">44444</td>
<td>00/00/0000</td> <td>00/00/0000</td>
</tr> </tr>-->
</div>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -110,6 +113,10 @@
<script type="text/javascript" language="JavaScript"> <script type="text/javascript" language="JavaScript">
jQuery(document).ready(function(){ jQuery(document).ready(function(){
$('#statlink').addClass('active'); $('#statlink').addClass('active');
$.get("process.php?getstats&type=htmltable", function(data) {
$(".stattable").html(data);
});
}); });
$(function(){ $(function(){