aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/phenotypes/view-dataset.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-03-21 14:12:32 -0500
committerFrederick Muriuki Muriithi2025-03-21 14:12:32 -0500
commit19f24ba8cd4b574c58f84b3cad1a78ebd18f5cdb (patch)
tree0ca7d5bcabb0654999ecf95ce14e93f6f401f3b2 /uploader/templates/phenotypes/view-dataset.html
parentc281820ea0ccb8c078c83deca128010b3df95dce (diff)
downloadgn-uploader-19f24ba8cd4b574c58f84b3cad1a78ebd18f5cdb.tar.gz
Bulk Edit: Initialise the bulk-edit upload
* Provide UI for uploading the file * Provide (partially implemented) endpoint to handle the uploaded file.
Diffstat (limited to 'uploader/templates/phenotypes/view-dataset.html')
-rw-r--r--uploader/templates/phenotypes/view-dataset.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/uploader/templates/phenotypes/view-dataset.html b/uploader/templates/phenotypes/view-dataset.html
index e08afc1..21563d6 100644
--- a/uploader/templates/phenotypes/view-dataset.html
+++ b/uploader/templates/phenotypes/view-dataset.html
@@ -216,7 +216,13 @@
className: "btn btn-info btn-bulk-edit",
titleAttr: "Click to upload edited data you got by clicking the `Bulk Edit (Download Data)` button.",
action: (event, dt, node, config) => {
- alert("Not implemented yet!")
+ window.location.assign(
+ `${window.location.protocol}//` +
+ `${window.location.host}` +
+ `/species/${species_id}` +
+ `/populations/${population_id}` +
+ `/phenotypes/datasets/${dataset_id}` +
+ `/edit-upload`)
}
}
]