From 140de46c5d3db69b6b6148314aeae917ebde06ff Mon Sep 17 00:00:00 2001 From: MaysWind Date: Tue, 17 May 2016 23:00:07 +0800 Subject: [PATCH] add title in download task page --- app/scripts/langs/en-US.js | 6 +++ app/scripts/langs/zh-CN.js | 8 +++- app/styles/aria-ng.css | 22 ++++++++--- app/views/list.html | 78 +++++++++++++++++++++++++++++--------- 4 files changed, 90 insertions(+), 24 deletions(-) diff --git a/app/scripts/langs/en-US.js b/app/scripts/langs/en-US.js index 6657581..c975d1d 100644 --- a/app/scripts/langs/en-US.js +++ b/app/scripts/langs/en-US.js @@ -20,6 +20,12 @@ 'Stopped': 'Stopped', 'Settings': 'Settings', 'AriaNg Settings': 'AriaNg Settings', + 'File Name': 'File Name', + 'File Size': 'File Size', + 'Completed Percent': 'Percent', + 'Remain Time': 'Remain', + 'Download Speed': 'Download Speed', + 'Files': 'Files', 'Language': 'Language', 'Aria2 RPC Host': 'Aria2 RPC Host', 'Aria2 RPC Port': 'Aria2 RPC Port', diff --git a/app/scripts/langs/zh-CN.js b/app/scripts/langs/zh-CN.js index 84ac313..dfd58d1 100644 --- a/app/scripts/langs/zh-CN.js +++ b/app/scripts/langs/zh-CN.js @@ -12,7 +12,7 @@ 'Default': '默认', 'By File Name': '按文件名', 'By File Size': '按文件大小', - 'By Completed Percent': '按完成度', + 'By Completed Percent': '按进度', 'By Remain Time': '按剩余时间', 'Download': '下载', 'Downloading': '正在下载', @@ -20,6 +20,12 @@ 'Stopped': '已停止', 'Settings': '系统设置', 'AriaNg Settings': 'AriaNg 设置', + 'File Name': '文件名', + 'File Size': '大小', + 'Completed Percent': '进度', + 'Remain Time': '剩余时间', + 'Download Speed': '下载速度', + 'Files': '个文件', 'Language': '语言', 'Aria2 RPC Host': 'Aria2 RPC 主机', 'Aria2 RPC Port': 'Aria2 RPC 端口', diff --git a/app/styles/aria-ng.css b/app/styles/aria-ng.css index 5705270..b192b44 100644 --- a/app/styles/aria-ng.css +++ b/app/styles/aria-ng.css @@ -253,16 +253,20 @@ td { margin-right: 15px; } -.task-table > div.row { +.task-table .task-table-title { + font-size: 12px; +} + +.task-table > .task-table-body > div.row { padding: 8px; border-top: 1px solid #ddd; } -.task-table > div.row:nth-of-type(odd) { +.task-table > .task-table-body > div.row:nth-of-type(odd) { background-color: #f9f9f9; } -.task-table > div.row:hover { +.task-table > .task-table-body > div.row:hover { background-color: #f5f5f5; } @@ -271,7 +275,7 @@ td { display: block; } -.task-table .task-volumn { +.task-table .task-files { font-size: 12px; display: block; } @@ -280,11 +284,19 @@ td { margin-bottom: 0; } -.task-table .task-last-time, .task-table .task-seeders { +.task-table .task-last-time, .task-table .task-seeders, .task-table .task-last-time + .task-download-speed { color: #888; font-size: 12px; } +.task-table .task-seeders, .task-table .task-last-time + .task-download-speed { + margin-top: 1px; +} + +.task-table .task-last-time + .task-download-speed { + padding-left: 20px; +} + .task-table .task-download-speed { font-size: 12px; } diff --git a/app/views/list.html b/app/views/list.html index 6a5410a..968fff9 100644 --- a/app/views/list.html +++ b/app/views/list.html @@ -1,27 +1,69 @@
-
-
- - -
-
-
-
-
+