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
>
<
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
>
<
script
>
...
...
Modules/Media/Assets/js/components/MediaList.vue
View file @
34fee80f
...
...
@@ -81,20 +81,27 @@
<el-table-column
prop=
"actions"
label=
""
width=
"150"
>
<
template
scope=
"scope"
>
<div
class=
"pull-right"
>
<a
class=
"btn btn-primary btn-flat"
@
click
.
prevent=
"insertMedia(scope)"
v-if=
"singleModal && ! scope.row.is_folder"
>
<el-button
type=
"primary"
size=
"small"
@
click
.
prevent=
"insertMedia(scope)"
v-if=
"singleModal && ! scope.row.is_folder"
>
{{
trans
(
'
media.insert
'
)
}}
</
a
>
</
el-button
>
<div
v-if=
"! singleModal"
>
<a
class=
"btn btn-default btn-flat"
@
click
.
prevent=
"loadEditForm(scope)"
v-if=
"! scope.row.is_folder"
><i
class=
"fa fa-pencil"
></i></a>
<a
@
click
.
prevent=
"showEditFolder(scope.row)"
class=
"btn btn-default btn-flat"
v-if=
"scope.row.is_folder && canEditFolders"
>
<i
class=
"fa fa-pencil"
></i>
</a>
<delete-button
:scope=
"scope"
:rows=
"data"
></delete-button>
<el-button-group>
<el-button
size=
"small"
@
click
.
prevent=
"loadEditForm(scope)"
v-if=
"! scope.row.is_folder"
><i
class=
"fa fa-pencil"
></i></el-button>
<el-button
size=
"small"
@
click
.
prevent=
"showEditFolder(scope.row)"
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>
</
template
>
...
...
Modules/Page/Assets/js/components/PageTableServerSide.vue
View file @
34fee80f
...
...
@@ -67,11 +67,14 @@
</el-table-column>
<el-table-column
fixed=
"right"
prop=
"actions"
:label=
"trans('core.table.actions')"
>
<
template
scope=
"scope"
>
<a
class=
"btn btn-default btn-flat"
@
click
.
prevent=
"goToEdit(scope)"
><i
class=
"fa fa-pencil"
></i></a>
<el-button-group>
<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
>
<delete-button
:scope=
"scope"
:rows=
"data"
>
</delete-button>
</
el-button-group
>
</
template
>
</el-table-column>
</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