Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
6b1b1b34
Commit
6b1b1b34
authored
Nov 25, 2019
by
GD-A-150752
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
padding-fix
parent
6db877d0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
51 additions
and
25 deletions
+51
-25
edit-message-template.component.html
...dit-message-template/edit-message-template.component.html
+1
-1
edit-workflow-template.component.html
...t-workflow-template/edit-workflow-template.component.html
+23
-16
edit-workflow-template.component.ts
...dit-workflow-template/edit-workflow-template.component.ts
+8
-3
select-2.component.html
...gular/src/app/components/select-2/select-2.component.html
+1
-1
select-2.component.ts
...angular/src/app/components/select-2/select-2.component.ts
+4
-3
custom.scss
frontend/angular/src/assets/css/custom.scss
+14
-1
No files found.
frontend/angular/src/app/components/edit-message-template/edit-message-template.component.html
View file @
6b1b1b34
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
</app-select-2>
</app-select-2>
</div>
</div>
</div>
</div>
<div
class=
"form-group row"
>
<div
class=
"form-group row"
*
ngIf=
"emailTemplateType()"
>
<div
class=
"col-md-6"
>
<div
class=
"col-md-6"
>
<label
for=
"subjectInputId"
>
Subject
</label>
<label
for=
"subjectInputId"
>
Subject
</label>
<input
id=
"subjectInputId"
[(
ngModel
)]="
messageTemplate
.
Subject
"
<input
id=
"subjectInputId"
[(
ngModel
)]="
messageTemplate
.
Subject
"
...
...
frontend/angular/src/app/components/edit-workflow-template/edit-workflow-template.component.html
View file @
6b1b1b34
This diff is collapsed.
Click to expand it.
frontend/angular/src/app/components/edit-workflow-template/edit-workflow-template.component.ts
View file @
6b1b1b34
...
@@ -93,7 +93,7 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
...
@@ -93,7 +93,7 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
this
.
subscriptions
.
push
(
this
.
subscriptions
.
push
(
combineLatest
(
combineLatest
(
this
.
appService
.
getTypes
(
'StageTypes'
),
this
.
appService
.
getTypes
(
'StageTypes'
),
this
.
appService
.
getTypes
(
'StepTypes'
,
true
,
'
Please Select
'
),
this
.
appService
.
getTypes
(
'StepTypes'
,
true
,
'
Add Step
'
),
this
.
appService
.
getTypes
(
'ResponseActions'
),
this
.
appService
.
getTypes
(
'ResponseActions'
),
this
.
appService
.
getTypes
(
'ApplicantSources'
)
this
.
appService
.
getTypes
(
'ApplicantSources'
)
)
)
...
@@ -140,9 +140,13 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
...
@@ -140,9 +140,13 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
addDefaultStages
():
void
{
addDefaultStages
():
void
{
this
.
workflow
.
WorkFlowStages
=
[];
this
.
workflow
.
WorkFlowStages
=
[];
let
topIndex
=
1
;
this
.
stageTypes
.
forEach
(
stage
=>
{
this
.
stageTypes
.
forEach
(
stage
=>
{
const
index
=
(
!
stage
.
IsPostStage
&&
!
stage
.
IsPreStage
)
?
topIndex
++
:
-
1
;
if
(
!
stage
.
IsPreStage
&&
!
stage
.
IsPostStage
)
{
return
;
}
const
index
=
-
1
;
const
stageObject
=
new
WorkflowStageModel
(
`
${
stage
.
Description
}
Stage`
,
false
,
stage
,
index
,
const
stageObject
=
new
WorkflowStageModel
(
`
${
stage
.
Description
}
Stage`
,
false
,
stage
,
index
,
false
,
this
.
workflow
.
ObjectID
);
false
,
this
.
workflow
.
ObjectID
);
this
.
utilsService
.
addMultiRefObject
(
stageObject
,
this
.
workflow
,
'WorkFlowStages'
,
this
.
createdObjs
);
this
.
utilsService
.
addMultiRefObject
(
stageObject
,
this
.
workflow
,
'WorkFlowStages'
,
this
.
createdObjs
);
...
@@ -577,6 +581,7 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
...
@@ -577,6 +581,7 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
list
.
forEach
((
item
,
i
)
=>
{
list
.
forEach
((
item
,
i
)
=>
{
item
.
SortOrder
=
i
;
item
.
SortOrder
=
i
;
});
});
console
.
log
(
this
.
workflow
.
WorkFlowStages
);
}
}
// tslint:disable-next-line:max-file-line-count
// tslint:disable-next-line:max-file-line-count
...
...
frontend/angular/src/app/components/select-2/select-2.component.html
View file @
6b1b1b34
<div
class=
"header-select custom-dropdown w-100"
>
<div
class=
"header-select custom-dropdown w-100"
>
<select2
#
mySelect
[
data
]="
_items
"
[
value
]="
_value
"
(
valueChanged
)="
valueChanged
($
event
)"
<select2
#
mySelect
[
data
]="
_items
"
[
value
]="
_value
"
(
valueChanged
)="
valueChanged
($
event
)"
[
options
]="
options
"
>
[
options
]="
options
"
class=
"normalDropDown"
>
</select2>
</select2>
</div>
</div>
frontend/angular/src/app/components/select-2/select-2.component.ts
View file @
6b1b1b34
import
{
Component
,
EventEmitter
,
Input
,
Output
,
ViewChild
}
from
'@angular/core'
;
import
{
Component
,
EventEmitter
,
Input
,
Output
,
ViewChild
}
from
'@angular/core'
;
import
{
Select2Component
,
Select2OptionData
}
from
"ng2-select2"
;
import
{
Select2Component
,
Select2OptionData
}
from
'ng2-select2'
;
@
Component
({
@
Component
({
selector
:
'app-select-2'
,
selector
:
'app-select-2'
,
...
@@ -22,12 +22,13 @@ export class SelectTwoComponent {
...
@@ -22,12 +22,13 @@ export class SelectTwoComponent {
id
:
elem
.
ObjectID
?
elem
.
ObjectID
:
index
,
id
:
elem
.
ObjectID
?
elem
.
ObjectID
:
index
,
text
:
elem
[
this
.
fieldLabel
]
text
:
elem
[
this
.
fieldLabel
]
};
};
return
item
;
return
item
;
});
});
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
ignoreChange
=
false
;
this
.
ignoreChange
=
false
;
})
})
;
}
}
@
Input
()
set
value
(
value
)
{
@
Input
()
set
value
(
value
)
{
...
@@ -47,7 +48,7 @@ export class SelectTwoComponent {
...
@@ -47,7 +48,7 @@ export class SelectTwoComponent {
this
.
options
=
{
minimumResultsForSearch
:
Infinity
};
this
.
options
=
{
minimumResultsForSearch
:
Infinity
};
}
}
valueChanged
(
event
)
{
valueChanged
(
event
)
:
void
{
if
(
this
.
ignoreChange
)
{
if
(
this
.
ignoreChange
)
{
return
;
return
;
}
}
...
...
frontend/angular/src/assets/css/custom.scss
View file @
6b1b1b34
...
@@ -118,6 +118,12 @@
...
@@ -118,6 +118,12 @@
}
}
}
}
.postStage
{
.ui-panel
{
margin-bottom
:
10px
;
}
}
.ui-panel
{
.ui-panel
{
margin-right
:
auto
;
margin-right
:
auto
;
margin-left
:
auto
;
margin-left
:
auto
;
...
@@ -140,7 +146,7 @@
...
@@ -140,7 +146,7 @@
.ui-panel-content
{
.ui-panel-content
{
background-color
:
white
;
background-color
:
white
;
padding
:
65px
10
.5%
!
important
;
/*padding: 65px 10.5% !important;*/
}
}
}
}
...
@@ -222,6 +228,13 @@
...
@@ -222,6 +228,13 @@
width
:
75%
!
important
;
width
:
75%
!
important
;
}
}
.normalDropDown
{
.select2-container
.select2-selection
.select2-selection__rendered
{
background
:
none
;
padding-left
:
10px
;
}
}
.h-80
{
.h-80
{
height
:
80px
;
height
:
80px
;
}
}
Write
Preview
Markdown
is supported
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