diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7217712 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +_SYNCAPP/metadata.xml \ No newline at end of file diff --git a/index.html b/index.html index 164fa61..f6d555e 100644 --- a/index.html +++ b/index.html @@ -114,7 +114,7 @@
-
+
diff --git a/tr-web-control/template/torrent-attribute.html b/tr-web-control/template/torrent-attribute.html index e6a3aeb..4b67d2d 100644 --- a/tr-web-control/template/torrent-attribute.html +++ b/tr-web-control/template/torrent-attribute.html @@ -220,7 +220,7 @@ // 初始化文件显示列表 var filelist = $("").attr("class","torrent-list").attr("id","torrent-files-table").appendTo(thisLayout.find("#torrent-attribute-files")); - $.get("template/torrent-attribute-files-fields.json?time="+(new Date()),function(data){ + $.get(system.rootPath+"template/torrent-attribute-files-fields.json?time="+(new Date()),function(data){ var fields = data.fields; var config = data.config; @@ -382,7 +382,7 @@ // 服务器列表 var serverlist = $("
").attr("class","torrent-list").attr("id","torrent-servers-table").appendTo(thisLayout.find("#torrent-attribute-servers")); - $.get("template/torrent-attribute-servers-fields.json?time="+(new Date()),function(data){ + $.get(system.rootPath+"template/torrent-attribute-servers-fields.json?time="+(new Date()),function(data){ var fields = data.fields; var config = data.config; @@ -506,7 +506,7 @@ // 用户列表 var peerslist = $("
").attr("class","torrent-list").attr("id","torrent-peers-table").appendTo(thisLayout.find("#torrent-attribute-peers")); - $.get("template/torrent-attribute-users-fields.json?time="+(new Date()),function(data){ + $.get(system.rootPath+"template/torrent-attribute-users-fields.json?time="+(new Date()),function(data){ var fields = data.fields; var config = data.config; @@ -547,7 +547,7 @@ modal: true }); - $.get("template/dialog-torrent-changeDownloadDir.html?time="+(new Date()),function(data){ + $.get(system.rootPath+"template/dialog-torrent-changeDownloadDir.html?time="+(new Date()),function(data){ system.templates["dialog-torrent-changeDownloadDir.html"] = data; $("#dialog-torrent-changeDownloadDir").data("ids",system.currentTorrentId); $("#dialog-torrent-changeDownloadDir").dialog({content:data});