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">
|
|
|
|
<div class="setting-key col-sm-4">
|
|
|
|
<span translate>Global Stat Refresh Interval</span>
|
|
|
|
<span class="asterisk">*</span>
|
|
|
|
<span class="description" translate>(0 is disabled)</span>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value col-sm-8">
|
|
|
|
<div class="input-group">
|
|
|
|
<input class="form-control" type="text" ng-model="settings.globalStatRefreshInterval"
|
|
|
|
ng-change="settingService.setGlobalStatRefreshInterval(settings.globalStatRefreshInterval)"/>
|
2016-05-22 19:17:13 +02:00
|
|
|
<span class="input-group-addon" translate>Milliseconds</span>
|
2016-05-17 16:15:28 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="setting-key col-sm-4">
|
|
|
|
<span translate>Download Task Refresh Interval</span>
|
|
|
|
<span class="asterisk">*</span>
|
|
|
|
<span class="description" translate>(0 is disabled)</span>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value col-sm-8">
|
|
|
|
<div class="input-group">
|
|
|
|
<input class="form-control" type="text" ng-model="settings.downloadTaskRefreshInterval"
|
|
|
|
ng-change="settingService.setDownloadTaskRefreshInterval(settings.downloadTaskRefreshInterval)"/>
|
2016-05-22 19:17:13 +02:00
|
|
|
<span class="input-group-addon" translate>Milliseconds</span>
|
2016-05-17 16:15:28 +02:00
|
|
|
</div>
|
|
|
|
</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>
|