From 892b7de7f3d85c204c3485b3289cfc84997a2207 Mon Sep 17 00:00:00 2001 From: marvzhang Date: Sun, 2 Feb 2020 09:37:19 +0800 Subject: [PATCH 01/14] updated CHANGELOG --- CHANGELOG-zh.md | 1 + CHANGELOG.md | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG-zh.md b/CHANGELOG-zh.md index bc2b213f..35996c7f 100644 --- a/CHANGELOG-zh.md +++ b/CHANGELOG-zh.md @@ -2,6 +2,7 @@ ### 功能 / 优化 - **交互式教程**. 引导用户了解 Crawlab 的主要功能. - **加入全局环境变量**. 可以设置全局环境变量,然后传入到所有爬虫程序中. +- **设置页面优化**. ### Bug 修复 - **无法找到爬虫文件错误**. [#485](https://github.com/crawlab-team/crawlab/issues/485) diff --git a/CHANGELOG.md b/CHANGELOG.md index 056d6c57..53164fc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Features / Enhancement - **Interactive Tutorial**. Guide users through the main functionalities of Crawlab. - **Global Environment Variables**. Allow users to set global environment variables, which will be passed into all spider programs. +- **Setting Page Optimization**. ### Bug Fixes - **Unable to find spider file error**. [#485](https://github.com/crawlab-team/crawlab/issues/485) From d9209ba64d1cf0629e8288bc849437551c82304a Mon Sep 17 00:00:00 2001 From: marvzhang Date: Sun, 2 Feb 2020 09:46:25 +0800 Subject: [PATCH 02/14] fixed https://github.com/crawlab-team/crawlab/issues/456 --- frontend/src/i18n/zh.js | 5 ++- frontend/src/views/user/UserList.vue | 58 ++++++++++++++++++++-------- 2 files changed, 46 insertions(+), 17 deletions(-) diff --git a/frontend/src/i18n/zh.js b/frontend/src/i18n/zh.js index c997248e..ac67dd74 100644 --- a/frontend/src/i18n/zh.js +++ b/frontend/src/i18n/zh.js @@ -245,6 +245,9 @@ export default { 'Home Page Response Time (sec)': '首页响应时间(秒)', 'Home Page Response Status Code': '首页响应状态码', + // 用户 + 'Super Admin': '超级管理员', + // 文件 'Choose Folder': '选择文件', 'File': '文件', @@ -350,7 +353,7 @@ export default { 'Username': '用户名', 'Password': '密码', 'Confirm Password': '确认密码', - 'normal': '正常用户', + 'normal': '普通用户', 'admin': '管理用户', 'Role': '角色', 'Edit User': '更改用户', diff --git a/frontend/src/views/user/UserList.vue b/frontend/src/views/user/UserList.vue index 9389f08c..6e03e0b1 100644 --- a/frontend/src/views/user/UserList.vue +++ b/frontend/src/views/user/UserList.vue @@ -1,7 +1,7 @@