mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-25 19:52:48 +00:00
54 lines
1.6 KiB
HTML
54 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-cn">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link rel="shortcut icon" href="/favicon.ico">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<meta name="theme-color" content="{$options.themeColor}" />
|
|
|
|
<link rel="manifest" href="/manifest.json">
|
|
|
|
<title>用户设置- {$options.siteName}</title>
|
|
<script type="text/javascript">
|
|
colorTheme = {:json_encode($options["themeConfig"])};
|
|
colorThemeOptions = {$options["themes"]};
|
|
isHomePage = false;
|
|
isSharePage = false;
|
|
pageId="userSetting";
|
|
siteUrl = "{$options.siteURL}";
|
|
userInfo = {
|
|
uid: {$userInfo.uid},
|
|
nick: "{$userInfo.userNick}",
|
|
email: "{$userInfo.userMail}",
|
|
group: "{$userInfo.groupData.group_name}",
|
|
groupId: {$userInfo.groupData.id},
|
|
groupColor: "{$userInfo.groupData.color}",
|
|
regTime: "{$userSQL.user_date}",
|
|
homePage: "{$userSQL.profile}",
|
|
twoFactor: "{$userSQL.two_step}",
|
|
webdav:"{$userInfo.groupData.webdav}",
|
|
};
|
|
siteInfo = {
|
|
mainTitle: "{$options.siteName}",
|
|
};
|
|
uploadConfig = {
|
|
allowSource: false,
|
|
allowShare: false,
|
|
allowRemoteDownload: "0",
|
|
allowTorrentDownload: "0",
|
|
};
|
|
isMobile = window.innerWidth < 600;
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<noscript>
|
|
You need to enable JavaScript to run this app.
|
|
</noscript>
|
|
<div id="root"></div>
|
|
|
|
</body>
|
|
|
|
</html> |