2016-05-22 05:47:47 +02:00
|
|
|
<section class="content no-padding">
|
2016-06-18 16:32:23 +02:00
|
|
|
<div class="settings-table striped hoverable">
|
2016-05-22 05:47:47 +02:00
|
|
|
<div class="row">
|
2016-05-22 19:17:13 +02:00
|
|
|
<div class="setting-key col-sm-4">
|
2016-08-28 15:47:29 +02:00
|
|
|
<span translate>Aria2 RPC Address</span>
|
2016-05-22 05:47:47 +02:00
|
|
|
</div>
|
2016-05-22 19:17:13 +02:00
|
|
|
<div class="setting-value col-sm-8">
|
2016-08-28 15:47:29 +02:00
|
|
|
<span ng-bind="context.host"></span>
|
2016-05-22 05:47:47 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2016-08-28 15:47:29 +02:00
|
|
|
<div class="setting-key col-sm-4">
|
|
|
|
<span translate>Aria2 Status</span>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value col-sm-8">
|
2018-08-12 15:21:18 +02:00
|
|
|
<span class="label" ng-class="{'label-primary': context.status === 'Connecting', 'label-success': context.status === 'Connected', 'label-danger': context.status === 'Disconnected'}"
|
2016-08-28 15:47:29 +02:00
|
|
|
ng-bind="context.status | translate"></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row ng-cloak" ng-if="context.serverStatus">
|
|
|
|
<div class="setting-key col-sm-4">
|
|
|
|
<span translate>Aria2 Version</span>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value col-sm-8">
|
|
|
|
<span ng-bind="context.serverStatus.version"></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row ng-cloak" ng-if="context.serverStatus">
|
2016-05-22 19:17:13 +02:00
|
|
|
<div class="setting-key col-sm-4">
|
2016-05-22 05:47:47 +02:00
|
|
|
<span translate>Enabled Features</span>
|
|
|
|
</div>
|
2016-05-22 19:17:13 +02:00
|
|
|
<div class="setting-value col-sm-8">
|
2017-05-20 07:14:20 +02:00
|
|
|
<div class="checkbox checkbox-primary checkbox-compact default-cursor" ng-repeat="feature in context.serverStatus.enabledFeatures">
|
|
|
|
<input id="{{'feature_' + $index}}" type="checkbox" checked="checked" disabled="disabled" class="default-cursor"/>
|
|
|
|
<label for="{{'feature_' + $index}}" class="text-cursor">
|
2016-11-06 09:13:05 +01:00
|
|
|
<span ng-bind="feature"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
2016-05-22 05:47:47 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-08-28 15:47:29 +02:00
|
|
|
<div class="row ng-cloak" ng-if="context.serverStatus">
|
2016-06-05 18:01:11 +02:00
|
|
|
<div class="setting-key setting-key-without-desc col-sm-4">
|
|
|
|
<span translate>Functions</span>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value col-sm-8">
|
2017-03-19 13:40:35 +01:00
|
|
|
<button class="btn btn-sm btn-primary" ng-click="saveSession()" promise-btn>
|
2016-06-05 18:01:11 +02:00
|
|
|
<span translate>Save Session</span>
|
|
|
|
</button>
|
2017-03-19 13:40:35 +01:00
|
|
|
<button class="btn btn-sm btn-danger" ng-click="shutdown()">
|
2016-06-05 18:01:11 +02:00
|
|
|
<span translate>Shutdown Aria2</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-05-22 05:47:47 +02:00
|
|
|
</div>
|
|
|
|
</section>
|