管理面板页面

This commit is contained in:
jysperm
2014-02-24 01:04:31 +08:00
parent 43c219c014
commit f5f08ddcd7
4 changed files with 14 additions and 2 deletions

View File

@@ -11,7 +11,8 @@
"email": "邮箱",
"passwd": "密码",
"error": "错误",
"logout": "注销"
"logout": "注销",
"panel": "管理面板"
},
"view": {
"signup": {

View File

@@ -1,5 +1,5 @@
exports.bind = (app) ->
for item in ['user']
for item in ['user', 'panel']
apiModule = require('./' + item)
for name, controller of apiModule.get

4
core/router/panel.coffee Normal file
View File

@@ -0,0 +1,4 @@
module.exports =
get:
'/': (req, res) ->
res.render 'panel'

7
core/view/panel.jade Normal file
View File

@@ -0,0 +1,7 @@
extends layout
prepend head
title #{t("word.panel")} | #{t('app.name')}
block main
header= t('word.panel')