parent
ef636bc2d1
commit
b2d5547199
@ -1,76 +1,75 @@
|
|||||||
{extend name="header_public" /}
|
<!DOCTYPE html>
|
||||||
{block name="title"}“{$keyWords}”搜索结果 - {$options.siteName}{/block}
|
<html lang="zh-cn">
|
||||||
{block name="content"}
|
|
||||||
<link rel="stylesheet" href="/static/css/search.css" />
|
<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>“{$keyWords}”搜索结果 - {$options.siteName}</title>
|
||||||
|
<script type="text/javascript">
|
||||||
|
colorTheme = {:json_encode($options["themeConfig"])};
|
||||||
|
isHomePage = false;
|
||||||
|
isSharePage = false;
|
||||||
|
pageId="shareLock";
|
||||||
|
list = {$list};
|
||||||
|
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",
|
||||||
|
};
|
||||||
|
isMobile = window.innerWidth < 600;
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body data-ma-header="teal">
|
|
||||||
<nav class="navbar navbar-inverse" >
|
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="container" >
|
|
||||||
{include file="navbar_public" /}
|
|
||||||
<div class="header-panel shadow-z-2">
|
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="row">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="container main-h">
|
|
||||||
|
|
||||||
<div class="col-md-12">
|
|
||||||
<h1>搜索分享</h1>
|
|
||||||
<input type="text" placeholder="请输入关键词,回车键发起搜索" value="{$keyWords}" autofocus="true"><br><br>
|
|
||||||
<div class="table-responsive">
|
|
||||||
<table class="table table-striped">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th width="50%">文件名 </th>
|
|
||||||
<th class="cent">分享日期</th>
|
|
||||||
<th class="cent">下载次数</th>
|
|
||||||
<th class="cent">浏览次数</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>{volist name='list' id='shares'}
|
|
||||||
<tr>
|
|
||||||
<td >{switch $shares.source_type}
|
|
||||||
{case file}<i class="fa fa-file" aria-hidden="true"></i> {/case}
|
|
||||||
{case dir}<i class="fa fa-folder-open blue" aria-hidden="true"></i> {/case}
|
|
||||||
|
|
||||||
{/switch} <a href="/s/{$shares.share_key}" class="notWave" target="_blank">{$shares.fileData|htmlspecialchars=ENT_NOQUOTES}</a></td>
|
<body>
|
||||||
<td class="cent">{$shares.share_time}</td>
|
|
||||||
<td align="center">{$shares.download_num}</td>
|
|
||||||
<td align="center">{$shares.view_num}</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
{/volist}
|
<noscript>
|
||||||
</tbody>
|
You need to enable JavaScript to run this app.
|
||||||
</table>
|
</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.
|
||||||
|
|
||||||
</div>
|
You can add webfonts, meta tags, or analytics to this file.
|
||||||
{$listOrigin->render()}
|
The build step will place the bundled scripts into the <body> tag.
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
To begin the development, run `npm start` or `yarn start`.
|
||||||
</div>
|
To create a production bundle, use `npm run build` or `yarn build`.
|
||||||
</body>
|
-->
|
||||||
<script type="text/javascript">
|
</body>
|
||||||
</script>
|
<script src="http://192.168.123.19:3000/static/js/runtime~search.bundle.js"></script>
|
||||||
<script src="/static/js/material.js"></script>
|
<script src="http://192.168.123.19:3000/static/js/0.chunk.js"></script>
|
||||||
<script >
|
<script src="http://192.168.123.19:3000/static/js/2.chunk.js"></script>
|
||||||
$.material.init();
|
<script src="http://192.168.123.19:3000/static/js/5.chunk.js"></script>
|
||||||
document.onkeydown=function(){
|
<script src="http://192.168.123.19:3000/static/js/1.chunk.js"></script>
|
||||||
if (event.keyCode == 13){
|
<script src="http://192.168.123.19:3000/static/js/search.chunk.js"></script>
|
||||||
keyWords = $("input").val();
|
|
||||||
if(keyWords ==""){
|
|
||||||
toastr["warning"]("关键字不能为空");
|
|
||||||
}else{
|
|
||||||
window.location="/Explore/S/"+keyWords;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
|
|
||||||
}
|
</html>
|
||||||
}
|
|
||||||
</script>
|
|
||||||
{$options.js_code}
|
|
||||||
{/block}
|
|
@ -1,47 +0,0 @@
|
|||||||
{extend name="header_public" /}
|
|
||||||
{block name="title"}用户主页 - {$options.siteName}{/block}
|
|
||||||
{block name="content"}
|
|
||||||
<link rel="stylesheet" href="/static/css/search.css" />
|
|
||||||
</head>
|
|
||||||
<body data-ma-header="teal">
|
|
||||||
<nav class="navbar navbar-inverse" >
|
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="container" >
|
|
||||||
{include file="navbar_public" /}
|
|
||||||
<div class="header-panel shadow-z-2">
|
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="row">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="container main-h">
|
|
||||||
|
|
||||||
<div class="col-md-12">
|
|
||||||
<h1>搜索分享</h1>
|
|
||||||
<input type="text" placeholder="请输入关键词,回车键发起搜索" autofocus="true">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
<script type="text/javascript">
|
|
||||||
</script>
|
|
||||||
<script src="/static/js/material.js"></script>
|
|
||||||
<script >
|
|
||||||
document.onkeydown=function(){
|
|
||||||
if (event.keyCode == 13){
|
|
||||||
keyWords = $("input").val();
|
|
||||||
if(keyWords ==""){
|
|
||||||
toastr["warning"]("关键字不能为空");
|
|
||||||
}else{
|
|
||||||
window.location="/Explore/S/"+keyWords;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
{$options.js_code}
|
|
||||||
{/block}
|
|
@ -1,81 +1,73 @@
|
|||||||
{extend name="header_home" /}
|
<!DOCTYPE html>
|
||||||
{block name="title"}离线下载管理- {$options.siteName}{/block}
|
<html lang="zh-cn">
|
||||||
{block name="content"}
|
|
||||||
<script src="/static/js/remoteDownload.js"></script>
|
<head>
|
||||||
<style type="text/css">
|
<meta charset="utf-8">
|
||||||
.col-md-3{
|
<link rel="shortcut icon" href="/favicon.ico">
|
||||||
padding-right: 15px;
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
padding-left: 15px;
|
<meta name="theme-color" content="{$options.themeColor}" />
|
||||||
}
|
<!--
|
||||||
</style>
|
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>离线下载管理- {$options.siteName}</title>
|
||||||
|
<script type="text/javascript">
|
||||||
|
colorTheme = {:json_encode($options["themeConfig"])};
|
||||||
|
isHomePage = false;
|
||||||
|
isSharePage = false;
|
||||||
|
pageId="shareLock";
|
||||||
|
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: "离线下载",
|
||||||
|
};
|
||||||
|
uploadConfig = {
|
||||||
|
allowSource: false,
|
||||||
|
allowShare: false,
|
||||||
|
allowRemoteDownload: "0",
|
||||||
|
allowTorrentDownload: "0",
|
||||||
|
};
|
||||||
|
isMobile = window.innerWidth < 600;
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body >
|
|
||||||
<div id="container">
|
<body>
|
||||||
{include file="navbar_home" /}
|
|
||||||
|
<noscript>
|
||||||
<div class="col-md-10 quota_content">
|
You need to enable JavaScript to run this app.
|
||||||
<h1>离线下载管理</h1>
|
</noscript>
|
||||||
<br>
|
<div id="root"></div>
|
||||||
<div class="fix_side">
|
<!--
|
||||||
|
This HTML file is a template.
|
||||||
<div class="fix">
|
If you open it directly in the browser, you will see an empty page.
|
||||||
<div class="col-md-12">
|
|
||||||
<div class="panel panel-primary">
|
You can add webfonts, meta tags, or analytics to this file.
|
||||||
<div class="panel-heading">正在进行中 <i class="fa fa-refresh" aria-hidden="true" title="刷新数据" onclick="refresh()"></i></div>
|
The build step will place the bundled scripts into the <body> tag.
|
||||||
<div class="panel-body centerTable" id="loadStatus">
|
|
||||||
更新状态数据中...
|
To begin the development, run `npm start` or `yarn start`.
|
||||||
</div>
|
To create a production bundle, use `npm run build` or `yarn build`.
|
||||||
<div class="table-responsive" style="display: none">
|
-->
|
||||||
<table class="table">
|
</body>
|
||||||
<thead>
|
<script src="http://192.168.123.19:3000/static/js/runtime~download.bundle.js"></script>
|
||||||
<tr>
|
<script src="http://192.168.123.19:3000/static/js/17.chunk.js"></script>
|
||||||
<th width="5%" class="centerTable">#</th>
|
|
||||||
<th width="50%" >文件名</th>
|
<script src="http://192.168.123.19:3000/static/js/18.chunk.js"></script>
|
||||||
<th class="centerTable">大小</th>
|
<script src="http://192.168.123.19:3000/static/js/download.chunk.js"></script>
|
||||||
<th class="centerTable">储存位置</th>
|
|
||||||
<th class="centerTable">下载速度</th>
|
</html>
|
||||||
<th class="centerTable">进度</th>
|
|
||||||
<th class="centerTable">操作</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody id="itemContent">
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-12">
|
|
||||||
<div class="panel panel-info">
|
|
||||||
<div class="panel-heading">已完成 </i></div>
|
|
||||||
<div class="table-responsive" >
|
|
||||||
<table class="table">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th width="5%" class="centerTable">#</th>
|
|
||||||
<th width="50%" >文件名</th>
|
|
||||||
<th class="centerTable">大小</th>
|
|
||||||
<th class="centerTable">储存位置</th>
|
|
||||||
<th class="centerTable">状态</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody id="completeItemContent">
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<div class="panel-body centerTable" id="loadButton">
|
|
||||||
<button class="btn btn-primary" id="loadFinished">点击加载已完成列表</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<br>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
<script src="/static/js/material.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
upload_load=0;
|
|
||||||
</script>
|
|
||||||
{$options.js_code}
|
|
||||||
</html>
|
|
||||||
{/block}
|
|
@ -0,0 +1,81 @@
|
|||||||
|
{extend name="header_home" /}
|
||||||
|
{block name="title"}离线下载管理- {$options.siteName}{/block}
|
||||||
|
{block name="content"}
|
||||||
|
<script src="/static/js/remoteDownload.js"></script>
|
||||||
|
<style type="text/css">
|
||||||
|
.col-md-3{
|
||||||
|
padding-right: 15px;
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body >
|
||||||
|
<div id="container">
|
||||||
|
{include file="navbar_home" /}
|
||||||
|
|
||||||
|
<div class="col-md-10 quota_content">
|
||||||
|
<h1>离线下载管理</h1>
|
||||||
|
<br>
|
||||||
|
<div class="fix_side">
|
||||||
|
|
||||||
|
<div class="fix">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="panel panel-primary">
|
||||||
|
<div class="panel-heading">正在进行中 <i class="fa fa-refresh" aria-hidden="true" title="刷新数据" onclick="refresh()"></i></div>
|
||||||
|
<div class="panel-body centerTable" id="loadStatus">
|
||||||
|
更新状态数据中...
|
||||||
|
</div>
|
||||||
|
<div class="table-responsive" style="display: none">
|
||||||
|
<table class="table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th width="5%" class="centerTable">#</th>
|
||||||
|
<th width="50%" >文件名</th>
|
||||||
|
<th class="centerTable">大小</th>
|
||||||
|
<th class="centerTable">储存位置</th>
|
||||||
|
<th class="centerTable">下载速度</th>
|
||||||
|
<th class="centerTable">进度</th>
|
||||||
|
<th class="centerTable">操作</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody id="itemContent">
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="panel panel-info">
|
||||||
|
<div class="panel-heading">已完成 </i></div>
|
||||||
|
<div class="table-responsive" >
|
||||||
|
<table class="table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th width="5%" class="centerTable">#</th>
|
||||||
|
<th width="50%" >文件名</th>
|
||||||
|
<th class="centerTable">大小</th>
|
||||||
|
<th class="centerTable">储存位置</th>
|
||||||
|
<th class="centerTable">状态</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody id="completeItemContent">
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="panel-body centerTable" id="loadButton">
|
||||||
|
<button class="btn btn-primary" id="loadFinished">点击加载已完成列表</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
<script src="/static/js/material.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
upload_load=0;
|
||||||
|
</script>
|
||||||
|
{$options.js_code}
|
||||||
|
</html>
|
||||||
|
{/block}
|
Loading…
Reference in new issue