mirror of
https://github.com/status-im/cabot.git
synced 2025-02-24 10:28:06 +00:00
Merge pull request #292 from xinity/develop
hacky way to have pagination in services dashboard
This commit is contained in:
commit
8e2d3bf6f4
@ -20,7 +20,14 @@
|
|||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
{% compress js %}
|
{% compress js %}
|
||||||
<script type="text/coffeescript">
|
<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>
|
</script>
|
||||||
{% endcompress %}
|
{% endcompress %}
|
||||||
{% endblock js %}
|
{% endblock js %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user