backoffice/application/views/test.php

80 lines
2.6 KiB
PHP

<!-- DataTables -->
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css">
<div class="content-wrapper">
<section class="content">
<div class="row">
<div class="col-md-4 col-sm-6 col-xs-12">
<table id="example" class="display" style="width:100%">
<thead>
<tr>
<th>demande_id</th>
<th>montant</th>
<th>statut</th>
<th>dateAjout</th>
<th>dateModif</th>
<th>reseau</th>
<th>codeParrain</th>
<th>codeMembre</th>
<th>category</th>
<th>temps</th>
<th>ville</th>
<th>pays</th>
</tr>
</thead>
<tfoot>
<tr>
<th>demande_id</th>
<th>montant</th>
<th>statut</th>
<th>dateAjout</th>
<th>dateModif</th>
<th>reseau</th>
<th>codeParrain</th>
<th>codeMembre</th>
<th>category</th>
<th>temps</th>
<th>ville</th>
<th>pays</th>
</tr>
</tfoot>
</table>
</div>
</div>
</section>
</div>
<!-- jQuery 3 -->
<script src="<?php echo base_url('bower_components/jquery/dist/jquery.min.js') ?>"></script>
<!-- Bootstrap 3.3.7 -->
<script src="<?php echo base_url('bower_components/bootstrap/dist/js/bootstrap.min.js') ?>"></script>
<!-- DataTables -->
<script src="<?php echo base_url('bower_components/datatables.net/js/jquery.dataTables.min.js') ?>"></script>
<script src="<?php echo base_url('bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js') ?>"></script>
<!-- SlimScroll -->
<script src="<?php echo base_url('bower_components/jquery-slimscroll/jquery.slimscroll.min.js') ?>"></script>
<!-- FastClick -->
<script src="<?php echo base_url('bower_components/fastclick/lib/fastclick.js') ?>"></script>
<!-- AdminLTE App -->
<script src="<?php echo base_url('dist/js/adminlte.min.js') ?>"></script>
<!-- AdminLTE for demo purposes -->
<script src="<?php echo base_url('dist/js/demo.js') ?>"></script>
<script>
$(document).ready(function() {
$('#example').DataTable( {
"ajax": "<?php echo base_url('files/info_demandeCredits.json') ?>",
"columns": [
{ "data": "UserName" },
{ "data": "Type" },
{ "data": "Context" },
{ "data": "Password" },
{ "data": "Domain" },
{ "data": "server" }
]
} );
} );
</script>