parent
737665c62c
commit
3a4912083c
@ -1,115 +1,85 @@
|
|||||||
{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/profile.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>
|
<head>
|
||||||
</div>
|
<meta charset="utf-8">
|
||||||
</div>
|
<link rel="shortcut icon" href="/favicon.ico">
|
||||||
<div class="container main-h">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<div class="col-md-3">
|
<meta name="theme-color" content="{$options.themeColor}" />
|
||||||
<div class="card type--profile">
|
<!--
|
||||||
<header class="card-heading card-background" id="card_img_02">
|
manifest.json provides metadata used when your web app is added to the
|
||||||
<img src="/Member/Avatar/{$userInfo.id}/l" alt="" class="img-circle">
|
homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||||
<ul class="card-actions icons right-top">
|
-->
|
||||||
<li class="dropdown" style="display: none;">
|
<link rel="manifest" href="/manifest.json">
|
||||||
<a href="javascript:void(0)" data-toggle="dropdown" aria-expanded="false">
|
<!--
|
||||||
<i class="zmdi zmdi-more-vert text-white"></i>
|
Notice the use of %PUBLIC_URL% in the tags above.
|
||||||
</a>
|
It will be replaced with the URL of the `public` folder during the build.
|
||||||
<ul class="dropdown-menu dropdown-menu-right">
|
Only files inside the `public` folder can be referenced from the HTML.
|
||||||
<li>
|
|
||||||
<a href="javascript:void(0)">Option One</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="javascript:void(0)">Option Two</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="javascript:void(0)">Option Three</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</header>
|
|
||||||
<div class="card-body">
|
|
||||||
<h3 class="name">{$userInfo.user_nick|htmlspecialchars=ENT_NOQUOTES}</h3>
|
|
||||||
<span class="title span-fix"><span class="label span-fix label-{$groupData.color}">{$groupData.group_name}</span></span>
|
|
||||||
|
|
||||||
</div>
|
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
||||||
<footer class="card-footer border-top">
|
work correctly both with client-side routing and a non-root public URL.
|
||||||
<div class="row row p-t-10 p-b-10">
|
Learn how to configure a non-root public URL by running `npm run build`.
|
||||||
<div class="col-xs-4"><span class="count">{$shareCount}</span><span>公开分享</span></div>
|
-->
|
||||||
<div class="col-xs-4"><span class="count">{$regDays}</span><span>注册天数</span></div>
|
<title>用户主页 - {$options.siteName}</title>
|
||||||
<div class="col-xs-4"><span class="count">{$userInfo.id}</span><span>用户编号</span></div>
|
<script type="text/javascript">
|
||||||
</div>
|
colorTheme = {:json_encode($options["themeConfig"])};
|
||||||
</footer>
|
isHomePage = false;
|
||||||
</div>
|
isSharePage = false;
|
||||||
</div>
|
pageId="profile";
|
||||||
<div class="col-md-9">
|
taegetUserInfo = {
|
||||||
<div class="jumbotron">
|
uid:{$targetUserInfo.id},
|
||||||
<div class="card_botom">
|
nickname:"{$targetUserInfo.user_nick}",
|
||||||
<div class="row bottom-width">
|
regDate:"{$targetUserInfo.user_date}",
|
||||||
<ul class="nav nav-tabs" >
|
shareCount:"{$shareCount}",
|
||||||
<li id="all"><a href="?page=1" aria-expanded="true">全部分享<div class="ripple-container"></div></a></li>
|
group:"{$groupData.group_name}",
|
||||||
<li id="hot"><a href="?type=hot" aria-expanded="false">热门分享<div class="ripple-container"></div></a></li>
|
};
|
||||||
|
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>
|
||||||
|
|
||||||
</ul>
|
<body>
|
||||||
<div id="myTabContent" class="tab-content">
|
|
||||||
<div class="tab-pane fade active in">
|
|
||||||
<div class="panel panel-default">
|
|
||||||
<div class="panel-body" >
|
|
||||||
|
|
||||||
<div class="table-responsive">
|
<noscript>
|
||||||
<table class="table table-striped">
|
You need to enable JavaScript to run this app.
|
||||||
<thead>
|
</noscript>
|
||||||
<tr>
|
<div id="root"></div>
|
||||||
<th width="50%">文件名 </th>
|
<!--
|
||||||
<th class="cent">分享日期</th>
|
This HTML file is a template.
|
||||||
<th class="cent">下载次数</th>
|
If you open it directly in the browser, you will see an empty page.
|
||||||
<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="fname" target="_blank">{$shares.fileData|htmlspecialchars=ENT_NOQUOTES}</a></td>
|
You can add webfonts, meta tags, or analytics to this file.
|
||||||
<td class="cent">{$shares.share_time}</td>
|
The build step will place the bundled scripts into the <body> tag.
|
||||||
<td align="center">{$shares.download_num}</td>
|
|
||||||
<td align="center">{$shares.view_num}</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
{/volist}
|
To begin the development, run `npm start` or `yarn start`.
|
||||||
</tbody>
|
To create a production bundle, use `npm run build` or `yarn build`.
|
||||||
</table>
|
-->
|
||||||
|
</body>
|
||||||
|
<script src="http://192.168.123.19:3000/static/js/runtime~profile.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/3.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/1.chunk.js"></script>
|
||||||
|
<script src="http://192.168.123.19:3000/static/js/profile.chunk.js"></script>
|
||||||
|
|
||||||
</div>
|
</html>
|
||||||
<div class="navi">
|
|
||||||
{eq name="$type" value="hot"}
|
|
||||||
{else/}
|
|
||||||
{$listOrigin->render()}
|
|
||||||
{/eq}
|
|
||||||
</div>
|
|
||||||
</div></div></div></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
<script type="text/javascript">
|
|
||||||
</script>
|
|
||||||
<script src="/static/js/material.js"></script>
|
|
||||||
<script src="/static/js/profile.js"> </script>
|
|
||||||
{$options.js_code}
|
|
||||||
{/block}
|
|
Loading…
Reference in new issue