28 Commits

Author SHA1 Message Date
alsotang
183fed23ca Revert "reformat code"
This reverts commit 5426982f5a128ec271738a51f9366dfd5b05565a.
2015-07-01 15:17:45 +08:00
alsotang
5426982f5a reformat code 2015-07-01 15:15:37 +08:00
alsotang
91ff12b270 更新未读消息ui 2015-04-13 11:49:37 +08:00
alsotang
e0651aff56 all use staticFile helper 2014-09-06 20:33:42 +08:00
alsotang
9c6f56ce84 去掉了 User#name 的概念,只保留 User#loginname 2014-09-06 17:46:01 +08:00
alsotang
1f0954c057 reformat html indent width to 2 2014-08-29 12:19:27 +08:00
alsotang
7e030b5d9f reformat 所有代码 2014-08-12 20:10:50 +08:00
alsotang
30c7a6bd99 filter invalid messages 2014-07-04 18:00:48 +08:00
Raven WANG
376925338c 修正无法通过 if (locals.variable) 判定 variable 是否存在的问题
由于partial早在Express 3.x已经是被抛弃的特性,几个middleware包括这里使用的ejs-locals已经无人维护,不建议继续使用
而ejs-locals对于locals对象的处理有问题,有时候不能使用 if (locals.variable) 来判定variable是否存在,只能使用 if (typeof(variable) !== 'undefined')
2014-05-07 14:33:55 +08:00
Raven WANG
e4048e9042 解决Express 3以后模板不再支持partial的问题 2014-05-07 14:33:44 +08:00
Alsotang
f94e1e295c update my/messages logic 2014-04-26 23:31:30 +08:00
Alsotang
dc0815371d change delegate element 2014-04-24 10:51:20 +08:00
jiyinyiyong
4d8a606b03 delegate click items on classes 2014-04-23 19:20:07 +08:00
Jackson Tian
f7b602f7fd 静态资源重构 2013-06-19 02:40:02 +08:00
Jackson Tian
68b89649b2 Fix几个样式问题 2013-06-18 11:07:38 +08:00
Jackson Tian
25bd3d2cfa 去除用标签来制造空格的行为 2013-06-17 18:39:52 +08:00
fengmk2
a99ab6a549 fixed #154 消息跳转没有直接跳转到回复 2013-05-27 17:55:40 +08:00
fengmk2
21dc4c81b1 @jiyinyiyong 修改界面布局 fixed #139
* 主页话题和标签的显示比较大的改动, 这是比较不整洁的部分
* 页面背景. 整体去掉了颜色和边框, 还是有限考虑可读性, 主要看截图
* 看 CNode 用的 Bootstrap `2.0`, repo 是 `1.7`. 遇到有错干脆升级解决了.
* `prettyprint.css` 对浅色背景使用了深色的文字颜色的主题
2013-05-17 18:04:50 +08:00
Jackson Tian
c71d612b4e Coding style refine. 2013-02-19 17:23:30 +08:00
jiyinyiyong
f1611a233e 合并通知按钮 2012-09-18 09:08:06 +08:00
fengmk2
c30c50f4be 模板必须使用双引号 2012-09-17 22:19:12 +08:00
jiyinyiyong
b77f21c0dd 避不必要免换行和高度晃动 2012-06-24 11:07:04 +08:00
fengmk2
e5c4a15a6b use upyun 2012-03-09 21:39:29 +08:00
fengmk2
270653216b add sidebar 2012-03-04 02:56:01 +08:00
fengmk2
7921025aa6 fixed csrf bug in mark message read 2012-03-04 00:15:36 +08:00
fengmk2
256683ca24 * merge cnodeclub to nodeclub;
* add more settings for custom site;
* fixed upload.js not worked bug;
2012-03-03 23:37:54 +08:00
muyuan
91f7250d36 话题回复数纳入二级回复,样式调整 2012-03-01 15:10:43 +08:00
muyuan
e524b2f9b5 project init 2012-02-15 21:17:16 +08:00