mirror of
https://github.com/Doctorado-ML/beflask.git
synced 2025-08-18 00:25:51 +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:
|
except Exception as e:
|
||||||
return render_template(
|
return render_template(
|
||||||
"error.html",
|
"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)
|
return render_template("best.html", data=data)
|
||||||
|
|
||||||
|
@@ -239,7 +239,7 @@
|
|||||||
<div class='_404'>Error</div>
|
<div class='_404'>Error</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class='_1'>{{ message }}</div>
|
<div class='_1'>{{ message }}</div>
|
||||||
<!--<div class='_2'>WAS NOT FOUND</div>-->
|
<div class='_2'>{{ error }}</div>
|
||||||
<a class='btn' href='/'>Go Back</a>
|
<a class='btn' href='/'>Go Back</a>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@@ -32,7 +32,7 @@ $(document).ready(function () {
|
|||||||
});
|
});
|
||||||
// Show file with doubleclick
|
// Show file with doubleclick
|
||||||
$("#file-table tbody").on("dblclick", "tr", function () {
|
$("#file-table tbody").on("dblclick", "tr", function () {
|
||||||
showFile($(this).attr("id"));
|
location.href="/results/report/"+ $(this).attr("id");
|
||||||
});
|
});
|
||||||
$(document).ajaxStart(function () {
|
$(document).ajaxStart(function () {
|
||||||
$("body").addClass("ajaxLoading");
|
$("body").addClass("ajaxLoading");
|
||||||
|
Reference in New Issue
Block a user