Skip to content

Commit

Permalink
🎨 emiya 皮肤更新:评论
Browse files Browse the repository at this point in the history
  • Loading branch information
adlered committed Jan 1, 2020
1 parent 6f81077 commit fbd6fc1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/main/webapp/skins/bolo-emiya/macro-comment.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,18 @@

<#macro article_comments commentList article>
<#if commentList?size != 0>
<#if article.commentable>
<input id="boloUser" placeholder="你的昵称" style="width: 95%; border: 1px solid #eee; padding: 20px">
<input id="boloSite" placeholder="你的个人主页URL(选填)" style="width: 95%; border: 1px solid #eee; padding: 20px">
<textarea rows="3" placeholder="${postCommentsLabel}" class="comment__textarea" id="comment"></textarea>
<script type="text/javascript" src="${staticServePath}/js/bolo/sweetalert.min.js"></script>
</#if>

<h3>评论列表</h3>
<ul class="article__comments" id="comments">
<#list commentList as comment>
<@article_comment comment=comment article=article></@article_comment>
</#list>
</ul>
</#if>
<#if article.commentable>
<h3>添加新评论</h3>
<textarea
rows="3" placeholder="${postCommentsLabel}"
class="comment__textarea" id="comment"></textarea>
</#if>
</#macro>

0 comments on commit fbd6fc1

Please sign in to comment.