diff --git a/web/src/components/FilesTable.js b/web/src/components/FilesTable.js index 085c104..fc0a48b 100644 --- a/web/src/components/FilesTable.js +++ b/web/src/components/FilesTable.js @@ -135,6 +135,7 @@ const FilesTable = () => { placeholder {...getRootProps({ className: 'dropzone' })} loading={uploading || loading} + style={{ cursor: 'pointer' }} >
diff --git a/web/src/components/SystemSetting.js b/web/src/components/SystemSetting.js index 006cc29..345162b 100644 --- a/web/src/components/SystemSetting.js +++ b/web/src/components/SystemSetting.js @@ -1,5 +1,5 @@ import React, { useEffect, useState } from 'react'; -import { Form, Grid } from 'semantic-ui-react'; +import { Divider, Form, Grid, Header } from 'semantic-ui-react'; import { API, showError } from '../helpers'; const SystemSetting = () => { @@ -146,121 +146,163 @@ const SystemSetting = () => {
- +
通用配置
+ 更新服务器地址 + +
配置登录注册方式
+ +
+ 配置 SMTP + 用以支持系统的邮件发送 +
保存 SMTP 设置 + +
+ 配置 GitHub OAuth App + + 用以支持通过 GitHub 进行登录注册, + + 点击此处 + + 管理你的 GitHub OAuth App + +
保存 GitHub OAuth 设置 + +
+ 配置 WeChat Server + + 用以支持通过微信进行登录注册, + + 点击此处 + + 了解 WeChat Server + +
- 保存微信登录设置 + + 保存 WeChat Server 设置 +
diff --git a/web/src/helpers/utils.js b/web/src/helpers/utils.js index 4b6c023..c80c9aa 100644 --- a/web/src/helpers/utils.js +++ b/web/src/helpers/utils.js @@ -85,3 +85,7 @@ export function showInfo(message) { export function showNotice(message) { toast.info(message, showNoticeOptions); } + +export function openPage(url) { + window.open(url); +}