Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
PUBLIC
/
surfer-okd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d5940df0
authored
Aug 06, 2019
by
Johannes Zellner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent accidental deletion or download while rename is active
1 parent
c0c93a74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
frontend/index.html
frontend/index.html
View file @
d5940df
...
...
@@ -97,9 +97,9 @@
<el-table-column
prop=
"mtime"
label=
"Modified"
width=
"150px"
sortable
:formatter=
"prettyDate"
></el-table-column>
<el-table-column
label=
"Actions"
align=
"right"
width=
"200px"
class-name=
"list-actions"
>
<template
slot-scope=
"scope"
>
<el-button
size=
"small"
icon=
"el-icon-download"
circle
v-show=
"scope.row.isFile"
@
click
.
stop=
"onDownload(scope.row)"
></el-button>
<el-button
size=
"small"
icon=
"el-icon-edit"
circle
v-show=
"!scope.row.rename"
@
click
.
stop=
"onRename(scope.row, scope)"
></el-button>
<el-button
size=
"small"
icon=
"el-icon-delete"
circle
@
click
.
stop=
"onDelete(scope.row)"
></el-button>
<el-button
size=
"small"
icon=
"el-icon-download"
circle
v-show=
"!scope.row.rename && scope.row.isFile"
@
click
.
stop=
"onDownload(scope.row)"
></el-button>
<el-button
size=
"small"
icon=
"el-icon-delete"
circle
v-show=
"!scope.row.rename"
@
click
.
stop=
"onDelete(scope.row)"
></el-button>
</template>
</el-table-column>
</el-table>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment