mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-25 19:52:48 +00:00
69 lines
2.6 KiB
HTML
69 lines
2.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}" />
|
|
<!--
|
|
manifest.json provides metadata used when your web app is added to the
|
|
homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
-->
|
|
<link rel="manifest" href="/manifest.json">
|
|
<!--
|
|
Notice the use of %PUBLIC_URL% in the tags above.
|
|
It will be replaced with the URL of the `public` folder during the build.
|
|
Only files inside the `public` folder can be referenced from the HTML.
|
|
|
|
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
work correctly both with client-side routing and a non-root public URL.
|
|
Learn how to configure a non-root public URL by running `npm run build`.
|
|
-->
|
|
<title>{eq name="pageId" value="resetPwdForm"}找回密码{/eq}{eq name="pageId" value="resetPwd"}找回密码{/eq}{eq name="pageId" value="emailActivate"}激活成功{/eq}{eq name="pageId" value="login"}登录{/eq}{eq name="pageId" value="register"}注册{/eq}{eq name="pageId" value="TwoStep"}二步验证{/eq} - {$options.siteName}</title>
|
|
<script type="text/javascript">
|
|
colorTheme = {:json_encode($options["themeConfig"])};
|
|
isHomePage = false;
|
|
isSharePage = false;
|
|
captcha = "{$RegOptions.login_captcha}";
|
|
regCaptcha = "{$RegOptions.reg_captcha}";
|
|
findPwdCaptcha = "{$RegOptions.forget_captcha}";
|
|
{if isset($key)}
|
|
resetKey = '{$key}';
|
|
{/if}
|
|
pageId="{$pageId}";
|
|
userInfo = {
|
|
uid: -1,
|
|
};
|
|
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>
|
|
<!--
|
|
This HTML file is a template.
|
|
If you open it directly in the browser, you will see an empty page.
|
|
|
|
You can add webfonts, meta tags, or analytics to this file.
|
|
The build step will place the bundled scripts into the <body> tag.
|
|
|
|
To begin the development, run `npm start` or `yarn start`.
|
|
To create a production bundle, use `npm run build` or `yarn build`.
|
|
-->
|
|
</body>
|
|
|
|
</html> |