瀏覽代碼

Added simple connection guide

TC pushbot 5 4 年之前
父節點
當前提交
429001be2e
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 0 0
      .disabled
  2. 4 0
      web/index.html

+ 0 - 0
.disabled


+ 4 - 0
web/index.html

@@ -69,11 +69,15 @@
                 </div>
                 <p>This setting interface is disabled automatically on not supported platforms.</p>
             </div>
+            <br>
+            <p>To access yor samba server, use <code id="sambaip"></code> in Windows' File Explorer</p>
         <br><br>
         <script>
             //Do not allow window resize
             ao_module_setFixedWindowSize();
 
+            //Display the connect info
+            $("#sambaip").text(`\\\\` + window.location.hostname);
             //Get username from system
             $.get("../system/users/userinfo", function(data){
                 var username = data.Username;