forked from mayswind/AriaNg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
1,628 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"directory": "bower_components" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
|
||
[*] | ||
|
||
# change these settings to your own preference | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# we recommend you to keep these unchanged | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[{package,bower}.json] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[gulpfile.js] | ||
indent_style = space | ||
indent_size = 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
### Yeoman template | ||
node_modules/ | ||
bower_components/ | ||
*.log | ||
|
||
build/ | ||
dist/ | ||
### Windows template | ||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Windows Installer files | ||
*.cab | ||
*.msi | ||
*.msm | ||
*.msp | ||
|
||
# Windows shortcuts | ||
*.lnk | ||
### Linux template | ||
*~ | ||
|
||
# temporary files which can be created if a process still has a handle open of a deleted file | ||
.fuse_hidden* | ||
|
||
# KDE directory preferences | ||
.directory | ||
|
||
# Linux trash folder which might appear on any partition or disk | ||
.Trash-* | ||
### JetBrains template | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm | ||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | ||
|
||
.idea/ | ||
|
||
# Mongo Explorer plugin: | ||
.idea/mongoSettings.xml | ||
|
||
## File-based project format: | ||
*.iws | ||
|
||
## Plugin-specific files: | ||
|
||
# IntelliJ | ||
/out/ | ||
|
||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
fabric.properties | ||
### Node template | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules | ||
jspm_packages | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
### OSX template | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear in the root of a volume | ||
.DocumentRevisions-V100 | ||
.fseventsd | ||
.Spotlight-V100 | ||
.TemporaryItems | ||
.Trashes | ||
.VolumeIcon.icns | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
.tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# AriaNg | ||
Aria2 Ng Frontend | ||
A Better Frontend for Aria2 (Under construction) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,193 @@ | ||
<!DOCTYPE html> | ||
<html ng-app="ariaNg"> | ||
<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"> | ||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> | ||
<meta name="description" content="Aria2 Ng Frontend"> | ||
<title>AriaNg</title> | ||
<!-- build:css css/bootstrap-3.3.6.min.css --> | ||
<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"/> | ||
<link rel="stylesheet" href="../bower_components/seiyria-bootstrap-slider/dist/css/bootstrap-slider.min.css"/> | ||
<link rel="stylesheet" href="../bower_components/angular/angular-csp.css"/> | ||
<link rel="stylesheet" href="../bower_components/angular-busy/dist/angular-busy.min.css"/> | ||
<!-- endbuild --> | ||
<!-- build:css css/aria-ng.min.css --> | ||
<link rel="stylesheet" href="styles/aria-ng.css"> | ||
<!-- endbuild --> | ||
</head> | ||
<body class="hold-transition skin-aria-ng sidebar-mini"> | ||
<div class="wrapper" ng-controller="MainController"> | ||
<header class="main-header"> | ||
<a class="logo" href="#"> | ||
<span class="logo-mini">Aria</span> | ||
<span class="logo-lg">AriaNg</span> | ||
</a> | ||
|
||
<nav class="navbar navbar-static-top" role="navigation"> | ||
<ul class="nav navbar-nav"> | ||
<li> | ||
<a class="pointer-cursor" title="{{'New' | translate}}"> | ||
<i class="fa fa-plus"></i> | ||
<span translate>New</span> | ||
</a> | ||
</li> | ||
<li> | ||
<a class="pointer-cursor" title="{{'Start' | translate}}"> | ||
<i class="fa fa-play"></i> | ||
</a> | ||
</li> | ||
<li> | ||
<a class="pointer-cursor" title="{{'Pause' | translate}}"> | ||
<i class="fa fa-pause"></i> | ||
</a> | ||
</li> | ||
<li> | ||
<a class="pointer-cursor" title="{{'Delete' | translate}}"> | ||
<i class="fa fa-trash-o"></i> | ||
</a> | ||
</li> | ||
<li> | ||
<a class="pointer-cursor dropdown-toggle" data-toggle="dropdown" title="{{'Display Order' | translate}}"> | ||
<i class="fa fa-sort-alpha-asc"></i> | ||
</a> | ||
<ul class="dropdown-menu" role="menu"> | ||
<li> | ||
<a class="pointer-cursor" ng-click="changeDisplayOrder('default')"> | ||
<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')"> | ||
<span translate>File Name</span> | ||
<i class="fa" ng-class="{'fa-check': isSetDisplayOrder('name')}"></i> | ||
</a> | ||
</li> | ||
<li> | ||
<a class="pointer-cursor" ng-click="changeDisplayOrder('percent')"> | ||
<span translate>Completed Percent</span> | ||
<i class="fa" ng-class="{'fa-check': isSetDisplayOrder('percent')}"></i> | ||
</a> | ||
</li> | ||
<li> | ||
<a class="pointer-cursor" ng-click="changeDisplayOrder('remain')"> | ||
<span translate>Remain Time</span> | ||
<i class="fa" ng-class="{'fa-check': isSetDisplayOrder('remain')}"></i> | ||
</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li> | ||
<a class="pointer-cursor" title="{{'Settings' | translate}}"> | ||
<i class="fa fa-cog"></i> | ||
</a> | ||
</li> | ||
</ul> | ||
</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"> | ||
<a href="#/downloading"><i class="fa fa-arrow-down"></i> <span ng-bind="('Downloading' | translate) + (globalStat && globalStat.numActive > 0 ? ' (' + globalStat.numActive + ')' : '')">Downloading</span></a> | ||
</li> | ||
<li data-href-match="/scheduling"> | ||
<a href="#/scheduling"><i class="fa fa-hourglass-half"></i> <span ng-bind="('Scheduling' | translate) + (globalStat && globalStat.numWaiting > 0 ? ' (' + globalStat.numWaiting + ')' : '')">Scheduling</span></a> | ||
</li> | ||
<li data-href-match="/stopped"> | ||
<a href="#/stopped"><i class="fa fa-stop-circle-o"></i> <span ng-bind="('Stopped' | translate) + (globalStat && globalStat.numStopped > 0 ? ' (' + globalStat.numStopped + ')' : '')">Stopped</span></a> | ||
</li> | ||
</ul> | ||
</section> | ||
</aside> | ||
|
||
<div id="content-wrapper" class="content-wrapper"> | ||
<div ng-view cg-busy="{ promise: loadPromise, message: ('Loading' | translate) }"></div> | ||
</div> | ||
|
||
<footer class="main-footer"> | ||
<a class="sidebar-toggle" data-toggle="offcanvas" role="button" title="{{'Toggle Navigation' | translate}}"></a> | ||
|
||
<span> </span> | ||
|
||
<div class="pull-right"> | ||
<span class="realtime-upload"> | ||
<i class="fa fa-arrow-down"></i> | ||
<span ng-bind="(globalStat.downloadSpeed | readableVolumn) + '/s'"></span> | ||
</span> | ||
<span class="realtime-download"> | ||
<i class="fa fa-arrow-up"></i> | ||
<span ng-bind="(globalStat.uploadSpeed | readableVolumn) + '/s'"></span> | ||
</span> | ||
</div> | ||
</footer> | ||
</div> | ||
|
||
<!-- build:js js/jquery-2.2.3.min.js --> | ||
<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 --> | ||
<!-- build:js js/bootstrap-3.3.6.min.js --> | ||
<script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script> | ||
<!-- endbuild --> | ||
<!-- build:js js/moment-with-locales-2.13.0.min.js --> | ||
<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 --> | ||
<!-- build:js js/echarts.simple-3.1.9.min.js --> | ||
<script src="../bower_components/echarts/dist/echarts.simple.min.js"></script> | ||
<!-- endbuild --> | ||
<!-- build:js js/plugins.min.js --> | ||
<script src="../bower_components/AdminLTE/dist/js/app.min.js"></script> | ||
<script src="../bower_components/sweetalert/dist/sweetalert.min.js"></script> | ||
<script src="../bower_components/seiyria-bootstrap-slider/dist/bootstrap-slider.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> | ||
<script src="../bower_components/angular-base64/angular-base64.min.js"></script> | ||
<script src="../bower_components/angular-local-storage/dist/angular-local-storage.min.js"></script> | ||
<script src="../bower_components/angular-busy/dist/angular-busy.min.js"></script> | ||
<script src="../bower_components/angular-bootstrap-slider/slider.js"></script> | ||
<script src="../bower_components/ngSweetAlert/SweetAlert.js"></script> | ||
<!-- endbuild --> | ||
<!-- build:js js/aria-ng.min.js --> | ||
<script src="scripts/core/__core.js"></script> | ||
<script src="scripts/core/__fix.js"></script> | ||
<script src="scripts/core/app.js"></script> | ||
<script src="scripts/core/config.js"></script> | ||
<script src="scripts/core/constants.js"></script> | ||
<script src="scripts/core/router.js"></script> | ||
<script src="scripts/core/utils.js"></script> | ||
<script src="scripts/controllers/list.js"></script> | ||
<script src="scripts/controllers/main.js"></script> | ||
<script src="scripts/filters/dateDuration.js"></script> | ||
<script src="scripts/filters/substring.js"></script> | ||
<script src="scripts/filters/taskOrderBy.js"></script> | ||
<script src="scripts/filters/volumn.js"></script> | ||
<script src="scripts/langs/en-US.js"></script> | ||
<script src="scripts/langs/zh-CN.js"></script> | ||
<script src="scripts/services/aria2RpcService.js"></script> | ||
<script src="scripts/services/aria2WebSocketRpcService.js"></script> | ||
<script src="scripts/services/ariaNgSettingService.js"></script> | ||
<!-- endbuild --> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# AriaNg | ||
|
||
User-agent: * | ||
Disallow: / |
Oops, something went wrong.