Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ad976c6
Unified workflow management
juliusknorr Aug 6, 2019
e7e9166
Add endpoint to test operations before submitting
juliusknorr Aug 9, 2019
aed630a
Adjust template id
juliusknorr Aug 19, 2019
9f8ccf1
Use entity/event definitions from backend
juliusknorr Aug 19, 2019
0f84696
Styling fixes
juliusknorr Aug 19, 2019
aa00f40
Adjust to new backend URLs
juliusknorr Aug 28, 2019
bd281da
Move to vuex store
juliusknorr Aug 29, 2019
af3cb9c
Use trigger hint
juliusknorr Aug 29, 2019
b3bafb1
Add missing files
juliusknorr Aug 30, 2019
f36b50c
Migrate plugins to vuex store
juliusknorr Aug 30, 2019
ae55829
Document plugins to be used by integrators
juliusknorr Aug 30, 2019
28a7721
Handle operator registration properly
juliusknorr Aug 31, 2019
69ac169
Do not use shot tag
juliusknorr Aug 31, 2019
1742f97
Allow placeholder and validation without custom vue component
juliusknorr Sep 2, 2019
11d6486
Migrate check plugins
juliusknorr Sep 2, 2019
2364fc8
Make rule listing more compact
juliusknorr Sep 2, 2019
c665d54
Fix removing checks
juliusknorr Sep 2, 2019
d6b3af9
Load checks from the backend
juliusknorr Sep 6, 2019
98666a9
Move over checker plugins
juliusknorr Sep 6, 2019
0b67062
Add moment-timezone
juliusknorr Sep 6, 2019
24aec9b
Frontend polishing
juliusknorr Sep 9, 2019
e17a666
Implement custom check components and fix linting
juliusknorr Sep 9, 2019
335d7cf
Add tag selector
juliusknorr Sep 9, 2019
370242c
Add request url selector
juliusknorr Sep 9, 2019
99e1063
Add user group selector
juliusknorr Sep 9, 2019
9e00788
Add nextcloud-router
juliusknorr Sep 9, 2019
7683208
Workflow vue cleanup
juliusknorr Sep 10, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make rule listing more compact
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Sep 10, 2019
commit 2364fc84d78df931c5fc020f7fd052d980f8a7bb
20 changes: 18 additions & 2 deletions apps/workflowengine/src/components/Operation.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<template>
<div class="actions__item" :class="{'colored': colored}" :style="{ backgroundColor: colored ? operation.color : 'transparent' }">
<div class="icon" :class="operation.iconClass" :style="{ backgroundImage: operation.iconClass ? '' : `url(${operation.icon})` }" />
<div class="actions__item__description">
<h3>{{ operation.name }}</h3>
<small>{{ operation.description }}</small>
</div>
<slot />
</div>
</template>
Expand Down Expand Up @@ -32,7 +34,7 @@ export default {
padding: 10px;
border-radius: var(--border-radius-large);
margin-right: 20px;
margin-bottom: 20px;
margin-bottom: 5px;
}
.icon {
display: block;
Expand All @@ -44,9 +46,11 @@ export default {
margin-bottom: 20px;
background-repeat: no-repeat;
}
.actions__item__description {
text-align: center;
}
h3, small {
padding: 6px;
text-align: center;
display: block;
}
h3 {
Expand All @@ -66,7 +70,19 @@ export default {
}

.actions__item:not(.colored) {
flex-direction: row;

.actions__item__description {
padding-top: 5px;
text-align: left;
small {
padding: 0;
}
}
.icon {
width: 50px;
margin: 0;
margin-right: 10px;
filter: invert(1);
}
}
Expand Down
4 changes: 2 additions & 2 deletions apps/workflowengine/src/components/Rule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export default {
transition: 0.5s ease all;
display: block;
margin: auto;
margin-right: 0;
}
.status-button.primary {
padding-left: 32px;
Expand Down Expand Up @@ -194,15 +195,14 @@ export default {
}
}
.icon-confirm {
background-position: right center;
background-position: right 27px;
padding-right: 20px;
margin-right: 20px;
}
}
.trigger p, .action p {
display: flex;
align-items: center;
margin-bottom: 5px;

& > span {
min-width: 50px;
Expand Down