parent
84e2ec0f19
commit
4880972d77
@ -1,82 +0,0 @@
|
|||||||
<!DOCTYPE HTML>
|
|
||||||
<!--
|
|
||||||
Multiverse by HTML5 UP
|
|
||||||
html5up.net | @ajlkn
|
|
||||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
|
||||||
-->
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>图片集 - {$options.siteName}</title>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
|
||||||
<!--[if lte IE 8]><script src="https://file.aoaoao.me/content/themes/material/pages/js/ie/html5shiv.js"></script><![endif]-->
|
|
||||||
<link rel="stylesheet" href="/static/css/main.css" />
|
|
||||||
<link href="/static/css/font-awesome.min.css" rel="stylesheet">
|
|
||||||
<!--[if lte IE 9]><link rel="stylesheet" href="https://file.aoaoao.me/content/themes/material/pages/css/ie9.css" /><![endif]-->
|
|
||||||
<!--[if lte IE 8]><link rel="stylesheet" href="https://file.aoaoao.me/content/themes/material/pages/css/ie8.css" /><![endif]-->
|
|
||||||
<style type="text/css">
|
|
||||||
body{
|
|
||||||
font-family: "微软雅黑","黑体";
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<!-- Wrapper -->
|
|
||||||
<div id="wrapper">
|
|
||||||
<!-- Header -->
|
|
||||||
|
|
||||||
<div id="main">
|
|
||||||
{volist name='list' id='pic'}
|
|
||||||
<article class="thumb">
|
|
||||||
<a href="/File/Preview?action=preview&path={$pic.dir|urlencode}/{$pic.orign_name|urlencode}" class="image"><img src="/File/Preview?action=preview&path={$pic.dir|urlencode}/{$pic.orign_name|urlencode}" alt="" /></a>
|
|
||||||
<h2>{$pic.orign_name}</h2>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
{/volist}
|
|
||||||
</div>
|
|
||||||
<header id="header">
|
|
||||||
<h1><a href="/Home"><strong>图片集</strong> {$options.siteName}</a></h1>
|
|
||||||
<nav>
|
|
||||||
<ul>
|
|
||||||
<li><a href="javascript:previous();" class="icon fa-arrow-circle-left">上一页</a></li>
|
|
||||||
{$page}/{$pageCount} <li><a href="javascript:next();" class="icon fa-arrow-circle-right">下一页</a></li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<!-- Main -->
|
|
||||||
<!-- Footer -->
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Scripts -->
|
|
||||||
<script src = "/static/js/jquery.min.js"></script>
|
|
||||||
<script src="/static/js/jquery.poptrox.min.js"></script>
|
|
||||||
<script src="/static/js/skel.min.js"></script>
|
|
||||||
<script src="/static/js/util.js"></script>
|
|
||||||
<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
|
|
||||||
<script src="/static/js/album.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
pageNow = {$page};
|
|
||||||
pageTotal = {$pageCount};
|
|
||||||
function next(){
|
|
||||||
if(pageNow == pageTotal){
|
|
||||||
|
|
||||||
}else{
|
|
||||||
window.location.href="/Home/Album?page="+(pageNow+1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function previous(){
|
|
||||||
if(pageNow == 1){
|
|
||||||
|
|
||||||
}else{
|
|
||||||
window.location.href="/Home/Album?page="+(pageNow-1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
{$options.js_code}
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,53 +1,80 @@
|
|||||||
{extend name="header_public" /}
|
<!DOCTYPE html>
|
||||||
{block name="title"}私密分享 - {$options.siteName}{/block}
|
<html lang="zh-cn">
|
||||||
{block name="content"}
|
|
||||||
<link rel="stylesheet" href="/static/css/share.css" />
|
|
||||||
<link rel="stylesheet" href="/static/css/lock.css" />
|
|
||||||
<script src="/static/js/jquery.color.js"></script>
|
|
||||||
</head>
|
|
||||||
<body data-ma-header="teal">
|
|
||||||
<nav class="navbar navbar-inverse" >
|
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="container" >
|
|
||||||
{include file="navbar_public" loginStatus=$loginStatus userData=$userData /}
|
|
||||||
<div class="header-panel shadow-z-2">
|
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="row">
|
|
||||||
|
|
||||||
</div>
|
<head>
|
||||||
</div>
|
<meta charset="utf-8">
|
||||||
</div>
|
<link rel="shortcut icon" href="/favicon.ico">
|
||||||
<div class="container main" >
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<div class="col-md-4"></div>
|
<meta name="theme-color" content="{$options.themeColor}" />
|
||||||
<div class="col-md-4">
|
<!--
|
||||||
<div class="jumbotron" >
|
manifest.json provides metadata used when your web app is added to the
|
||||||
<div class="card_top">
|
homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||||
<div class="row top-color">
|
-->
|
||||||
<div class="card-top-row">
|
<link rel="manifest" href="/manifest.json">
|
||||||
加密分享
|
<!--
|
||||||
</div>
|
Notice the use of %PUBLIC_URL% in the tags above.
|
||||||
</div>
|
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.
|
||||||
|
|
||||||
</div>
|
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>私密分享 - {$options.siteName}</title>
|
||||||
|
<script type="text/javascript">
|
||||||
|
colorTheme = {:json_encode($options["themeConfig"])};
|
||||||
|
isHomePage = false;
|
||||||
|
isSharePage = false;
|
||||||
|
pageId="shareLock";
|
||||||
|
userInfo = {
|
||||||
|
uid: {$userData.uid},
|
||||||
|
nick: "{$userData.userNick}",
|
||||||
|
email: "{$userData.userMail}",
|
||||||
|
group: "{$userData.groupData.group_name}",
|
||||||
|
groupId: {$userData.groupData.id},
|
||||||
|
groupColor: "{$userData.groupData.color}",
|
||||||
|
};
|
||||||
|
siteInfo = {
|
||||||
|
mainTitle: "{$options.siteName}",
|
||||||
|
};
|
||||||
|
uploadConfig = {
|
||||||
|
allowSource: false,
|
||||||
|
allowShare: false,
|
||||||
|
allowRemoteDownload: "0",
|
||||||
|
allowTorrentDownload: "0",
|
||||||
|
};
|
||||||
|
shareInfo={
|
||||||
|
shareDate : "{$shareData.share_time}",
|
||||||
|
shareId : "{$shareData.share_key}",
|
||||||
|
ownerUid:"{$userInfo.id}",
|
||||||
|
ownerNick:"{$userInfo.user_nick}",
|
||||||
|
};
|
||||||
|
isMobile = window.innerWidth < 600;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
<div class="card_botom">
|
<body>
|
||||||
<div class="row bottom-width" align="right">
|
|
||||||
<input type="password" class="form-control" id="inputPassword" placeholder="请输入分享密码" value="{$pwd}">
|
|
||||||
<button href="javascript:void(0)" id="submit_pwd" class="btn btn-raised active"><i class="fa fa-arrow-right" aria-hidden="true"></i></button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-4"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
<script src="/static/js/jquery.liMarquee.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
shareInfo={
|
|
||||||
shareId : "{$shareData.share_key}",
|
|
||||||
};
|
|
||||||
|
|
||||||
</script>
|
<noscript>
|
||||||
<script src="/static/js/lock.js"> </script>
|
You need to enable JavaScript to run this app.
|
||||||
{$options.js_code}
|
</noscript>
|
||||||
{/block}
|
<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="http://192.168.123.19:3000/static/js/runtime~lock.bundle.js"></script>
|
||||||
|
<script src="http://192.168.123.19:3000/static/js/0.chunk.js"></script>
|
||||||
|
<script src="http://192.168.123.19:3000/static/js/2.chunk.js"></script>
|
||||||
|
<script src="http://192.168.123.19:3000/static/js/20.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/lock.chunk.js"></script>
|
||||||
|
|
||||||
|
</html>
|
@ -0,0 +1,53 @@
|
|||||||
|
{extend name="header_public" /}
|
||||||
|
{block name="title"}私密分享 - {$options.siteName}{/block}
|
||||||
|
{block name="content"}
|
||||||
|
<link rel="stylesheet" href="/static/css/share.css" />
|
||||||
|
<link rel="stylesheet" href="/static/css/lock.css" />
|
||||||
|
<script src="/static/js/jquery.color.js"></script>
|
||||||
|
</head>
|
||||||
|
<body data-ma-header="teal">
|
||||||
|
<nav class="navbar navbar-inverse" >
|
||||||
|
<div class="container-fluid">
|
||||||
|
<div class="container" >
|
||||||
|
{include file="navbar_public" loginStatus=$loginStatus userData=$userData /}
|
||||||
|
<div class="header-panel shadow-z-2">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="container main" >
|
||||||
|
<div class="col-md-4"></div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="jumbotron" >
|
||||||
|
<div class="card_top">
|
||||||
|
<div class="row top-color">
|
||||||
|
<div class="card-top-row">
|
||||||
|
加密分享
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="card_botom">
|
||||||
|
<div class="row bottom-width" align="right">
|
||||||
|
<input type="password" class="form-control" id="inputPassword" placeholder="请输入分享密码" value="{$pwd}">
|
||||||
|
<button href="javascript:void(0)" id="submit_pwd" class="btn btn-raised active"><i class="fa fa-arrow-right" aria-hidden="true"></i></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
<script src="/static/js/jquery.liMarquee.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
shareInfo={
|
||||||
|
shareId : "{$shareData.share_key}",
|
||||||
|
};
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<script src="/static/js/lock.js"> </script>
|
||||||
|
{$options.js_code}
|
||||||
|
{/block}
|
Loading…
Reference in new issue