mirror of
https://github.com/Doctorado-ML/beflask.git
synced 2025-08-15 15:15:52 +00:00
Fix double click to report
This commit is contained in:
BIN
app/app.db
BIN
app/app.db
Binary file not shown.
@@ -81,7 +81,9 @@ def best(file_name):
|
||||
except Exception as e:
|
||||
return render_template(
|
||||
"error.html",
|
||||
message=f"This best results file ({file_name}) has not been created yet!",
|
||||
message=f"This best results file ({file_name}) has not been "
|
||||
"created yet! or...",
|
||||
error=str(e),
|
||||
)
|
||||
return render_template("best.html", data=data)
|
||||
|
||||
|
@@ -239,7 +239,7 @@
|
||||
<div class='_404'>Error</div>
|
||||
<hr>
|
||||
<div class='_1'>{{ message }}</div>
|
||||
<!--<div class='_2'>WAS NOT FOUND</div>-->
|
||||
<div class='_2'>{{ error }}</div>
|
||||
<a class='btn' href='/'>Go Back</a>
|
||||
</div>
|
||||
</body>
|
||||
|
@@ -32,7 +32,7 @@ $(document).ready(function () {
|
||||
});
|
||||
// Show file with doubleclick
|
||||
$("#file-table tbody").on("dblclick", "tr", function () {
|
||||
showFile($(this).attr("id"));
|
||||
location.href="/results/report/"+ $(this).attr("id");
|
||||
});
|
||||
$(document).ajaxStart(function () {
|
||||
$("body").addClass("ajaxLoading");
|
||||
|
Reference in New Issue
Block a user