This repository has been archived on 2022-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
AriaNg/src/views/status.html

51 lines
2.2 KiB
HTML
Raw Normal View History

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">
<div class="setting-key col-sm-4">
<span translate>Aria2 RPC Address</span>
2016-05-22 05:47:47 +02:00
</div>
<div class="setting-value col-sm-8">
<span ng-bind="context.host"></span>
2016-05-22 05:47:47 +02:00
</div>
</div>
<div class="row">
<div class="setting-key col-sm-4">
<span translate>Aria2 Status</span>
</div>
<div class="setting-value col-sm-8">
<span class="label" ng-class="{'label-primary': context.status === 'Connecting', 'label-success': context.status === 'Connected', 'label-danger': context.status === 'Not Connected'}"
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">
<div class="setting-key col-sm-4">
2016-05-22 05:47:47 +02:00
<span translate>Enabled Features</span>
</div>
<div class="setting-value col-sm-8">
<span class="wholeline" ng-repeat="feature in context.serverStatus.enabledFeatures" ng-bind="feature"></span>
2016-05-22 05:47:47 +02:00
</div>
</div>
<div class="row ng-cloak" ng-if="context.serverStatus">
<div class="setting-key setting-key-without-desc col-sm-4">
<span translate>Functions</span>
</div>
<div class="setting-value col-sm-8">
<button class="btn btn-primary" ng-click="saveSession()" promise-btn>
<span translate>Save Session</span>
</button>
<button class="btn btn-danger" ng-click="shutdown()">
<span translate>Shutdown Aria2</span>
</button>
</div>
</div>
2016-05-22 05:47:47 +02:00
</div>
</section>