aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2024-01-21 16:06:57 +0100
committercbdev <cb@cbcdn.com>2024-01-21 16:06:57 +0100
commite293244df1297194eb56db8d81917b1be778e855 (patch)
treefb793f9f44f5452a24d000e2422046dcaa646d34
parent2dc49654d5050ea05ff3b21305f4d9f470b8cfc7 (diff)
parent225b5f37b700bf9ceb4428def2c2eacb3b4d891d (diff)
downloadcargohold-e293244df1297194eb56db8d81917b1be778e855.tar.gz
cargohold-e293244df1297194eb56db8d81917b1be778e855.tar.bz2
cargohold-e293244df1297194eb56db8d81917b1be778e855.zip
Merge branch 'master' of ssh://git.services.cbcdn.com:2222/cargohold
-rw-r--r--TODO2
-rw-r--r--assets/cargohold.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/TODO b/TODO
index 720eef0..695e0a9 100644
--- a/TODO
+++ b/TODO
@@ -14,3 +14,5 @@ JS Admin
Rename
Create Alias
Delete
+
+Storage size calculation
diff --git a/assets/cargohold.js b/assets/cargohold.js
index 2a4ca76..a9cb718 100644
--- a/assets/cargohold.js
+++ b/assets/cargohold.js
@@ -139,6 +139,8 @@ function listing_update(){
for(let i = 0; i < data.files.length; i++){
listing_add(data.files[i], data.display);
}
+
+ element("download-all").innerText = "Download all (" + data.files.length + " Files, " + (total / 1024 /1024) + "MB)";
};
req.open("GET", "listing");
req.send();