Fix some bugs on history.html

This commit is contained in:
zhuyj17 2018-11-19 00:23:17 +08:00
parent 6e25135fe4
commit 5d4cce4eac
1 changed files with 5 additions and 8 deletions

View File

@ -32,8 +32,8 @@
</div> </div>
</div> </div>
<div class="box-body"> <div class="box-body">
<div class="table table-responsive"> <div class="table">
<table class="table table-striped table-bordered table-hover table-image" > <table width="100%" cellspacing="0" style="margin:0 auto;" class="table table-striped table-bordered table-hover table-history" >
<thead> <thead>
<tr> <tr>
<th>NO</th> <th>NO</th>
@ -65,17 +65,14 @@
{% endblock %} {% endblock %}
{% block script_src %} {% block script_src %}
<script src="//cdn.bootcss.com/jquery/2.2.1/jquery.min.js"></script> <script src="//cdn.bootcss.com/datatables/1.10.11/js/jquery.dataTables.min.js"></script>
<script src="http://cdn.bootcss.com/datatables/1.10.11/js/jquery.dataTables.js"></script> <script src="//cdn.bootcss.com/datatables/1.10.11/js/dataTables.bootstrap.min.js"></script>
<script src="http://cdn.bootcss.com/datatables/1.10.11/js/dataTables.bootstrap.js"></script>
<script src="http://cdn.bootcss.com/datatables-tabletools/2.1.5/js/TableTools.min.js"></script>
<script> <script>
$(document).ready(function() { $(document).ready(function() {
$(".table-image").DataTable(); $(".table-history").DataTable({"scrollX":true});
}); });
</script> </script>
{% endblock %} {% endblock %}