fit2bot 224b13b4e7 perf: 整理 acl 位置 (#734)
* stash

* s

* 界面调整

* feat: 添加分时段选择组件

* feat: 添加分时段选择组件

* feat: 分时段登录组件创建时传参

* 分时登陆

* feat: 分时段组件展示默认数据

* feat: 分时段选中时间在详情里展示

* alc 部分优化

* fix: 修复用户规则登录error报错

* feat: 调整规则详情-时段展示

Co-authored-by: ibuler <ibuler@qq.com>
Co-authored-by: feng626 <1304903146@qq.com>
Co-authored-by: “怀磊” <2280131253@qq.com>
2021-10-20 18:56:59 +08:00
2020-07-21 05:05:59 +00:00
2019-04-19 20:41:52 +08:00
2020-01-09 20:53:06 +08:00
2021-10-12 11:13:30 +08:00
2021-10-20 18:56:59 +08:00
2019-04-19 20:41:52 +08:00
2017-08-01 15:49:04 +08:00
2020-06-09 16:48:12 +08:00
2019-04-19 20:41:52 +08:00
2020-05-13 17:47:23 +08:00
2020-09-15 16:26:11 +08:00
2019-04-26 17:58:55 +08:00
2021-07-20 19:31:18 +08:00
2019-04-19 20:41:52 +08:00
2020-05-07 18:09:27 +08:00
2021-03-29 19:29:06 +08:00
2021-10-12 11:13:30 +08:00
2021-01-12 17:16:33 +08:00
2021-09-23 13:56:01 +08:00
2021-10-12 11:13:30 +08:00

Lina

Lina 是 JumpServer 的前端 UI 项目, 主要使用 Vue, Element UI 完成, 名字来源于 Dota 英雄 Lina

开发运行

0. 前置条件: 部署运行好 JumpServer API 服务器

1. 安装依赖
$ yarn install

2. 修改 .env.development VUE_APP_CORE_HOST
# ...
VUE_APP_CORE_HOST = 'JUMPSERVER_APIHOST'

3. 运行
$ yarn serve

4. 构建
$ yarn build

生产中部署

下载 RELEASE 文件,放到合适的目录,修改 nginx配置文件如下

server {
  listen 80;

  location /ui/ {
    try_files $uri / /ui/index.html;
    alias /opt/lina/;
  }

  location / {
    rewrite ^/(.*)$ /ui/$1 last;
  }
}

致谢

Copyright (c) 2014-2021 飞致云 FIT2CLOUD, All rights reserved.

Licensed under The GNU General Public License version 2 (GPLv2) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.gnu.org/licenses/gpl-2.0.html

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Description
Lina 是 JumpServer 的前端 UI 项目
Readme GPL-3.0 65 MiB
Languages
Vue 82.5%
JavaScript 14.1%
SCSS 2.3%
CSS 0.7%
Python 0.2%