소스 검색

Added drive capacity info for Linux, fixed bug for Video module open with not working

TC Micro-Server 4 년 전
부모
커밋
70efa4d145
4개의 변경된 파일60개의 추가작업 그리고 11개의 파일을 삭제
  1. 52 10
      documents/1.120 release drawing/2.1.jpg
  2. 2 1
      mod/filesystem/hybridBackup/fastwalk.go
  3. 6 0
      web/Video/index.html
  4. 0 0
      web/Web Builder/backend/save.js

+ 52 - 10
documents/1.120 release drawing/2.1.jpg


+ 2 - 1
mod/filesystem/hybridBackup/fastwalk.go

@@ -1072,7 +1072,7 @@
             <div class="item backuponly" onclick="openBackupManager();">
                 <i class="block layout icon"></i> Backup & Restore
             </div>
-            <div class="item divider"></div>
+            <div class="divider"></div>
             <div class="item noSelectionOnly" onclick="refreshList();">
                 <i class="refresh icon"></i> Refresh
             </div>
@@ -1938,6 +1938,7 @@
                     //Show all options by defaults
                     $("#contextmenu").find(".item").show();
                     $("#contextmenu").find(".noSelectionOnly").hide();
+                    $("#contextmenu").find(".vrootonly").hide();
 
                     //Check if this is folder or file. Replace the suitable selections
                     if ($(this).attr("type") == "folder"){

+ 6 - 0
web/Video/index.html

@@ -124,6 +124,12 @@
             init();
             initPlaylist();
 
+            //Check if there are file dropped into this interface. If yes, redirect to embedded
+            var infile = ao_module_loadInputFiles();
+            if (infile != null){
+                window.location.href = "embedded.html" + window.location.hash;
+            }
+
             autoPlay = (ao_module_storage.loadStorage("Video","autoplay") == "true");
             if (autoPlay){
                 $("#autoplayToggle").attr("checked",true);

+ 0 - 0
web/Web Builder/backend/save.js