forked from mindoc-org/mindoc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
70 changed files
with
33,934 additions
and
28,325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package controllers | ||
|
||
type BookController struct { | ||
BaseController | ||
} | ||
|
||
func (p *BookController) Index() { | ||
p.TplName = "book/index.tpl" | ||
} | ||
|
||
// Dashboard 项目概要 . | ||
func (p *BookController) Dashboard() { | ||
p.TplName = "book/dashboard.tpl" | ||
} | ||
|
||
// Setting 项目设置 . | ||
func (p *BookController) Setting() { | ||
p.TplName = "book/setting.tpl" | ||
} | ||
|
||
func (p *BookController) Users() { | ||
p.TplName = "book/users.tpl" | ||
} | ||
|
||
func (p *BookController) Create() { | ||
p.TplName = "book/create.tpl" | ||
} | ||
|
||
// Edit 编辑项目. | ||
func (p *BookController) Edit() { | ||
p.TplName = "book/edit.tpl" | ||
} | ||
|
||
// Delete 删除项目. | ||
func (p *BookController) Delete() { | ||
p.StopRun() | ||
} | ||
|
||
// Transfer 转让项目. | ||
func (p *BookController)Transfer() { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package controllers | ||
|
||
type BookMemberController struct { | ||
BaseController | ||
} | ||
|
||
func (p *BookMemberController) Create() { | ||
p.TplName = "book/member_create.tpl" | ||
} | ||
|
||
func (p *BookMemberController) Change() { | ||
|
||
p.StopRun() | ||
} | ||
|
||
func (p *BookMemberController) Delete() { | ||
|
||
p.StopRun() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package controllers | ||
|
||
type DocumentController struct { | ||
BaseController | ||
} | ||
|
||
func (p *DocumentController) Index() { | ||
p.TplName = "document/index.tpl" | ||
} | ||
|
||
func (p *DocumentController) Read() { | ||
p.TplName = "document/kancloud.tpl" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package controllers | ||
|
||
type SettingController struct { | ||
BaseController | ||
} | ||
|
||
func (p *SettingController) Index() { | ||
p.TplName = "setting/index.tpl" | ||
} | ||
|
||
func (p *SettingController) Password() { | ||
p.TplName = "setting/password.tpl" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Created by .ignore support plugin (hsz.mobi) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,5 +6,6 @@ import ( | |
) | ||
|
||
func main() { | ||
beego.SetStaticPath("uploads","uploads") | ||
beego.Run() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Package models . | ||
package models | ||
|
||
type Member struct { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.