new admin user list UI
This commit is contained in:
parent
247017d9ff
commit
be89802bd8
7 changed files with 100 additions and 75 deletions
|
@ -91,8 +91,9 @@ var (
|
|||
AnsiCharset string
|
||||
|
||||
// UI settings.
|
||||
ExplorePagingNum int
|
||||
IssuePagingNum int
|
||||
ExplorePagingNum int
|
||||
IssuePagingNum int
|
||||
AdminUserPagingNum int
|
||||
|
||||
// Markdown sttings.
|
||||
Markdown struct {
|
||||
|
@ -367,6 +368,9 @@ func NewConfigContext() {
|
|||
ExplorePagingNum = sec.Key("EXPLORE_PAGING_NUM").MustInt(20)
|
||||
IssuePagingNum = sec.Key("ISSUE_PAGING_NUM").MustInt(10)
|
||||
|
||||
sec = Cfg.Section("ui.admin")
|
||||
AdminUserPagingNum = sec.Key("USER_PAGING_NUM").MustInt(50)
|
||||
|
||||
sec = Cfg.Section("picture")
|
||||
PictureService = sec.Key("SERVICE").In("server", []string{"server"})
|
||||
AvatarUploadPath = sec.Key("AVATAR_UPLOAD_PATH").MustString("data/avatars")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue