Implement download tasks

This commit is contained in:
Zaid Abdulla committed 2018-12-26 00:22:07 -08:00
1 parent cfb62adfe8
commit 99e7c8a14c
4 files changed
+134 -28

No files matched your search

+16
View File
@@ -43,6 +43,22 @@ const component = {
)
);
buttons.push(
m(
"button.critical",
{
title: "Push a firmware or a config file",
onclick: () => {
taskQueue.stageDownload({
name: "download",
device: device["DeviceID.ID"].value[0]
});
}
},
"Push file"
)
);
buttons.push(
m(
"button.primary",