2016-05-16 17:41:39 +02:00
|
|
|
<section class="content no-padding">
|
2016-06-18 16:32:23 +02:00
|
|
|
<div class="settings-table striped hoverable">
|
2016-05-16 17:41:39 +02:00
|
|
|
<div class="row">
|
2016-05-22 19:17:13 +02:00
|
|
|
<div class="setting-key setting-key-without-desc col-sm-4">
|
2016-05-16 17:41:39 +02:00
|
|
|
<span translate>Language</span>
|
|
|
|
</div>
|
2016-05-17 16:15:28 +02:00
|
|
|
<div class="setting-value col-sm-8">
|
2016-06-20 18:20:30 +02:00
|
|
|
<select class="form-control" style="width: 100%;" ng-model="context.settings.language"
|
|
|
|
ng-options="type as (language.name | translate) for (type, language) in context.languages"
|
|
|
|
ng-change="settingService.setLanguage(context.settings.language)">
|
2016-05-16 17:41:39 +02:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2016-05-22 19:17:13 +02:00
|
|
|
<div class="setting-key setting-key-without-desc col-sm-4">
|
2016-05-16 17:41:39 +02:00
|
|
|
<span translate>Aria2 RPC Host</span>
|
|
|
|
<span class="asterisk">*</span>
|
|
|
|
</div>
|
2016-05-17 16:15:28 +02:00
|
|
|
<div class="setting-value col-sm-8">
|
2016-05-16 18:59:27 +02:00
|
|
|
<div class="input-group">
|
2016-06-20 18:20:30 +02:00
|
|
|
<span class="input-group-addon" ng-bind="context.settings.protocol + '://'"></span>
|
|
|
|
<input class="form-control" type="text" ng-model="context.settings.rpcHost" ng-change="settingService.setRpcHost(context.settings.rpcHost)"/>
|
2016-05-16 18:59:27 +02:00
|
|
|
<span class="input-group-addon" style="border-left: 0">:</span>
|
2016-06-20 18:20:30 +02:00
|
|
|
<span class="input-group-addon" ng-bind="context.settings.rpcPort"></span>
|
2016-05-16 18:59:27 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2016-05-22 19:17:13 +02:00
|
|
|
<div class="setting-key setting-key-without-desc col-sm-4">
|
2016-05-16 18:59:27 +02:00
|
|
|
<span translate>Aria2 RPC Port</span>
|
|
|
|
<span class="asterisk">*</span>
|
|
|
|
</div>
|
2016-05-17 16:15:28 +02:00
|
|
|
<div class="setting-value col-sm-8">
|
2016-06-20 18:20:30 +02:00
|
|
|
<input class="form-control" type="text" ng-model="context.settings.rpcPort" ng-change="settingService.setRpcPort(context.settings.rpcPort)"/>
|
2016-05-16 17:41:39 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2016-05-22 19:17:13 +02:00
|
|
|
<div class="setting-key setting-key-without-desc col-sm-4">
|
2016-05-16 17:41:39 +02:00
|
|
|
<span translate>Aria2 RPC Protocol</span>
|
|
|
|
<span class="asterisk">*</span>
|
|
|
|
</div>
|
2016-05-17 16:15:28 +02:00
|
|
|
<div class="setting-value col-sm-8">
|
2016-06-20 18:20:30 +02:00
|
|
|
<select class="form-control" style="width: 100%;" ng-model="context.settings.protocol" ng-change="settingService.setProtocol(context.settings.protocol)">
|
2016-05-16 17:41:39 +02:00
|
|
|
<option value="http" translate>Http</option>
|
2016-06-04 09:41:36 +02:00
|
|
|
<option value="https" translate>Https</option>
|
2016-05-16 17:41:39 +02:00
|
|
|
<option value="ws" translate>WebSocket</option>
|
2016-06-04 09:41:36 +02:00
|
|
|
<option value="wss" translate>WebSocket (Security)</option>
|
2016-05-16 17:41:39 +02:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-06-04 09:33:40 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="setting-key setting-key-without-desc col-sm-4">
|
|
|
|
<span translate>Aria2 RPC Secret Token</span>
|
2016-06-05 08:40:13 +02:00
|
|
|
<span class="asterisk">*</span>
|
2016-06-04 09:33:40 +02:00
|
|
|
</div>
|
|
|
|
<div class="setting-value col-sm-8">
|
2016-06-20 18:20:30 +02:00
|
|
|
<input class="form-control" type="password" ng-model="context.settings.secret" ng-change="settingService.setSecret(context.settings.secret)"/>
|
2016-06-04 09:33:40 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-05-17 16:15:28 +02:00
|
|
|
<div class="row">
|
2016-06-04 07:39:18 +02:00
|
|
|
<div class="setting-key setting-key-without-desc col-sm-4">
|
2016-05-17 16:15:28 +02:00
|
|
|
<span translate>Global Stat Refresh Interval</span>
|
|
|
|
<span class="asterisk">*</span>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value col-sm-8">
|
2016-06-20 18:20:30 +02:00
|
|
|
<select class="form-control" style="width: 100%;" ng-model="context.settings.globalStatRefreshInterval"
|
|
|
|
ng-change="settingService.setGlobalStatRefreshInterval(context.settings.globalStatRefreshInterval)"
|
|
|
|
ng-options="time.optionValue as (time.name | translate: {value: time.value}) for time in context.availableTime">
|
2016-06-04 07:39:18 +02:00
|
|
|
</select>
|
2016-05-17 16:15:28 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2016-06-04 07:39:18 +02:00
|
|
|
<div class="setting-key setting-key-without-desc col-sm-4">
|
2016-05-17 16:15:28 +02:00
|
|
|
<span translate>Download Task Refresh Interval</span>
|
|
|
|
<span class="asterisk">*</span>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value col-sm-8">
|
2016-06-20 18:20:30 +02:00
|
|
|
<select class="form-control" style="width: 100%;" ng-model="context.settings.downloadTaskRefreshInterval"
|
|
|
|
ng-change="settingService.setDownloadTaskRefreshInterval(context.settings.downloadTaskRefreshInterval)"
|
|
|
|
ng-options="time.optionValue as (time.name | translate: {value: time.value}) for time in context.availableTime">
|
2016-06-04 07:39:18 +02:00
|
|
|
</select>
|
2016-05-17 16:15:28 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-06-18 16:32:23 +02:00
|
|
|
<div class="row tip no-background no-hover">
|
2016-05-16 17:41:39 +02:00
|
|
|
<span class="asterisk">*</span>
|
|
|
|
<span translate>Changes to the settings take effect after refreshing page.</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|