diff --git a/var/www/templates/terms_management.html b/var/www/templates/terms_management.html index 3093837f..32a51c32 100644 --- a/var/www/templates/terms_management.html +++ b/var/www/templates/terms_management.html @@ -233,15 +233,15 @@ $.getJSON(url, function (data) { if (data.length != 0) { var html_to_add = ""; - html_to_add += ""; + html_to_add += "
"; html_to_add += ""; html_to_add += ""; html_to_add += ""; html_to_add += ""; html_to_add += ""; html_to_add += ""; - html_to_add += ""; - html_to_add += ""; + html_to_add += ""; + html_to_add += ""; html_to_add += ""; html_to_add += ""; html_to_add += ""; @@ -253,8 +253,8 @@ html_to_add += ""; html_to_add += ""; html_to_add += ""; - html_to_add += ""; - html_to_add += ""; + html_to_add += ""; + html_to_add += ""; html_to_add += ""; html_to_add += ""; @@ -264,6 +264,7 @@ $("#mymodalbody").html(html_to_add); $("[data-toggle=popover]").popover(); $("#button_show_plot").attr("href", "{{ url_for('terms_plot_tool')}}"+"?term="+the_modal.attr('data-term') ); + $('#modal-table').DataTable(); } else { $("#mymodalbody").html("No paste containing this term has been received yet."); $("#button_show_plot").attr("href", "{{ url_for('terms_plot_tool')}}"+"?term="+the_modal.attr('data-term') );
SourceDateEncodingSize (Kb)Mime(# lines, Max line length)# linesMax lengthPreview
"+curr_data.date+""+curr_data.encoding+""+curr_data.size+""+curr_data.mime+"("+curr_data.lineinfo[0]+", "+curr_data.lineinfo[1]+")"+curr_data.lineinfo[0]+""+curr_data.lineinfo[1]+"