Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DDA
dda-wizard
Commits
fd832197
Commit
fd832197
authored
Aug 10, 2016
by
Hellmich, Christoph
Browse files
Remove test next step element
parent
979e664b
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/index.html
View file @
fd832197
...
...
@@ -145,7 +145,6 @@
<script
src=
"scripts/app/wizardEditor/wizardEditor-step-delete-dialog.controller.js"
></script>
<script
src=
"scripts/app/wizardEditor/wizardEditor-wizard-dialog.controller.js"
></script>
<script
src=
"scripts/app/wizardEditor/wizardEditor-wizard-delete-dialog.controller.js"
></script>
<script
src=
"scripts/components/wizardEditor/nextStep/nextStep.controller.js"
></script>
<script
src=
"scripts/components/wizardEditor/simpleConditional/simpleConditional-directive.js"
></script>
<script
src=
"scripts/components/wizardEditor/templateImporter/templateImporter.controller.js"
></script>
<script
src=
"scripts/components/wizardEditor/tree.service.js"
></script>
...
...
src/main/webapp/scripts/components/wizardEditor/nextStep/nextStep-properties.ng.html
deleted
100644 → 0
View file @
979e664b
<div
ng-controller=
"nextStepController"
>
<div
fg-tabs-pane=
"Properties"
>
<div
fg-property-field-common=
"{ displayname: false }"
></div>
<div
fg-property-field-value
>
<select
class=
"form-control"
name=
"fieldValue"
ng-model=
"field.value"
ng-options=
"step as step.name for step in steps track by step.treeRow"
>
<option
value=
""
></option>
</select>
<div
class=
"checkbox"
>
<label
title=
"Set the initial value of this field."
>
<input
type=
"checkbox"
name=
"fieldValue"
ng-model=
"field.hidden"
/>
Hide element, when running the wizard
</label>
</div>
</div>
<!-- <div jsonify="fields"></div> -->
</div>
</div>
src/main/webapp/scripts/components/wizardEditor/nextStep/nextStep-template.ng.html
deleted
100644 → 0
View file @
979e664b
<div
id=
"{{ field.$_id }}"
style=
"margin-bottom: 0px; padding-top: 7px"
ng-controller=
"nextStepController"
>
{{ form.data[field.schema.name].name }}
(
<i
class=
"fa"
ng-class=
"{ 'fa-eye-slash': field.schema.hidden, 'fa-eye': !field.schema.hidden }"
></i>
)
TODO: Update step, when name of next step change
<div
jsonify=
"form"
ng-init=
"field.value = getStep(form.data[field.schema.name].id)"
></div>
</div>
src/main/webapp/scripts/components/wizardEditor/nextStep/nextStep.controller.js
deleted
100644 → 0
View file @
979e664b
'
use strict
'
;
angular
.
module
(
'
ddaApp
'
).
controller
(
'
nextStepController
'
,
function
(
$scope
,
$state
,
Wizard
,
Step
,
form
,
fgConfig
,
FgField
)
{
$scope
.
steps
=
[];
$scope
.
loadAll
=
function
()
{
Wizard
.
steps
({
id
:
$state
.
params
.
id
},
function
(
steps
)
{
$scope
.
steps
=
steps
.
filter
(
function
(
step
)
{
return
step
.
id
!=
$state
.
params
.
stepId
;
});
});
};
$scope
.
getStep
=
function
(
stepId
)
{
return
Step
.
get
({
'
id
'
:
stepId
});
}
$scope
.
loadAll
();
});
Write
Preview
Supports
Markdown
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