mirror of
https://github.com/Doctorado-ML/beflask.git
synced 2025-08-16 15:45:51 +00:00
27 lines
840 B
HTML
27 lines
840 B
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
{% include "_table_datasets.html" %}
|
|
{% endblock %}
|
|
{% block jscript %}
|
|
{{ super() }}
|
|
<script>
|
|
$(document).ready(function () {
|
|
$(document).ajaxStart(function(){
|
|
$("body").addClass('ajaxLoading');
|
|
});
|
|
$(document).ajaxStop(function(){
|
|
$("body").removeClass('ajaxLoading');
|
|
});
|
|
});
|
|
// Check if row is selected
|
|
$('#file-table tbody').on('click', 'tr', function () {
|
|
if ($(this).hasClass('selected')) {
|
|
$(this).removeClass('selected');
|
|
} else {
|
|
$('#file-table tbody tr.selected').removeClass("selected")
|
|
$(this).addClass('selected');
|
|
}
|
|
});
|
|
</script>
|
|
{% endblock %}
|