Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
c432d018
Commit
c432d018
authored
Nov 21, 2020
by
xierz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
静态化按钮权限
parent
00901428
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
index.ftl
src/main/webapp/WEB-INF/manager/cms/generate/index.ftl
+8
-0
No files found.
src/main/webapp/WEB-INF/manager/cms/generate/index.ftl
View file @
c432d018
...
@@ -47,7 +47,9 @@
...
@@ -47,7 +47,9 @@
</div>
</div>
<div
class=
"class-10"
>
<div
class=
"class-10"
>
<el-form-item>
<el-form-item>
<
@
shiro
.
hasPermission
name=
"cms:generate:index"
>
<el-button
type=
"primary"
@
click=
"updataIndex"
:loading=
"homeLoading"
>
{{homeLoading?'更新中':'生成主页'}}
</el-button>
<el-button
type=
"primary"
@
click=
"updataIndex"
:loading=
"homeLoading"
>
{{homeLoading?'更新中':'生成主页'}}
</el-button>
</
@
shiro
.hasPermission
>
<el-button
plain
@
click=
"viewIndex"
>
预览主页
</el-button>
<el-button
plain
@
click=
"viewIndex"
>
预览主页
</el-button>
</el-form-item>
</el-form-item>
</div>
</div>
...
@@ -92,9 +94,12 @@
...
@@ -92,9 +94,12 @@
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"class-20"
>
<div
class=
"class-20"
>
<
@
shiro
.
hasPermission
name=
"cms:generate:article"
>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"updateArticle"
:loading=
"articleLoading"
>
{{articleLoading?'更新中':'生成文章'}}
</el-button>
<el-button
type=
"primary"
@
click=
"updateArticle"
:loading=
"articleLoading"
>
{{articleLoading?'更新中':'生成文章'}}
</el-button>
</el-form-item>
</el-form-item>
</
@
shiro
.hasPermission
>
</div>
</div>
</div>
</div>
<div
class=
"class-23"
>
<div
class=
"class-23"
>
...
@@ -116,9 +121,12 @@
...
@@ -116,9 +121,12 @@
</div>
</div>
<div
class=
"class-30"
>
<div
class=
"class-30"
>
<
@
shiro
.
hasPermission
name=
"cms:generate:column"
>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"updateColumn"
:loading=
"columnLoading"
>
{{columnLoading?'更新中':'生成栏目'}}
</el-button>
<el-button
type=
"primary"
@
click=
"updateColumn"
:loading=
"columnLoading"
>
{{columnLoading?'更新中':'生成栏目'}}
</el-button>
</el-form-item>
</el-form-item>
</
@
shiro
.hasPermission
>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment