diff --git a/WebMain.py b/WebMain.py index 22a9204..46107eb 100644 --- a/WebMain.py +++ b/WebMain.py @@ -73,6 +73,7 @@ def getAllStats(): "config": { "forceNotBroadcasting": Common.forceNotBroadcasting, "forceStopDownload": Common.forceStopDownload, + "forceNotUpload": Common.forceNotUpload, } }}) @@ -95,6 +96,7 @@ def getConfigStats(): "config": { "forceNotBroadcasting": Common.forceNotBroadcasting, "forceStopDownload": Common.forceStopDownload, + "forceNotUpload": Common.forceNotUpload, } }}) diff --git a/static/index.html b/static/index.html index a457651..37e2266 100644 --- a/static/index.html +++ b/static/index.html @@ -31,6 +31,7 @@ +

特殊设置

@@ -41,6 +42,10 @@ + + + +
是否设置强制不下载
是否设置强制不上传

当前状态

@@ -66,7 +71,6 @@ -
diff --git a/static/index.js b/static/index.js index 86f19b6..e1f72f8 100644 --- a/static/index.js +++ b/static/index.js @@ -8,6 +8,7 @@ function update(){ $("#streamUrl").text(res.data.broadcast.streamUrl) $("#forceNotBroadcasting").text(res.data.config.forceNotBroadcasting) $("#forceStopDownload").text(res.data.config.forceStopDownload) + $("#forceNotUpload").text(res.data.config.forceNotUpload) $("#updateTime").text(res.data.broadcast.updateTime) $("#download").html(function(){ var ret = ""