mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-12 15:54:29 +02:00
Fix creatures datatable
This commit is contained in:
parent
8c3b73ca9e
commit
619b8ba4a0
@ -52,9 +52,8 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{{ generateLink('?creatures', 'All', false)|raw }} - <a href="?subtopic=creatures&boss=view">Bosses</a>
|
{{ generateLink(getLink('creatures'), 'All', false)|raw }} - <a href="?subtopic=creatures&boss=view">Bosses</a>
|
||||||
<div style="float: right;"><input id="cSearch" type="text" placeholder="Search.."></div>
|
<table width="100%" id="creaturestb">
|
||||||
<table width="100%">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
@ -83,7 +82,15 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<script src="tools/js/jquery.min.js"></script>
|
<script>
|
||||||
|
$(document).ready(function () {
|
||||||
|
$('#creaturestb').DataTable();
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script src="tools/js/datatables.min.js"></script>
|
||||||
|
<link rel="stylesheet" href="tools/css/datatables.min.css">
|
||||||
{% else %}
|
{% else %}
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user