102 lines
3.3 KiB
PHP
Executable File
102 lines
3.3 KiB
PHP
Executable File
|
|
|
|
<footer class="main-footer">
|
|
<div class="pull-right hidden-xs">
|
|
<b>Siddharth Industries</b> Admin System | Version 1.0
|
|
</div>
|
|
<strong>Copyright © 2016-2017 <a href="<?php echo base_url(); ?>">Siddharth Industries</a>.</strong> All rights reserved.
|
|
</footer>
|
|
|
|
<!-- jQuery UI 1.11.2 -->
|
|
<!-- <script src="http://code.jquery.com/ui/1.11.2/jquery-ui.min.js" type="text/javascript"></script> -->
|
|
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
|
|
<!-- Bootstrap 3.3.2 JS -->
|
|
<script src="<?php echo base_url(); ?>assets/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
|
|
<script src="<?php echo base_url(); ?>assets/dist/js/app.min.js" type="text/javascript"></script>
|
|
<script src="<?php echo base_url(); ?>assets/js/jquery.validate.js" type="text/javascript"></script>
|
|
<script src="<?php echo base_url(); ?>assets/js/validation.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
var windowURL = window.location.href;
|
|
pageURL = windowURL.substring(0, windowURL.lastIndexOf('/'));
|
|
var x= $('a[href="'+pageURL+'"]');
|
|
x.addClass('active');
|
|
x.parent().addClass('active');
|
|
var y= $('a[href="'+windowURL+'"]');
|
|
y.addClass('active');
|
|
y.parent().addClass('active');
|
|
</script>
|
|
<script>
|
|
$(document).ready(function() {
|
|
$('.dataTables-example').dataTable({
|
|
responsive: true,
|
|
"dom": 'T<"clear">lfrtip',
|
|
"tableTools": {
|
|
"sSwfPath": "js/plugins/dataTables/swf/copy_csv_xls_pdf.swf"
|
|
}
|
|
});
|
|
|
|
/* Init DataTables */
|
|
var oTable = $('#editable').dataTable();
|
|
|
|
/* Apply the jEditable handlers to the table */
|
|
oTable.$('td').editable( '../example_ajax.php', {
|
|
"callback": function( sValue, y ) {
|
|
var aPos = oTable.fnGetPosition( this );
|
|
oTable.fnUpdate( sValue, aPos[0], aPos[1] );
|
|
},
|
|
"submitdata": function ( value, settings ) {
|
|
return {
|
|
"row_id": this.parentNode.getAttribute('id'),
|
|
"column": oTable.fnGetPosition( this )[2]
|
|
};
|
|
},
|
|
|
|
"width": "90%",
|
|
"height": "100%"
|
|
} );
|
|
|
|
|
|
});
|
|
|
|
function fnClickAddRow() {
|
|
$('#editable').dataTable().fnAddData( [
|
|
"Custom row",
|
|
"New row",
|
|
"New row",
|
|
"New row",
|
|
"New row" ] );
|
|
|
|
}
|
|
</script>
|
|
<style>
|
|
body.DTTT_Print {
|
|
background: #fff;
|
|
|
|
}
|
|
.DTTT_Print #page-wrapper {
|
|
margin: 0;
|
|
background:#fff;
|
|
}
|
|
|
|
button.DTTT_button, div.DTTT_button, a.DTTT_button {
|
|
border: 1px solid #e7eaec;
|
|
background: #fff;
|
|
color: #676a6c;
|
|
box-shadow: none;
|
|
padding: 6px 8px;
|
|
}
|
|
button.DTTT_button:hover, div.DTTT_button:hover, a.DTTT_button:hover {
|
|
border: 1px solid #d2d2d2;
|
|
background: #fff;
|
|
color: #676a6c;
|
|
box-shadow: none;
|
|
padding: 6px 8px;
|
|
}
|
|
|
|
.dataTables_filter label {
|
|
margin-right: 5px;
|
|
|
|
}
|
|
</style>
|
|
</body>
|
|
</html> |