forked from laysense/laysite
Launch LaySite visual editor and MCP workspace
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php use App\Content\View; $e = View::escape(...); ?>
|
||||
<section class="section"><div class="wrap account-panel">
|
||||
<h1>用户中心</h1>
|
||||
<?php if ($error !== ''): ?><p role="alert"><?= $e($error) ?></p><?php endif ?>
|
||||
<?php if ($profile): ?>
|
||||
<?php if ($profile['avatar'] !== ''): ?><img class="account-avatar" src="<?= $e($profile['avatar']) ?>" width="56" height="56" alt=""><?php endif ?>
|
||||
<p><?= $e($profile['name']) ?></p>
|
||||
<form method="post" action="/account/logout">
|
||||
<input type="hidden" name="token" value="<?= $e($profile['logout']) ?>">
|
||||
<button class="button button-outline" type="submit">退出登录</button>
|
||||
</form>
|
||||
<?php else: ?><p>请从站点页头登录。</p><?php endif ?>
|
||||
<p><a href="/">返回首页</a></p>
|
||||
</div></section>
|
||||
Reference in New Issue
Block a user