Minos icon indicating copy to clipboard operation
Minos copied to clipboard

部分 bug

Open virusdefender opened this issue 9 years ago • 3 comments

我的消息页面没分页

修改方法 controller/message.py/MessageHandler最后一行修改为

self.render("message.htm", messages=messages, count=count, cutstr=cutstr, page=page, each=limit)

html 模板增加

<div class="am-panel-footer">
     {% raw pagenav(now = page, count = count, each = each, url = '/message/%d') %}
     <div class="am-cf"></div>
</div>

最近在将这个论坛做一点修改,然后用于我们的 online judge 的论坛,完成后会按照协议开源。现在改的比较乱,就不 pr 了。

virusdefender avatar Oct 19 '15 10:10 virusdefender

https://github.com/phith0n/Minos/blob/master/static/assets/js/post.js#L109

应该使用 #top 选择器

virusdefender avatar Oct 20 '15 02:10 virusdefender

好,我这几日慢慢看

phith0n avatar Oct 20 '15 03:10 phith0n

发表帖子、编辑帖子和回复的时候需要判断内容是否为空

if not content.strip():
    self.custom_error(xxxxx)

virusdefender avatar Oct 20 '15 04:10 virusdefender