add aria2 settings links
This commit is contained in:
parent
65175624b7
commit
4873e944e2
|
@ -114,6 +114,27 @@
|
|||
<li data-href-match="/settings/ariang">
|
||||
<a href="#/settings/ariang"><i class="fa fa-cog"></i> <span translate>AriaNg Settings</span></a>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="javascript:void(0);">
|
||||
<i class="fa fa-cogs"></i>
|
||||
<span translate>Aria2 Settings</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li data-href-match="/settings/aria2/basic">
|
||||
<a href="#/settings/aria2/basic"><i class="fa fa-circle-o"></i> <span translate>Basic Settings</span></a>
|
||||
</li>
|
||||
<li data-href-match="/settings/aria2/bt">
|
||||
<a href="#/settings/aria2/bt"><i class="fa fa-circle-o"></i> <span translate>BitTorrent Settings</span></a>
|
||||
</li>
|
||||
<li data-href-match="/settings/aria2/rpc">
|
||||
<a href="#/settings/aria2/rpc"><i class="fa fa-circle-o"></i> <span translate>RPC Settings</span></a>
|
||||
</li>
|
||||
<li data-href-match="/settings/aria2/advanced">
|
||||
<a href="#/settings/aria2/advanced"><i class="fa fa-circle-o"></i> <span translate>Advanced Settings</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</aside>
|
||||
|
@ -188,6 +209,7 @@
|
|||
<script src="scripts/core/utils.js"></script>
|
||||
<script src="scripts/controllers/list.js"></script>
|
||||
<script src="scripts/controllers/main.js"></script>
|
||||
<script src="scripts/controllers/settings-aria2.js"></script>
|
||||
<script src="scripts/controllers/settings-ariang.js"></script>
|
||||
<script src="scripts/filters/dateDuration.js"></script>
|
||||
<script src="scripts/filters/percent.js"></script>
|
||||
|
|
7
app/scripts/controllers/settings-aria2.js
Normal file
7
app/scripts/controllers/settings-aria2.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
(function () {
|
||||
'use strict';
|
||||
|
||||
angular.module('ariaNg').controller('Aria2SettingsController', ['$scope', 'SweetAlert', 'aria2RpcService', function ($scope, SweetAlert, aria2RpcService) {
|
||||
|
||||
}]);
|
||||
})();
|
|
@ -19,6 +19,22 @@
|
|||
templateUrl: 'views/settings-ariang.html',
|
||||
controller: 'AriaNgSettingsController'
|
||||
})
|
||||
.when('/settings/aria2/basic', {
|
||||
templateUrl: 'views/settings-aria2.html',
|
||||
controller: 'Aria2SettingsController'
|
||||
})
|
||||
.when('/settings/aria2/bt', {
|
||||
templateUrl: 'views/settings-aria2.html',
|
||||
controller: 'Aria2SettingsController'
|
||||
})
|
||||
.when('/settings/aria2/rpc', {
|
||||
templateUrl: 'views/settings-aria2.html',
|
||||
controller: 'Aria2SettingsController'
|
||||
})
|
||||
.when('/settings/aria2/advanced', {
|
||||
templateUrl: 'views/settings-aria2.html',
|
||||
controller: 'Aria2SettingsController'
|
||||
})
|
||||
.otherwise({
|
||||
redirectTo: '/downloading'
|
||||
});
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
'Downloaded / Stopped': 'Downloaded / Stopped',
|
||||
'Settings': 'Settings',
|
||||
'AriaNg Settings': 'AriaNg Settings',
|
||||
'Aria2 Settings': 'Aria2 Settings',
|
||||
'Basic Settings': 'Basic Settings',
|
||||
'BitTorrent Settings': 'BitTorrent Settings',
|
||||
'RPC Settings': 'RPC Settings',
|
||||
'Advanced Settings': 'Advanced Settings',
|
||||
'File Name': 'File Name',
|
||||
'File Size': 'File Size',
|
||||
'Completed Percent': 'Percent',
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
'Downloaded / Stopped': '已完成 / 已停止',
|
||||
'Settings': '系统设置',
|
||||
'AriaNg Settings': 'AriaNg 设置',
|
||||
'Aria2 Settings': 'Aria2 设置',
|
||||
'Basic Settings': '基本设置',
|
||||
'BitTorrent Settings': 'BitTorrent 设置',
|
||||
'RPC Settings': 'RPC 设置',
|
||||
'Advanced Settings': '高级设置',
|
||||
'File Name': '文件名',
|
||||
'File Size': '大小',
|
||||
'Completed Percent': '进度',
|
||||
|
|
5
app/views/settings-aria2.html
Normal file
5
app/views/settings-aria2.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<section class="content no-padding">
|
||||
<div class="settings-table">
|
||||
|
||||
</div>
|
||||
</section>
|
Reference in a new issue