You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
121 lines
4.0 KiB
121 lines
4.0 KiB
<!DOCTYPE html>
|
|
<html lang="zh-cn">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link rel="shortcut icon" href="/favicon.ico">
|
|
<link rel="stylesheet" href="/static/css/mdeditor/editormd.min.css" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<!--
|
|
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>{$fileName} - {$options.siteName}</title>
|
|
<script type="text/javascript">
|
|
colorTheme = {
|
|
"palette": {
|
|
"common": {
|
|
"black": "#000",
|
|
"white": "#fff"
|
|
},
|
|
"background": {
|
|
"paper": "#fff",
|
|
"default": "#fafafa"
|
|
},
|
|
"primary": {
|
|
"light": "#7986cb",
|
|
"main": "#3f51b5",
|
|
"dark": "#303f9f",
|
|
"contrastText": "#fff"
|
|
},
|
|
"secondary": {
|
|
"light": "#ff4081",
|
|
"main": "#f50057",
|
|
"dark": "#c51162",
|
|
"contrastText": "#fff"
|
|
},
|
|
"error": {
|
|
"light": "#e57373",
|
|
"main": "#f44336",
|
|
"dark": "#d32f2f",
|
|
"contrastText": "#fff"
|
|
},
|
|
"text": {
|
|
"primary": "rgba(0, 0, 0, 0.87)",
|
|
"secondary": "rgba(0, 0, 0, 0.54)",
|
|
"disabled": "rgba(0, 0, 0, 0.38)",
|
|
"hint": "rgba(0, 0, 0, 0.38)"
|
|
},
|
|
"explorer": {
|
|
"filename": "#474849",
|
|
"icon": "#8f8f8f",
|
|
"bgSelected": "#D5DAF0",
|
|
"emptyIcon": "#e8e8e8",
|
|
}
|
|
}
|
|
};
|
|
isHomePage = false;
|
|
isSharePage = false;
|
|
pageId="";
|
|
apiURL={
|
|
imgThumb:"/File/Thumb",
|
|
preview:"/File/Preview",
|
|
download:"/File/Download",
|
|
docPreiview:'/File/DocPreview',
|
|
};
|
|
userInfo={
|
|
uid:{$userInfo.uid},
|
|
nick:"{$userInfo.userNick}",
|
|
email:"{$userInfo.userMail}",
|
|
group:"{$userInfo.groupData.group_name}",
|
|
groupId:{$userInfo.groupData.id},
|
|
groupColor:"{$userInfo.groupData.color}",
|
|
};
|
|
siteInfo = {
|
|
mainTitle:"{$fileName}",
|
|
};
|
|
fileInfo={
|
|
url:"{$url}",
|
|
name:"{$fileName}",
|
|
path:"{$path}",
|
|
};
|
|
mediaType = {},
|
|
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>
|
|
<script src="/static/js/jquery.min.js"></script>
|
|
<script src="/static/js/mdeditor/editormd.min.js"></script>
|
|
<script src="http://192.168.123.19:3000/static/js/runtime~markdown.bundle.js"></script>
|
|
<script src="http://192.168.123.19:3000/static/js/7.chunk.js"></script>
|
|
<script src="http://192.168.123.19:3000/static/js/1.chunk.js"></script>
|
|
<script src="http://192.168.123.19:3000/static/js/9.chunk.js"></script>
|
|
<script src="http://192.168.123.19:3000/static/js/8.chunk.js"></script>
|
|
<script src="http://192.168.123.19:3000/static/js/markdown.chunk.js"></script>
|
|
</html>
|