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/index.html

347 lines
20 KiB
HTML
Raw Normal View History

2016-05-13 18:09:12 +02:00
<!DOCTYPE html>
2016-08-02 18:03:00 +02:00
<html ng-app="ariaNg" manifest="index.manifest">
2016-05-13 18:09:12 +02:00
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
2016-05-16 19:07:27 +02:00
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui" name="viewport">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-title" content="AriaNg"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
2016-05-13 18:09:12 +02:00
<meta name="description" content="Aria2 Ng Frontend">
2016-06-19 12:30:33 +02:00
<meta name="theme-color" content="#3c4852">
2016-06-20 17:49:06 +02:00
<meta name="format-detection" content="telephone=no"/>
2016-05-13 18:09:12 +02:00
<title>AriaNg</title>
2016-07-31 16:53:59 +02:00
<!-- build:css css/bootstrap-3.3.7.min.css -->
2016-05-13 18:09:12 +02:00
<link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.min.css"/>
<!-- endbuild -->
<!-- build:css css/plugins.min.css -->
<link rel="stylesheet" href="../bower_components/font-awesome/css/font-awesome.min.css"/>
<link rel="stylesheet" href="../bower_components/AdminLTE/dist/css/AdminLTE.min.css"/>
<link rel="stylesheet" href="../bower_components/sweetalert/dist/sweetalert.css"/>
2016-05-29 07:01:05 +02:00
<link rel="stylesheet" href="../bower_components/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css"/>
2016-05-13 18:09:12 +02:00
<link rel="stylesheet" href="../bower_components/angular/angular-csp.css"/>
<link rel="stylesheet" href="../bower_components/angular-ui-notification/dist/angular-ui-notification.min.css"/>
2016-05-13 18:09:12 +02:00
<link rel="stylesheet" href="../bower_components/angular-busy/dist/angular-busy.min.css"/>
<link rel="stylesheet" href="../bower_components/angular-dragula/dist/dragula.min.css"/>
2016-05-13 18:09:12 +02:00
<!-- endbuild -->
<!-- build:css css/aria-ng.min.css -->
2016-07-04 19:32:09 +02:00
<link rel="stylesheet" href="styles/core/core.css">
<link rel="stylesheet" href="styles/core/extend.css">
<link rel="stylesheet" href="styles/controls/global-status.css"/>
<link rel="stylesheet" href="styles/controls/task-table.css"/>
<link rel="stylesheet" href="styles/controls/settings-table.css"/>
<link rel="stylesheet" href="styles/controls/new-task-table.css"/>
<link rel="stylesheet" href="styles/controls/piece-bar-map.css"/>
<link rel="stylesheet" href="styles/controls/chart.css"/>
<link rel="stylesheet" href="styles/controls/angular-promise-buttons.css"/>
<link rel="stylesheet" href="styles/theme/default.css">
2016-05-13 18:09:12 +02:00
<!-- endbuild -->
</head>
2016-05-17 15:45:12 +02:00
<body class="hold-transition skin-aria-ng sidebar-mini fixed">
<div class="wrapper" ng-controller="MainController" ng-swipe-left="swipeActions.leftSwipe()" ng-swipe-right="swipeActions.rightSwipe()" ng-swipe-disable-mouse>
2016-05-13 18:09:12 +02:00
<header class="main-header">
<a class="logo" href="#">
<span class="logo-mini">Aria</span>
2016-08-08 18:06:05 +02:00
<span class="logo-lg" title="AriaNg %%GULP_INJECT_VERSION%%">AriaNg</span>
2016-05-13 18:09:12 +02:00
</a>
<nav class="navbar navbar-static-top" role="navigation">
2016-05-28 16:20:42 +02:00
<div class="navbar-toolbar">
<ul class="nav navbar-nav">
2016-06-18 18:11:19 +02:00
<li>
<a class="toolbar" title="{{'New' | translate}}" ng-href="#/new">
2016-05-28 16:20:42 +02:00
<i class="fa fa-plus"></i>
<span translate>New</span>
</a>
</li>
<li class="divider"></li>
<li class="disabled" ng-class="{'disabled': !isSpecifiedTaskSelected('paused')}">
2016-05-31 16:51:12 +02:00
<a class="toolbar" title="{{'Start' | translate}}" ng-click="changeTasksState('start')">
2016-05-28 16:20:42 +02:00
<i class="fa fa-play"></i>
</a>
</li>
<li class="disabled" ng-class="{'disabled': !isSpecifiedTaskSelected('active', 'waiting')}">
2016-05-31 16:51:12 +02:00
<a class="toolbar" title="{{'Pause' | translate}}" ng-click="changeTasksState('pause')">
2016-05-28 16:20:42 +02:00
<i class="fa fa-pause"></i>
</a>
</li>
<li class="disabled" ng-class="{'disabled': !isTaskSelected() && !isSpecifiedTaskShowing('complete', 'error', 'removed')}">
2016-05-30 19:26:41 +02:00
<a class="toolbar dropdown-toggle" data-toggle="dropdown" title="{{'Delete' | translate}}">
2016-05-28 16:20:42 +02:00
<i class="fa fa-trash-o"></i>
<i class="fa fa-caret-right fa-right-bottom fa-rotate-45 fa-half" aria-hidden="true"></i>
2016-05-28 16:20:42 +02:00
</a>
2016-05-30 19:26:41 +02:00
<ul class="dropdown-menu" role="menu">
<li ng-if="isTaskSelected()">
2016-05-31 16:51:12 +02:00
<a class="pointer-cursor" ng-click="removeTasks()">
2016-05-30 19:26:41 +02:00
<span translate>Remove Task</span>
</a>
</li>
<li ng-if="taskContext.enableSelectAll && isSpecifiedTaskShowing('complete', 'error', 'removed')">
<a class="pointer-cursor" ng-click="clearStoppedTasks()">
<span translate>Clear Stopped Tasks</span>
2016-05-30 19:26:41 +02:00
</a>
</li>
</ul>
2016-05-28 16:20:42 +02:00
</li>
<li class="divider"></li>
<li class="disabled" ng-class="{'disabled': !taskContext.enableSelectAll || !taskContext.list || taskContext.list.length < 1}">
2016-05-29 17:27:47 +02:00
<a class="toolbar" title="{{'Select All' | translate}}" ng-click="selectAllTasks()">
<i class="fa fa-th-large"></i>
</a>
</li>
<li class="disabled" ng-class="{'disabled': !taskContext.enableSelectAll || !taskContext.list || taskContext.list.length < 1}">
2016-05-28 16:20:42 +02:00
<a class="toolbar dropdown-toggle" data-toggle="dropdown" title="{{'Display Order' | translate}}">
<i class="fa fa-sort-alpha-asc"></i>
<i class="fa fa-caret-right fa-right-bottom fa-rotate-45 fa-half" aria-hidden="true"></i>
2016-05-28 16:20:42 +02:00
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a class="pointer-cursor" ng-click="changeDisplayOrder('default:asc')">
<span translate>Default</span>
<i class="fa" ng-class="{'fa-check': isSetDisplayOrder('default')}"></i>
</a>
</li>
<li>
<a class="pointer-cursor" ng-click="changeDisplayOrder('name:asc')">
<span translate>By File Name</span>
<i class="fa" ng-class="{'fa-check': isSetDisplayOrder('name')}"></i>
</a>
</li>
<li>
<a class="pointer-cursor" ng-click="changeDisplayOrder('size:asc')">
<span translate>By File Size</span>
<i class="fa" ng-class="{'fa-check': isSetDisplayOrder('size')}"></i>
</a>
</li>
<li>
<a class="pointer-cursor" ng-click="changeDisplayOrder('percent:desc')">
2016-07-06 18:22:02 +02:00
<span translate>By Progress</span>
2016-05-28 16:20:42 +02:00
<i class="fa" ng-class="{'fa-check': isSetDisplayOrder('percent')}"></i>
</a>
</li>
<li>
<a class="pointer-cursor" ng-click="changeDisplayOrder('remain:asc')">
<span translate>By Remain Time</span>
<i class="fa" ng-class="{'fa-check': isSetDisplayOrder('remain')}"></i>
</a>
</li>
<li>
<a class="pointer-cursor" ng-click="changeDisplayOrder('dspeed:desc')">
<span translate>By Download Speed</span>
<i class="fa" ng-class="{'fa-check': isSetDisplayOrder('dspeed')}"></i>
</a>
</li>
<li>
<a class="pointer-cursor" ng-click="changeDisplayOrder('uspeed:desc')">
<span translate>By Upload Speed</span>
<i class="fa" ng-class="{'fa-check': isSetDisplayOrder('uspeed')}"></i>
</a>
</li>
2016-05-28 16:20:42 +02:00
</ul>
</li>
2016-10-30 15:55:07 +01:00
<li class="divider"></li>
<li>
<a class="toolbar" title="{{'Help' | translate}}" href="http://github.com/mayswind/AriaNg" target="_blank">
<i class="fa fa-question-circle-o"></i>
</a>
</li>
2016-05-28 16:20:42 +02:00
</ul>
</div>
<div class="navbar-searchbar hidden-xs">
<ul class="nav navbar-nav">
<li>
2016-06-25 18:35:58 +02:00
<input class="form-control" ng-placeholder="('Search' | translate)" title="{{'Search' | translate}}"
ng-model="searchContext.text" />
2016-05-28 16:20:42 +02:00
<div class="form-control-icon">
<span class="fa fa-search form-control-feedback"></span>
</div>
</li>
</ul>
</div>
2016-05-13 18:09:12 +02:00
</nav>
</header>
<aside class="main-sidebar">
<section class="sidebar">
<ul id="siderbar-menu" class="sidebar-menu">
<li class="header" translate>Download</li>
<li data-href-match="/downloading">
2016-06-29 17:22:42 +02:00
<a href="#/downloading"><i class="fa fa-arrow-circle-o-down"></i> <span ng-bind="('Downloading' | translate) + (globalStat && globalStat.numActive > 0 ? ' (' + globalStat.numActive + ')' : '')">Downloading</span></a>
2016-05-13 18:09:12 +02:00
</li>
2016-05-16 15:20:52 +02:00
<li data-href-match="/waiting">
2016-07-04 14:59:28 +02:00
<a href="#/waiting"><i class="fa fa-clock-o"></i> <span ng-bind="('Waiting' | translate) + (globalStat && globalStat.numWaiting > 0 ? ' (' + globalStat.numWaiting + ')' : '')">Waiting</span></a>
2016-05-13 18:09:12 +02:00
</li>
<li data-href-match="/stopped">
2016-06-29 17:22:42 +02:00
<a href="#/stopped"><i class="fa fa-check-circle-o"></i> <span ng-bind="('Downloaded / Stopped' | translate) + (globalStat && globalStat.numStopped > 0 ? ' (' + globalStat.numStopped + ')' : '')">Downloaded / Stopped</span></a>
2016-05-13 18:09:12 +02:00
</li>
<li class="header" translate>Settings</li>
<li data-href-match="/settings/ariang">
<a href="#/settings/ariang"><i class="fa fa-cog"></i> <span translate>AriaNg Settings</span></a>
</li>
2016-05-17 17:13:47 +02:00
<li class="treeview">
<a href="javascript:void(0);">
<i class="fa fa-cogs"></i>
<span translate>Aria2 Settings</span>
2016-07-04 19:32:09 +02:00
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
2016-05-17 17:13:47 +02:00
</a>
<ul class="treeview-menu">
<li data-href-match="/settings/aria2/basic">
2016-06-29 17:22:42 +02:00
<a href="#/settings/aria2/basic"> <span translate>Basic Settings</span></a>
2016-05-17 17:13:47 +02:00
</li>
<li data-href-match="/settings/aria2/http-ftp-sftp">
2016-06-29 17:22:42 +02:00
<a href="#/settings/aria2/http-ftp-sftp"> <span translate>HTTP/FTP/SFTP Settings</span></a>
</li>
<li data-href-match="/settings/aria2/http">
2016-06-29 17:22:42 +02:00
<a href="#/settings/aria2/http"> <span translate>HTTP Settings</span></a>
</li>
<li data-href-match="/settings/aria2/ftp-sftp">
2016-06-29 17:22:42 +02:00
<a href="#/settings/aria2/ftp-sftp"> <span translate>FTP/SFTP Settings</span></a>
</li>
2016-05-17 17:13:47 +02:00
<li data-href-match="/settings/aria2/bt">
2016-06-29 17:22:42 +02:00
<a href="#/settings/aria2/bt"> <span translate>BitTorrent Settings</span></a>
2016-05-17 17:13:47 +02:00
</li>
<li data-href-match="/settings/aria2/metalink">
2016-06-29 17:22:42 +02:00
<a href="#/settings/aria2/metalink"> <span translate>Metalink Settings</span></a>
</li>
2016-05-17 17:13:47 +02:00
<li data-href-match="/settings/aria2/rpc">
2016-06-29 17:22:42 +02:00
<a href="#/settings/aria2/rpc"> <span translate>RPC Settings</span></a>
2016-05-17 17:13:47 +02:00
</li>
<li data-href-match="/settings/aria2/advanced">
2016-06-29 17:22:42 +02:00
<a href="#/settings/aria2/advanced"> <span translate>Advanced Settings</span></a>
2016-05-17 17:13:47 +02:00
</li>
</ul>
</li>
2016-05-22 05:47:47 +02:00
<li data-href-match="/status">
<a href="#/status"><i class="fa fa-server"></i> <span translate>Aria2 Status</span></a>
</li>
2016-05-13 18:09:12 +02:00
</ul>
</section>
</aside>
<div id="content-wrapper" class="content-wrapper">
2016-06-12 17:20:41 +02:00
<div id="content-body" class="content-body">
<div ng-view cg-busy="{ promise: loadPromise, message: ('Loading' | translate) }"></div>
</div>
2016-05-13 18:09:12 +02:00
</div>
<footer class="main-footer">
<a class="sidebar-toggle" data-toggle="offcanvas" role="button" title="{{'Toggle Navigation' | translate}}"></a>
<span>&nbsp;</span>
<div class="pull-right ng-cloak" ng-if="globalStatusContext.isEnabled">
2016-12-10 16:14:11 +01:00
<a class="global-status" title="{{('Click to pin' | translate)}}" ng-pop-chart ng-data="globalStatusContext.data"
ng-container="body" ng-placement="top" ng-trigger="click hover" ng-popover-class="global-status-chart">
<span class="realtime-speed">
<i class="icon-download fa fa-arrow-down"></i>
<span ng-bind="(globalStat.downloadSpeed | readableVolumn) + '/s'"></span>
</span>
<span class="realtime-speed">
<i class="icon-upload fa fa-arrow-up"></i>
<span ng-bind="(globalStat.uploadSpeed | readableVolumn) + '/s'"></span>
</span>
</a>
2016-05-13 18:09:12 +02:00
</div>
</footer>
</div>
2016-05-26 18:08:23 +02:00
<!-- build:js js/jquery-2.2.4.min.js -->
2016-05-13 18:09:12 +02:00
<script src="../bower_components/jquery/dist/jquery.min.js"></script>
<!-- endbuild -->
<!-- build:js js/angular-packages-1.4.10.min.js -->
<script src="../bower_components/angular/angular.min.js"></script>
<script src="../bower_components/angular-route/angular-route.min.js"></script>
<script src="../bower_components/angular-sanitize/angular-sanitize.min.js"></script>
<script src="../bower_components/angular-touch/angular-touch.min.js"></script>
<script src="../bower_components/angular-messages/angular-messages.min.js"></script>
<script src="../bower_components/angular-cookies/angular-cookies.min.js"></script>
<script src="../bower_components/angular-animate/angular-animate.min.js"></script>
<!-- endbuild -->
2016-07-31 16:53:59 +02:00
<!-- build:js js/bootstrap-3.3.7.min.js -->
2016-05-13 18:09:12 +02:00
<script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- endbuild -->
2016-12-04 16:42:43 +01:00
<!-- build:js js/moment-with-locales-2.17.1.min.js -->
2016-05-13 18:09:12 +02:00
<script src="../bower_components/moment/min/moment.min.js"></script>
<script src="../bower_components/moment/locale/zh-cn.js"></script>
<script src="../bower_components/moment/locale/zh-tw.js"></script>
<script src="../bower_components/moment-timezone/builds/moment-timezone-with-data-2010-2020.min.js"></script>
<!-- endbuild -->
2016-12-04 16:42:43 +01:00
<!-- build:js js/echarts-3.3.1.min.js -->
<script src="../bower_components/echarts/dist/echarts.min.js"></script>
2016-05-13 18:09:12 +02:00
<!-- endbuild -->
<!-- build:js js/plugins.min.js -->
<script src="../bower_components/AdminLTE/dist/js/app.min.js"></script>
2016-05-17 15:45:12 +02:00
<script src="../bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>
2016-05-13 18:09:12 +02:00
<script src="../bower_components/sweetalert/dist/sweetalert.min.js"></script>
<script src="../bower_components/angular-translate/angular-translate.min.js"></script>
<script src="../bower_components/angular-moment/angular-moment.min.js"></script>
<script src="../bower_components/angular-websocket/angular-websocket.min.js"></script>
2016-06-25 04:04:26 +02:00
<script src="../bower_components/angular-utf8-base64/angular-utf8-base64.min.js"></script>
2016-05-13 18:09:12 +02:00
<script src="../bower_components/angular-local-storage/dist/angular-local-storage.min.js"></script>
2016-06-26 16:52:06 +02:00
<script src="../bower_components/angular-notification/angular-notification.js"></script>
<script src="../bower_components/angular-ui-notification/dist/angular-ui-notification.min.js"></script>
<script src="../bower_components/angular-bittorrent-peerid/angular-bittorrent-peerid.min.js"></script>
2016-05-13 18:09:12 +02:00
<script src="../bower_components/angular-busy/dist/angular-busy.min.js"></script>
<script src="../bower_components/angular-promise-buttons/dist/angular-promise-buttons.min.js"></script>
<script src="../bower_components/angular-dragula/dist/angular-dragula.min.js"></script>
2016-05-13 18:09:12 +02:00
<script src="../bower_components/ngSweetAlert/SweetAlert.js"></script>
<!-- endbuild -->
<!-- build:js js/aria-ng.min.js -->
<script src="scripts/core/__core.js"></script>
2016-06-29 17:22:42 +02:00
<script src="scripts/core/__config.js"></script>
2016-05-13 18:09:12 +02:00
<script src="scripts/core/__fix.js"></script>
<script src="scripts/core/app.js"></script>
<script src="scripts/core/router.js"></script>
2016-05-31 16:51:12 +02:00
<script src="scripts/core/root.js"></script>
<script src="scripts/config/constants.js"></script>
<script src="scripts/config/configuration.js"></script>
2016-11-06 08:23:08 +01:00
<script src="scripts/config/fileTypes.js"></script>
2016-05-31 16:51:12 +02:00
<script src="scripts/config/initiator.js"></script>
<script src="scripts/config/languages.js"></script>
2016-06-10 13:23:16 +02:00
<script src="scripts/config/defaultLanguage.js"></script>
<script src="scripts/config/aria2Options.js"></script>
<script src="scripts/config/aria2Errors.js"></script>
2016-06-10 13:23:16 +02:00
<script src="scripts/config/aria2RpcConstants.js"></script>
2016-06-25 13:47:02 +02:00
<script src="scripts/controllers/command.js"></script>
2016-05-13 18:09:12 +02:00
<script src="scripts/controllers/main.js"></script>
2016-06-18 18:11:19 +02:00
<script src="scripts/controllers/new.js"></script>
2016-05-31 16:51:12 +02:00
<script src="scripts/controllers/list.js"></script>
<script src="scripts/controllers/task-detail.js"></script>
<script src="scripts/controllers/settings-ariang.js"></script>
2016-05-31 16:51:12 +02:00
<script src="scripts/controllers/settings-aria2.js"></script>
2016-05-22 05:47:47 +02:00
<script src="scripts/controllers/status.js"></script>
<script src="scripts/directives/autoFocus.js"></script>
2016-06-11 14:53:04 +02:00
<script src="scripts/directives/pieceBar.js"></script>
<script src="scripts/directives/pieceMap.js"></script>
<script src="scripts/directives/chart.js"></script>
2016-05-29 06:43:39 +02:00
<script src="scripts/directives/placeholder.js"></script>
2016-06-01 17:31:48 +02:00
<script src="scripts/directives/setting.js"></script>
2016-06-26 15:31:58 +02:00
<script src="scripts/directives/tooltip.js"></script>
2016-05-13 18:09:12 +02:00
<script src="scripts/filters/dateDuration.js"></script>
<script src="scripts/filters/fileOrderBy.js"></script>
2016-06-24 16:50:49 +02:00
<script src="scripts/filters/longDate.js"></script>
<script src="scripts/filters/peerOrderBy.js"></script>
<script src="scripts/filters/percent.js"></script>
2016-05-13 18:09:12 +02:00
<script src="scripts/filters/taskOrderBy.js"></script>
2016-05-23 19:06:50 +02:00
<script src="scripts/filters/taskStatus.js"></script>
2016-05-13 18:09:12 +02:00
<script src="scripts/filters/volumn.js"></script>
2016-05-31 16:51:12 +02:00
<script src="scripts/services/ariaNgCommonService.js"></script>
2016-06-23 18:39:18 +02:00
<script src="scripts/services/ariaNgFileService.js"></script>
2016-07-16 19:16:17 +02:00
<script src="scripts/services/ariaNgLanguageLoader.js"></script>
<script src="scripts/services/ariaNgMonitorService.js"></script>
2016-06-26 16:52:06 +02:00
<script src="scripts/services/ariaNgNotificationService.js"></script>
<script src="scripts/services/ariaNgSettingService.js"></script>
2016-11-06 15:41:28 +01:00
<script src="scripts/services/ariaNgLogService.js"></script>
2016-05-31 16:51:12 +02:00
<script src="scripts/services/aria2HttpRpcService.js"></script>
2016-05-13 18:09:12 +02:00
<script src="scripts/services/aria2WebSocketRpcService.js"></script>
2016-07-16 18:57:30 +02:00
<script src="scripts/services/aria2RpcService.js"></script>
<script src="scripts/services/aria2TaskService.js"></script>
<script src="scripts/services/aria2SettingService.js"></script>
2016-08-01 16:15:08 +02:00
<script src="scripts/views/templates.js"></script>
2016-05-13 18:09:12 +02:00
<!-- endbuild -->
</body>
</html>