2016-05-16 17:41:39 +02:00
|
|
|
<section class="content no-padding">
|
|
|
|
<div class="settings-table">
|
|
|
|
<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-05-23 16:56:39 +02:00
|
|
|
<select class="form-control" style="width: 100%;" ng-model="settings.language"
|
|
|
|
ng-options="type as (language.name | translate) for (type, language) in languages"
|
|
|
|
ng-change="settingService.setLanguage(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">
|
|
|
|
<span class="input-group-addon" ng-bind="settings.protocol + '://'"></span>
|
|
|
|
<input class="form-control" type="text" ng-model="settings.rpcHost" ng-change="settingService.setRpcHost(settings.rpcHost)"/>
|
|
|
|
<span class="input-group-addon" style="border-left: 0">:</span>
|
2016-05-22 19:17:13 +02:00
|
|
|
<span class="input-group-addon" ng-bind="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-05-16 18:59:27 +02:00
|
|
|
<input class="form-control" type="text" ng-model="settings.rpcPort" ng-change="settingService.setRpcPort(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-05-16 17:41:39 +02:00
|
|
|
<select class="form-control" style="width: 100%;" ng-model="settings.protocol" ng-change="settingService.setProtocol(settings.protocol)">
|
|
|
|
<option value="http" translate>Http</option>
|
|
|
|
<option value="ws" translate>WebSocket</option>
|
|
|
|
</select>
|
|
|
|
</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-04 07:39:18 +02:00
|
|
|
<select class="form-control" style="width: 100%;" ng-model="settings.globalStatRefreshInterval"
|
|
|
|
ng-change="settingService.setGlobalStatRefreshInterval(settings.globalStatRefreshInterval)"
|
|
|
|
ng-options="time.optionValue as (time.name | translate: {value: time.value}) for time in availableTime">
|
|
|
|
</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-04 07:39:18 +02:00
|
|
|
<select class="form-control" style="width: 100%;" ng-model="settings.downloadTaskRefreshInterval"
|
|
|
|
ng-change="settingService.setDownloadTaskRefreshInterval(settings.downloadTaskRefreshInterval)"
|
|
|
|
ng-options="time.optionValue as (time.name | translate: {value: time.value}) for time in availableTime">
|
|
|
|
</select>
|
2016-05-17 16:15:28 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-05-16 17:41:39 +02:00
|
|
|
<div class="row tip">
|
|
|
|
<span class="asterisk">*</span>
|
|
|
|
<span translate>Changes to the settings take effect after refreshing page.</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|