Merge pull request #292 from xinity/develop

hacky way to have pagination in services dashboard
This commit is contained in:
David Buxton 2016-01-29 09:51:52 +00:00
commit 8e2d3bf6f4

View File

@ -20,7 +20,14 @@
{{ block.super }}
{% compress js %}
<script type="text/coffeescript">
$('.datatable').dataTable
sDom: "<'row-fluid'<'span6'l><'span6'f>r>t<'row-fluid'<'span12'i><'span12 center'p>>"
sPaginationType: "bootstrap"
iDisplayLength: 100
oLanguage:
sLengthMenu: "_MENU_ records per page"
fnDrawCallback: () ->
$('.sparktristate').sparkline('html', {type: 'tristate'})
</script>
{% endcompress %}
{% endblock js %}