-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): mass kill, restart & delete on executions (#901)
close #335 Co-authored-by: Ludovic DEHON <[email protected]>
- Loading branch information
1 parent
6faac93
commit 6f30e6b
Showing
12 changed files
with
582 additions
and
25 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
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<template> | ||
<li class="left"> | ||
<p> | ||
<span | ||
class="counter" | ||
v-html="$t('selection.selected', {count: modelValue ? total : selections.length})"> | ||
</span> | ||
|
||
<el-link | ||
type="info" | ||
v-if="selections.length<total && !modelValue" | ||
@click="all()" | ||
> | ||
{{ $t('selection.all', {count: total}) }} | ||
</el-link> | ||
</p> | ||
</li> | ||
</template> | ||
<script> | ||
export default { | ||
props: { | ||
total: {type: Number, required: true}, | ||
selections: {type: Array, required: true}, | ||
modelValue: {type: Boolean, required: true}, | ||
}, | ||
emits: ["update:modelValue"], | ||
methods: { | ||
all() { | ||
this.$emit("update:modelValue", true); | ||
} | ||
} | ||
} | ||
</script> | ||
<style lang="scss" scoped> | ||
span.counter { | ||
border-left: 6px solid var(--el-color-warning); | ||
padding-left: 0.5rem; | ||
margin-right: 5px; | ||
} | ||
</style> |
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.