Feature:redesign document template edit (#79)

* feat: update frontend resources

* feat:update docs
This commit is contained in:
vran 2022-04-11 22:00:01 +08:00 committed by GitHub
parent b0ce44f069
commit 451b5c7d84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
31 changed files with 35 additions and 33 deletions

View File

@ -0,0 +1 @@
.el-row{margin-bottom:12px}.el-input input{border:none}

View File

@ -1 +0,0 @@
.el-row{margin-bottom:12px}

View File

@ -1 +1 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>databasir</title><script defer="defer" type="module" src="/js/chunk-vendors.34b8254e.js"></script><script defer="defer" type="module" src="/js/app.5593b5f8.js"></script><link href="/css/chunk-vendors.8e1003a6.css" rel="stylesheet"><link href="/css/app.15b40a89.css" rel="stylesheet"><script defer="defer" src="/js/chunk-vendors-legacy.ca7b1117.js" nomodule></script><script defer="defer" src="/js/app-legacy.92fcf701.js" nomodule></script></head><body><noscript><strong>We're sorry but databasir doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html> <!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>databasir</title><script defer="defer" type="module" src="/js/chunk-vendors.34b8254e.js"></script><script defer="defer" type="module" src="/js/app.3780af02.js"></script><link href="/css/chunk-vendors.8e1003a6.css" rel="stylesheet"><link href="/css/app.15b40a89.css" rel="stylesheet"><script defer="defer" src="/js/chunk-vendors-legacy.ca7b1117.js" nomodule></script><script defer="defer" src="/js/app-legacy.7626bdb2.js" nomodule></script></head><body><noscript><strong>We're sorry but databasir doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

View File

@ -50,9 +50,9 @@ Databasir 支持多种类型的文档格式导出,该功能位于文档详情
## 自定义文档表头 ## 自定义文档模板
目前 Databasir 的文档主要是以表格形式进行内容展示,包括了下内容 目前 Databasir 的文档主要是以表格形式进行内容展示,包括了下内容
- 表信息 - 表信息
- 列信息 - 列信息
@ -70,14 +70,16 @@ Databasir 支持多种类型的文档格式导出,该功能位于文档详情
点击就会跳转编辑页面,在页面我们可以看见四个 Tab 页,就对应了 4 个表格的配置 点击就会跳转编辑页面,就能跳转入模板的编辑页
默认情况下,**值**是空的,我们可以通过填入新的名称替代默认值,比如我修改了列的字段名配置 注意我用红框框起来的表头,这些都是可以编辑的
![](img/template-edit2.png) ![](img/template-edit2.png)
修改完成以后记得点击保存按钮进行保存, 比如我们将 Columns 的 `名称` 改为 `列名称` ,只需要点击表头输入新的名称,按下回车即可保存
如果你想验证变更后的效果,可以通过预览按钮查看
![](img/template-edit3.png) ![](img/template-edit3.png)
回到项目文档页面就可以看见我们做的变更生效了(没生效的话记得重新登陆试一下)
![](img/template-edit4.png)