mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-26 04:28:41 +00:00
feat: add a new-blog button at blogs page
Add a new-blog button at blogs page. It simplified the operation to write a new blog.
This commit is contained in:
parent
20589aa2d2
commit
b7974dc6ae
@ -21,7 +21,10 @@ EOD;
|
|||||||
<?php echoUOJPageHeader(UOJLocale::get('blogs')) ?>
|
<?php echoUOJPageHeader(UOJLocale::get('blogs')) ?>
|
||||||
<?php if (Auth::check()): ?>
|
<?php if (Auth::check()): ?>
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
|
<div class="btn-group">
|
||||||
<a href="<?= HTML::blog_url(Auth::id(), '/') ?>" class="btn btn-default btn-sm">我的博客首页</a>
|
<a href="<?= HTML::blog_url(Auth::id(), '/') ?>" class="btn btn-default btn-sm">我的博客首页</a>
|
||||||
|
<a href="<?= HTML::blog_url(Auth::id(), '/blog/new/write')?>" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-edit"></span> 写新博客</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<h3>博客总览</h3>
|
<h3>博客总览</h3>
|
||||||
|
Loading…
Reference in New Issue
Block a user