Skip to content
Snippets Groups Projects
Commit b18a1199 authored by Te-Hung Tseng's avatar Te-Hung Tseng
Browse files

added javascript for datatable pagination and search function for history variable table

parent 91b8ceaf
No related branches found
No related tags found
No related merge requests found
$(document).ready(function () {
$("#host_version_table").DataTable({
"lengthMenu": [[1, 5, 10, 25, -1], [1, 5, 10, 25, "All"]],
"order": [[1, "desc"]]
});
});
$(document).ready(function () {
$("#group_version_table").DataTable({
"lengthMenu": [[1, 5, 10, 25, -1], [1, 5, 10, 25, "All"]],
"order": [[1, "desc"]]
});
});
...@@ -78,6 +78,7 @@ ...@@ -78,6 +78,7 @@
<script type=text/javascript> <script type=text/javascript>
$SCRIPT_ROOT = {{ request.script_root|tojson|safe }}; $SCRIPT_ROOT = {{ request.script_root|tojson|safe }};
</script> </script>
<script src="{{ url_for('static', filename='js/history.js') }}"></script>
<script src="{{ url_for('static', filename='js/csentry.js') }}"></script> <script src="{{ url_for('static', filename='js/csentry.js') }}"></script>
{% block csentry_scripts %}{% endblock %} {% block csentry_scripts %}{% endblock %}
{% endblock %} {% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment