1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 10:58:33 +00:00
* [top bar, side panel] modified UI of the top bar; redesigned the side panel(moved the content in the bottom to the side nav)

* [font icons] updated the 'department' & 'invite Guest' icons

* [linked devices] moved it from the 'home' side panel to the 'settings' page

* ['settings' page] redesigned the empty tip for 'linked devices'
This commit is contained in:
llj
2024-05-15 17:58:18 +08:00
committed by GitHub
parent 514200164e
commit 7bfc7bae0c
16 changed files with 346 additions and 84 deletions

View File

@@ -18,6 +18,7 @@ import TwoFactorAuthentication from './components/user-settings/two-factor-auth'
import SocialLogin from './components/user-settings/social-login';
import SocialLoginDingtalk from './components/user-settings/social-login-dingtalk';
import SocialLoginSAML from './components/user-settings/social-login-saml';
import LinkedDevices from './components/user-settings/linked-devices';
import DeleteAccount from './components/user-settings/delete-account';
import './css/toolbar.css';
@@ -53,6 +54,7 @@ class Settings extends React.Component {
{show: isPro, href: '#email-notice', text: gettext('Email Notification')},
{show: twoFactorAuthEnabled, href: '#two-factor-auth', text: gettext('Two-Factor Authentication')},
{show: (enableWechatWork || enableDingtalk || enableADFS || (enableMultiADFS || isOrgContext)), href: '#social-auth', text: gettext('Social Login')},
{show: true, href: '#linked-devices', text: gettext('Linked Devices')},
{show: enableDeleteAccount, href: '#del-account', text: gettext('Delete Account')},
];
@@ -146,6 +148,7 @@ class Settings extends React.Component {
{enableWechatWork && <SocialLogin />}
{enableDingtalk && <SocialLoginDingtalk />}
{(enableADFS || (enableMultiADFS && isOrgContext)) && <SocialLoginSAML />}
<LinkedDevices />
{enableDeleteAccount && <DeleteAccount />}
</div>
</div>