-
Notifications
You must be signed in to change notification settings - Fork 25
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
1 parent
c1dabd1
commit 5a7b17f
Showing
10 changed files
with
189 additions
and
194 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
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
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
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
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 |
---|---|---|
@@ -1,41 +1,40 @@ | ||
extends ../layout | ||
block container | ||
div#pages-page.panel.panel-default | ||
div.panel-heading | ||
div.pull-right | ||
a(href="/admin/pages/create").btn.btn-default.btn-xs 创建页面 | ||
include ../../shared/breadcrumb | ||
table.table.table-bordered.table-striped | ||
thead | ||
tr | ||
th 页面地址 | ||
th 标题 | ||
th 编辑者 | ||
th 版本 | ||
th 最后编辑时间 | ||
th | ||
tbody | ||
each page in pages | ||
block main | ||
div#pages-page.admin.panel | ||
div.heading | ||
a(href="/admin/pages/create").pure-button.pure-button-primary.add-button 创建页面 | ||
h3 页面管理 | ||
div.content | ||
table.pure-table.pure-table-striped | ||
thead | ||
tr | ||
td #{page.slug} | ||
td #{page.title} | ||
td=_.pluck(page.authors, 'username').join(', ') | ||
td #{page.version} | ||
td=moment(page.updatedAt).format('YYYY-MM-DD HH:mm') | ||
td | ||
div.btn-group | ||
a(href="/admin/pages/#{page._id}/edit").btn.btn-default.btn-xs | ||
th 页面地址 | ||
th 标题 | ||
th 编辑者 | ||
th 版本 | ||
th 最后编辑时间 | ||
th | ||
tbody | ||
each page in pages | ||
tr | ||
td #{page.slug} | ||
td #{page.title} | ||
td=_.pluck(page.authors, 'username').join(', ') | ||
td #{page.version} | ||
td=moment(page.updatedAt).format('YYYY-MM-DD HH:mm') | ||
td | ||
a(href="/admin/pages/#{page._id}/edit") | ||
i.fa.fa-pencil | ||
|  编辑 | ||
button(type="button", | ||
data-id="#{page._id}").remove-btn.btn.btn-danger.btn-xs | ||
small  编辑 | ||
|  |  | ||
a(href="javascript:;", data-id="#{page._id}").remove-btn | ||
i.fa.fa-trash-o | ||
|  删除 | ||
div.panel-footer | ||
include ../../shared/pagination | ||
small  删除 | ||
div.footer | ||
include ../../paginator | ||
block script | ||
script(type="text/javascript"). | ||
ND.moduleTree.push({ | ||
name: 'PagesPage', | ||
el: '#pages-page' | ||
}); | ||
}); |
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
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
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.