├── views ├── app │ ├── info.hbs │ ├── page │ │ ├── item.hbs │ │ └── list.hbs │ ├── contact.hbs │ ├── content │ │ └── list.hbs │ └── index.hbs ├── server │ ├── index.hbs │ ├── message │ │ ├── item.hbs │ │ └── list.hbs │ ├── info.hbs │ ├── tag │ │ ├── item.hbs │ │ ├── edit.hbs │ │ ├── add.hbs │ │ └── list.hbs │ ├── page │ │ ├── item.hbs │ │ └── list.hbs │ ├── error.hbs │ ├── log │ │ ├── item.hbs │ │ └── list.hbs │ ├── comment │ │ ├── item.hbs │ │ └── list.hbs │ ├── category │ │ ├── item.hbs │ │ ├── list.hbs │ │ ├── add.hbs │ │ └── edit.hbs │ ├── role │ │ ├── item.hbs │ │ ├── add.hbs │ │ ├── edit.hbs │ │ └── list.hbs │ ├── user │ │ ├── login.hbs │ │ ├── forget.hbs │ │ ├── add.hbs │ │ ├── register.hbs │ │ ├── list.hbs │ │ ├── edit.hbs │ │ └── item.hbs │ ├── install.hbs │ ├── notification │ │ └── item.hbs │ ├── content │ │ ├── list.hbs │ │ └── add.hbs │ ├── me │ │ ├── edit.hbs │ │ └── item.hbs │ └── file │ │ ├── list.hbs │ │ └── add.hbs ├── layouts │ ├── layout-blank.hbs │ ├── app_layout.hbs │ └── layout.hbs └── partials │ ├── header.hbs │ └── sidebar.hbs ├── .gitignore ├── public └── assets │ ├── app │ └── images │ │ ├── favicon.ico │ │ └── video-thumb.png │ ├── server │ ├── img │ │ └── favicon.ico │ ├── js │ │ └── application.js │ └── css │ │ ├── style.css │ │ └── main.css │ └── plugins │ └── mditor │ ├── css │ └── mditor.min.css.map │ ├── font │ ├── 674f50d287a8c48dc19ba404d20fe713.eot │ ├── b06871f281fee6b241d60582ae9369b9.ttf │ ├── fee66e712a8a08eef5805a46892932ad.woff │ └── af7ae505a9eed503f8b8e6982036873e.woff2 │ └── index.html ├── .gitattributes ├── routes ├── app │ ├── page.js │ ├── index.js │ ├── content.js │ └── comment.js └── server │ ├── index.js │ ├── me.js │ ├── log.js │ ├── comment.js │ ├── message.js │ ├── page.js │ ├── content.js │ ├── tag.js │ ├── role.js │ ├── file.js │ ├── category.js │ ├── notification.js │ └── user.js ├── services ├── log.js ├── tag.js ├── file.js ├── page.js ├── role.js ├── comment.js ├── message.js ├── category.js ├── content.js ├── notification.js ├── user.js └── base.js ├── models ├── tag.js ├── role.js ├── log.js ├── option.js ├── message.js ├── file.js ├── page.js ├── comment.js ├── content.js ├── notification.js ├── category.js └── user.js ├── package.json ├── middlewares ├── action.js └── jwt.js ├── libs ├── crypto.js ├── mailer.js ├── core.js └── uploader.js ├── controllers ├── app │ ├── page.js │ ├── content.js │ ├── index.js │ └── comment.js └── server │ ├── message.js │ ├── log.js │ ├── comment.js │ ├── page.js │ ├── me.js │ ├── index.js │ ├── file.js │ └── tag.js ├── config.js └── README.md /views/app/info.hbs: -------------------------------------------------------------------------------- 1 |
welcome!
6 | 7 |4 | 留言列表 5 |
6 |内容:{{message.content}}
8 |日期:{{message.created}}
9 |作者:{{#if message.name}}{{message.name}}{{/if}} 10 |
11 |类型:{{log.type}}
6 |动作:{{log.action}}
7 |状态:{{log.status}}
8 |ip:{{log.ip}}
9 |ua:{{log.ua}}
10 |用户:{{log.author}}
11 |内容:{{log.message}}
12 |日期:{{dateFormat log.created 'yyyy-MM-dd hh:mm:ss'}}
13 |5 | 评论列表 6 |
7 | 8 |{{comment.content}}
10 |来自:{{#if comment.from}}{{comment.from.title}}{{/if}} 11 |
12 |{{comment.created}}
13 |作者:{{#if comment.author}}{{comment.author}}{{else}}匿名{{/if}} 14 |
15 |4 | 标签列表 5 |
6 | 18 |4 | 全部私信 5 | 已发私信 6 | 已收私信 7 |
8 |内容:{{notification.content}}
10 |来自: {{#each notification.from}}{{name}}{{/each}}
11 |发给:{{#each notification.to}}{{name}}{{/each}}
12 |已读:{{#each notification.read}}{{name}}{{/each}}
13 |未读:{{#each notification.unread}}{{name}}{{/each}}
14 |日期:{{dateFormat notification.created 'yyyy-MM-dd hh:mm:ss'}}
15 || 标题 | 8 |作者 | 9 |发布时间 | 10 |
|---|---|---|
| {{title}} | 16 |{{#if author}}{{author.name}}{{/if}} 17 | | 18 |{{dateFormat created 'yyyy-MM-dd hh:mm:ss'}} | 19 |
| 标题 | 8 |作者 | 9 |发布时间 | 10 |
|---|---|---|
| {{title}} | 17 |{{#if author}}{{author.name}}{{/if}} 18 | | 19 |{{dateFormat created 'yyyy-MM-dd hh:mm:ss'}} | 20 |
| 内容 | 8 |姓名 | 9 |邮箱 | 10 |IP | 11 |时间 | 12 |操作 | 13 |
|---|---|---|---|---|---|
| {{content}} | 19 |{{#if name}}{{name}} {{else}} 匿名{{/if}} 20 | | 21 |{{email}} | 22 |{{ip}} | 23 |{{dateFormat created 'yyyy-MM-dd hh:mm:ss'}} | 24 |25 | 26 | 删除 30 | 31 | | 32 |
4 | 角色列表 5 |
6 | 35 |4 | 添加标签 5 |
6 || 名称 | 10 |创建者 | 11 |创建时间 | 12 |操作 | 13 |
|---|---|---|---|
| {{name}} | 19 |{{#if author}}{{author.name}}{{else}}无{{/if}} 20 | | 21 |{{dateFormat created 'yyyy-MM-dd hh:mm:ss'}} | 22 |编辑 23 | 24 | 删除 29 | 30 | 31 | | 32 |
| 内容 | 9 |作者 | 10 |来自 | 11 |IP | 12 |时间 | 13 |操作 | 14 |
|---|---|---|---|---|---|
| {{content}} | 20 |{{#if author }}{{author.name}} {{else}}匿名{{/if}} | 21 |{{#if from }}{{from.title}} {{/if}} 22 | | 23 |{{ip}} | 24 |{{dateFormat created 'yyyy-MM-dd hh:mm:ss'}} | 25 |26 | 删除 30 | | 31 |
| 名称 | 9 |副名稱 | 10 |标记 | 11 |创建者 | 12 |创建时间 | 13 |操作 | 14 |
|---|---|---|---|---|---|
| {{name}} | 20 |{{subName}} | 21 |{{flag}} | 22 |{{author.name}} | 23 |{{dateFormat created 'yyyy-MM-dd hh:mm:ss'}} | 24 |编辑 25 | 26 | 删除 31 | 32 | 33 | | 34 |
6 | 新增文章 7 |
8 | 9 | 10 || 15 | {{title}} 16 | 17 | | 18 |19 | {{author.name}} 20 | | 21 |{{dateFormat created 'yyyy-MM-dd hh:mm:ss'}} | 22 |编辑 23 | 删除 27 | | 28 |
7 | 用户列表 8 |
9 | 10 | 41 | 42 |已经是用户? 登录
10 | 30 || 名称 | 8 |创建人 | 9 |类型 | 10 |创建时间 | 11 |操作 | 12 |
|---|---|---|---|---|
| 18 | 31 | | 32 |{{author.username}} 33 | | 34 |{{type}} | 35 |{{dateFormat created 'yyyy-MM-dd hh:mm:ss'}} | 36 |37 | 删除 41 | | 42 |
| 类型 | 8 |动作 | 9 |状态 | 10 |ip | 11 |信息 | 12 |时间 | 13 |操作 | 14 |
|---|---|---|---|---|---|---|
| {{type}} | 20 |{{action}} | 21 |{{status}} | 22 |{{ip}} | 23 |{{message}} | 24 |{{dateFormat created 'yyyy-MM-dd hh:mm:ss'}} | 25 |删除 | 26 |
8 | 添加用户 9 |
10 | 11 || 用户名 | 15 |姓名 | 16 |角色 | 17 |创建人 | 18 |创建日期 | 19 |操作 | 20 |
|---|---|---|---|---|---|
| {{username}} | 26 |{{name}} | 27 |{{#each roles}}{{name}}{{/each}} | 28 |{{#each author}}{{name}}{{/each}} | 29 |{{dateFormat created 'yyyy-MM-dd hh:mm:ss'}} | 30 | 31 |编辑 32 | 33 | 34 | 删除 39 | 40 | 41 | | 42 |
5 | 添加角色 6 |
7 | 8 || 名称 | 12 |创建人 | 13 |创建时间 | 14 |操作 | 15 |
|---|---|---|---|
| {{name}} | 21 |{{#if author}}{{author.name}}{{else}}无{{/if}} 22 | | 23 |{{dateFormat created 'yyyy-MM-dd hh:mm:ss'}} | 24 |25 | 编辑 26 | 27 | 删除 32 | 33 | | 34 |
15 | 文件列表 16 |
17 | 31 |4 | 新增页面 5 |
6 | 7 || 标题 | 11 |内容 | 12 |时间 | 13 |操作 | 14 |
|---|---|---|---|
| {{title}} | 20 |{{content}} | 21 |{{dateFormat created 'yyyy-MM-dd hh:mm:ss'}} | 22 |23 | 删除 27 | | 28 |
{{user.id}}
16 |{{user.name}}
22 |{{user.username}}
28 |{{user.email}}
34 |{{#if user.mobile}}{{user.mobile}}{{else}}无{{/if}}
40 |{{#if user.gender}}{{user.gender}}{{else}}无{{/if}}
46 |52 | {{#each user.roles}}{{name}}{{/each}} 53 |
54 |60 | {{#if user.author.username}}{{user.author.username}}{{else}}无{{/if}} 61 |
62 |{{dateFormat user.created 'yyyy-MM-dd hh:mm:ss'}}
68 |{{#if user.last_login_date}}{{dateFormat user.last_login_date 'yyyy-MM-dd hh:mm:ss'}}{{else}}无{{/if}}
74 |{{user.last_login_ip}}
80 |20 | 文章列表 21 |
22 | 23 | 58 |