Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
Platform
Commits
34fee80f
Unverified
Commit
34fee80f
authored
Oct 05, 2017
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update button styles to use element-ui style
parent
cb768834
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
170 additions
and
116 deletions
+170
-116
DeleteComponent.vue
Modules/Core/Assets/js/components/DeleteComponent.vue
+1
-1
MediaList.vue
Modules/Media/Assets/js/components/MediaList.vue
+19
-12
PageTableServerSide.vue
Modules/Page/Assets/js/components/PageTableServerSide.vue
+7
-4
app.js
public/js/app.js
+143
-99
No files found.
Modules/Core/Assets/js/components/DeleteComponent.vue
View file @
34fee80f
<
template
>
<
template
>
<
button
class=
"btn btn-danger btn-flat"
@
click=
"deleteRow"
><i
class=
"fa fa-trash"
></i></
button>
<
el-button
type=
"danger"
@
click=
"deleteRow"
size=
"small"
><i
class=
"fa fa-trash"
></i></el-
button>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
Modules/Media/Assets/js/components/MediaList.vue
View file @
34fee80f
...
@@ -81,20 +81,27 @@
...
@@ -81,20 +81,27 @@
<el-table-column
prop=
"actions"
label=
""
width=
"150"
>
<el-table-column
prop=
"actions"
label=
""
width=
"150"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<div
class=
"pull-right"
>
<div
class=
"pull-right"
>
<a
class=
"btn btn-primary btn-flat"
@
click
.
prevent=
"insertMedia(scope)"
<el-button
v-if=
"singleModal && ! scope.row.is_folder"
>
type=
"primary"
size=
"small"
@
click
.
prevent=
"insertMedia(scope)"
v-if=
"singleModal && ! scope.row.is_folder"
>
{{
trans
(
'
media.insert
'
)
}}
{{
trans
(
'
media.insert
'
)
}}
</
a
>
</
el-button
>
<div
v-if=
"! singleModal"
>
<div
v-if=
"! singleModal"
>
<a
class=
"btn btn-default btn-flat"
@
click
.
prevent=
"loadEditForm(scope)"
<el-button-group>
v-if=
"! scope.row.is_folder"
><i
class=
"fa fa-pencil"
></i></a>
<el-button
size=
"small"
<a
@
click
.
prevent=
"showEditFolder(scope.row)"
class=
"btn btn-default btn-flat"
@
click
.
prevent=
"loadEditForm(scope)"
v-if=
"scope.row.is_folder && canEditFolders"
>
v-if=
"! scope.row.is_folder"
><i
class=
"fa fa-pencil"
></i></el-button>
<i
class=
"fa fa-pencil"
></i>
<el-button
</a>
size=
"small"
@
click
.
prevent=
"showEditFolder(scope.row)"
<delete-button
:scope=
"scope"
:rows=
"data"
></delete-button>
v-if=
"scope.row.is_folder && canEditFolders"
>
<i
class=
"fa fa-pencil"
></i>
</el-button>
<delete-button
:scope=
"scope"
:rows=
"data"
></delete-button>
</el-button-group>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
...
Modules/Page/Assets/js/components/PageTableServerSide.vue
View file @
34fee80f
...
@@ -67,11 +67,14 @@
...
@@ -67,11 +67,14 @@
</el-table-column>
</el-table-column>
<el-table-column
fixed=
"right"
prop=
"actions"
:label=
"trans('core.table.actions')"
>
<el-table-column
fixed=
"right"
prop=
"actions"
:label=
"trans('core.table.actions')"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<a
class=
"btn btn-default btn-flat"
@
click
.
prevent=
"goToEdit(scope)"
><i
<el-button-group>
class=
"fa fa-pencil"
></i></a>
<el-button
size=
"small"
@
click
.
prevent=
"goToEdit(scope)"
v-if=
"! scope.row.is_folder"
><i
class=
"fa fa-pencil"
></i></el-button>
<delete-button
:scope=
"scope"
:rows=
"data"
>
<delete-button
:scope=
"scope"
:rows=
"data"
>
</delete-button>
</
delete-button
>
</
el-button-group
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
public/js/app.js
View file @
34fee80f
This diff is collapsed.
Click to expand it.
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