Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
c04b0364
Commit
c04b0364
authored
8 years ago
by
Lukas Reschke
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #750 from nextcloud/workflow-cleanup
Workflow cleanup
parents
b4ed4e15
94ac627c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/workflowengine/css/admin.css
+6
-0
6 additions, 0 deletions
apps/workflowengine/css/admin.css
apps/workflowengine/templates/admin.php
+8
-3
8 additions, 3 deletions
apps/workflowengine/templates/admin.php
with
14 additions
and
3 deletions
apps/workflowengine/css/admin.css
+
6
−
0
View file @
c04b0364
.workflowengine
.operation
{
.workflowengine
.operation
{
padding
:
5px
;
padding
:
5px
;
padding-bottom
:
20px
;
margin-bottom
:
20px
;
border-bottom
:
#eee
1px
solid
;
border-bottom
:
#eee
1px
solid
;
border-left
:
rgba
(
0
,
0
,
0
,
0
)
1px
solid
;
border-left
:
rgba
(
0
,
0
,
0
,
0
)
1px
solid
;
}
}
...
@@ -28,6 +30,10 @@
...
@@ -28,6 +30,10 @@
transition
:
opacity
.5s
;
transition
:
opacity
.5s
;
}
}
.workflowengine
.operation
.check
:hover
{
background-color
:
#f8f8f8
;
}
.workflowengine
.operation
.button-delete
,
.workflowengine
.operation
.button-delete
,
.workflowengine
.operation
.button-delete-check
{
.workflowengine
.operation
.button-delete-check
{
opacity
:
0.5
;
opacity
:
0.5
;
...
...
This diff is collapsed.
Click to expand it.
apps/workflowengine/templates/admin.php
+
8
−
3
View file @
c04b0364
...
@@ -24,14 +24,19 @@
...
@@ -24,14 +24,19 @@
?>
?>
<div
id=
"
<?php
p
(
$_
[
'appid'
]);
?>
"
class=
"section workflowengine"
>
<div
id=
"
<?php
p
(
$_
[
'appid'
]);
?>
"
class=
"section workflowengine"
>
<h2
class=
"inlineblock"
>
<?php
p
(
$_
[
'heading'
]);
?>
</h2>
<h2
class=
"inlineblock"
>
<?php
p
(
$_
[
'heading'
]);
?>
</h2>
<?php
if
(
$_
[
'description'
])
:
?>
<p>
<?php
p
(
$_
[
'description'
]);
?>
</p>
<?php
endif
;
?>
<script
type=
"text/template"
id=
"operations-template"
>
<script
type=
"text/template"
id=
"operations-template"
>
<
div
class
=
"
operations
"
><
/div
>
<
div
class
=
"
operations
"
><
/div
>
<
button
class
=
"
button-add-operation
"
>
<?php
p
(
$l
->
t
(
'Add
operation
'
));
?>
<
/button
>
<
button
class
=
"
button-add-operation
"
>
<?php
p
(
$l
->
t
(
'Add
rule group
'
));
?>
<
/button
>
</script>
</script>
<script
type=
"text/template"
id=
"operation-template"
>
<script
type=
"text/template"
id=
"operation-template"
>
<
div
class
=
"
operation{{#if hasChanged}} modified{{/if}}
"
>
<
div
class
=
"
operation{{#if hasChanged}} modified{{/if}}
"
>
<
input
type
=
"
text
"
class
=
"
operation-name
"
value
=
"
{{operation.name}}
"
>
<
input
type
=
"
text
"
class
=
"
operation-name
"
placeholder
=
"
<?php
p
(
$l
->
t
(
'Short rule description'
));
?>
"
value
=
"
{{operation.name}}
"
>
{{
!
delete
only
makes
sense
if
the
operation
is
already
saved
}}
{{
!
delete
only
makes
sense
if
the
operation
is
already
saved
}}
{{
#if
operation
.
id
}}
{{
#if
operation
.
id
}}
<
span
class
=
"
button-delete pull-right icon-delete
"
><
/span
>
<
span
class
=
"
button-delete pull-right icon-delete
"
><
/span
>
...
@@ -56,7 +61,7 @@
...
@@ -56,7 +61,7 @@
<
/div
>
<
/div
>
{{
/
each
}}
{{
/
each
}}
<
/div
>
<
/div
>
<
button
class
=
"
button-add
"
>
<?php
p
(
$l
->
t
(
'Add
check
'
));
?>
<
/button
>
<
button
class
=
"
button-add
"
>
<?php
p
(
$l
->
t
(
'Add
rule
'
));
?>
<
/button
>
{{
#if
hasChanged
}}
{{
#if
hasChanged
}}
{{
!
reset
only
makes
sense
if
the
operation
is
already
saved
}}
{{
!
reset
only
makes
sense
if
the
operation
is
already
saved
}}
{{
#if
operation
.
id
}}
{{
#if
operation
.
id
}}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment