对博客进行了优化置顶,收藏,热度等操作
This commit is contained in:
@@ -37,6 +37,24 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<!--如果未登录-->
|
||||
<div>
|
||||
<form th:action="@{/search}" method="post">
|
||||
<ul class="navbar-nav mr-auto">
|
||||
<li>
|
||||
<input name="findWhat" type="text" placeholder="大佬想找什么呢?"/>
|
||||
</li>
|
||||
<li>
|
||||
<input type="submit" class="btn btn-sm btn-primary mr-2" value="全站搜索">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-search" viewBox="0 0 16 16">
|
||||
<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>
|
||||
</svg>
|
||||
</input>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!--如果未登录-->
|
||||
<div sec:authorize="!isAuthenticated()">
|
||||
<a class="btn btn-sm btn-primary" th:href="@{/toLogin}" role="button">
|
||||
|
||||
Reference in New Issue
Block a user