-
-
-
- Platform: {{ platform }} {{ arch }}
-
-
- Temp Dir: {{ tmpdir }}
-
-
- Mount Dir: {{ mountFolder }}
-
-
- Sidenoder Dir: {{ sidenoderHome }}
-
-
-
Android Debug Bridge - checking..
-
-
-
RCLONE - checking..
-
-
-
7zip Archiver - checking..
-
-
-
SCRCPY - checking..
-
+
+
+
+
+
+ Platform: {{ platform }}
+ {{ arch }}
+
+
Temp Dir: {{ tmpdir }}
+
Mount Dir: {{ mountFolder }}
+
+
+ Sidenoder Dir: {{ sidenoderHome }}
+
+
+
+ Android Debug Bridge - checking..
+
+
+
+
+ RCLONE - checking..
+
+
+
+
+ 7zip Archiver - checking..
+
+
+
+
+ SCRCPY - checking..
+
+
+
-
-
+ console.log('ONLOAD');
+
{% endblock %}
diff --git a/views/js/browse.js b/views/js/browse.js
index 1a32574..50017e1 100644
--- a/views/js/browse.js
+++ b/views/js/browse.js
@@ -62,10 +62,10 @@ document.addEventListener("keydown", (e) => {
}
if (
- e.code == "Backspace" &&
- !$(".form-control").is(":focus") &&
- !$(".find-input").is(":focus") &&
- !$("#bookmarkName").is(":focus")
+ e.code == "Backspace" &&
+ !$(".form-control").is(":focus") &&
+ !$(".find-input").is(":focus") &&
+ !$("#bookmarkName").is(":focus")
) {
return upDir();
}
@@ -91,7 +91,7 @@ function resizeLoc() {
const width = window.innerWidth / 10 - 60;
if (dir_path.title.length > width) {
dir_path.innerText =
- dir_path.title.substr(0, 8) + "..." + dir_path.title.slice(-(width - 10));
+ dir_path.title.substr(0, 8) + "..." + dir_path.title.slice(-(width - 10));
} else {
dir_path.innerText = dir_path.title;
}
@@ -121,14 +121,14 @@ function scrollByHistory() {
function fixIcons() {
$(".browse-folder").hover(
- (e) => {
- $(e.target).find("i").removeClass("fa-folder-o");
- $(e.target).find("i").addClass("fa-folder-open-o");
- },
- (e) => {
- $(e.target).find("i").addClass("fa-folder-o");
- $(e.target).find("i").removeClass("fa-folder-open-o");
- },
+ (e) => {
+ $(e.target).find("i").removeClass("fa-folder-o");
+ $(e.target).find("i").addClass("fa-folder-open-o");
+ },
+ (e) => {
+ $(e.target).find("i").addClass("fa-folder-o");
+ $(e.target).find("i").removeClass("fa-folder-open-o");
+ },
);
}
@@ -198,20 +198,20 @@ function loadDir(list) {
// console.log(item);
if (!item.createdAt) {
cards_first.unshift(
- `
${item.name}
`,
+ `
${item.name}
`,
);
continue;
}
const modified = item.info.mtime.getTime();
const fullPath = item.filePath
- .replace("\\", "/")
- .replace("", ":")
- .split("'")
- .join("\\'");
+ .replace("\\", "/")
+ .replace("", ":")
+ .split("'")
+ .join("\\'");
const symblink = item.isLink
- ? `
`
- : "";
+ ? `
`
+ : "";
const name = symblink + item.name;
if (item.isFile) {
@@ -241,11 +241,11 @@ function loadDir(list) {
}
let newribbon = item.newItem
- ? `
`
- : "";
+ ? `
`
+ : "";
if (item.mp) {
let color =
- item.mp.mp == "yes" ? "green" : item.mp.mp == "no" ? "red" : "yellow";
+ item.mp.mp == "yes" ? "green" : item.mp.mp == "no" ? "red" : "yellow";
newribbon = `
`;
}
@@ -275,14 +275,14 @@ function loadDir(list) {
}
const youtubeUrl =
- "https://www.youtube.com/results?search_query=oculus+quest+" +
- escape(item.simpleName);
+ "https://www.youtube.com/results?search_query=oculus+quest+" +
+ escape(item.simpleName);
selectBtn += `
`;
const size = item.size
- ? `${item.size} Mb`
- : `
+ ? `${item.size} Mb`
+ : `
get size
`;
@@ -301,8 +301,8 @@ function loadDir(list) {