Added missing http-user and place them to $downloadProps

This commit is contained in:
janglapuk 2015-08-28 21:46:32 +08:00
parent 17ad2c4bfa
commit bb8e6d961f
3 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.DS_STORE .DS_STORE
.idea .idea
.git

View File

@ -37,7 +37,7 @@ angular
]) ])
.constant('$downloadProps', [ // Similar to starred Quick Access properties but for adding new downloads. .constant('$downloadProps', [ // Similar to starred Quick Access properties but for adding new downloads.
// go to Advance Download Options when adding a new download to view the list of possible options // go to Advance Download Options when adding a new download to view the list of possible options
'pause', 'dir', 'max-connection-per-server' 'http-user', 'http-passwd', 'pause', 'dir', 'max-connection-per-server'
]) ])
.constant('$globalTimeout', 1000) // interval to update the individual downloads .constant('$globalTimeout', 1000) // interval to update the individual downloads
; ;

View File

@ -292,6 +292,11 @@ angular.module('webui.services.settings', [])
options: ["true", "false"], options: ["true", "false"],
}, },
"http-user": {
val: '',
desc: "Set HTTP username.",
},
"http-passwd": { "http-passwd": {
val: '', val: '',
desc: "Set HTTP password.", desc: "Set HTTP password.",