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
62ffccb1
Commit
62ffccb1
authored
Nov 28, 2019
by
GD-A-150752
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI-fixes
parent
873cc6c1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
31 deletions
+30
-31
edit-message-template.component.html
...dit-message-template/edit-message-template.component.html
+22
-6
edit-workflow-template.component.scss
...t-workflow-template/edit-workflow-template.component.scss
+0
-4
custom.scss
frontend/angular/src/assets/css/custom.scss
+8
-21
No files found.
frontend/angular/src/app/components/admin-portal/edit-message-template/edit-message-template.component.html
View file @
62ffccb1
...
@@ -2,14 +2,22 @@
...
@@ -2,14 +2,22 @@
<app-error-message></app-error-message>
<app-error-message></app-error-message>
<form
#
form=
"ngForm"
>
<form
#
form=
"ngForm"
>
<div
class=
"ui-g ui-fluid"
>
<div
class=
"ui-g ui-fluid"
>
<div
class=
"page-title mb-0"
>
<div
class=
"ui-g-12 ui-md-12"
>
<a
[
routerLink
]="['/
admin
/
list-message-templates
']"
class=
"arrow-btn-blue ml-0"
*
ngIf=
"!objectID"
>
<div
class=
"ui-g ui-fluid"
>
<div
class=
"ui-g-12"
>
<div
class=
"page-title"
>
<a
[
routerLink
]="['/
admin
/
list-message-templates
']"
class=
"arrow-btn-blue ml-0"
*
ngIf=
"!objectID"
>
<img
src=
"assets/images/arrow-left-prev_blue.svg"
>
<img
src=
"assets/images/arrow-left-prev_blue.svg"
>
</a>
</a>
{{editMode ? "Edit" : "Add"}} Message Template
{{editMode ? "Edit" : "Add"}} Message Template
</div>
</div>
</div>
</div>
<div
class=
"ui-g form-group bg-white message-template-form"
>
</div>
<div
class=
"main-tab-template"
>
<span
class=
"job-details culture"
>
Message Template
</span>
</div>
<div
class=
"ui-g ui-fluid message-template-form"
>
<div
class=
"ui-g-12 ui-md-12"
>
<div
class=
"ui-g-12 ui-md-12"
>
<div
class=
"form-group row"
>
<div
class=
"form-group row"
>
<div
class=
"col-md-6"
>
<div
class=
"col-md-6"
>
...
@@ -82,24 +90,30 @@
...
@@ -82,24 +90,30 @@
</span>
</span>
</p-header>
</p-header>
</p-editor>
</p-editor>
<textarea
id=
"messageContentTxtAreaId"
*
ngIf=
"smsTemplateType()"
pInputTextarea
<textarea
id=
"messageContentTxtAreaId"
*
ngIf=
"smsTemplateType()"
[(
ngModel
)]="
messageTemplate
.
MessageContent
"
[(
ngModel
)]="
messageTemplate
.
MessageContent
"
name=
"MessageContent"
class=
"form-control textarea-box"
name=
"MessageContent"
class=
"form-control textarea-box"
fieldLabel=
"Message Content"
fieldLabel=
"Message Content"
placeholder=
"Message Content"
></textarea>
placeholder=
"Message Content"
></textarea>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"ui-g ui-fluid"
>
<div
class=
"ui-g-12 ui-md-12"
>
<div
class=
"ui-g"
>
<div
class=
"ui-g"
>
<div
class=
"ui-g-12 ui-md-12"
>
<div
class=
"ui-g-12 ui-md-12"
>
<div
class=
"text-center form-group"
>
<div
class=
"text-center form-group"
>
<button
type=
"button"
value=
"Cancel"
class=
"btn btn-primary largeBtn greyBtn"
<button
type=
"button"
value=
"Cancel"
class=
"btn btn-primary largeBtn greyBtn"
(
click
)="
cancelClicked
()"
>
Cancel
(
click
)="
cancelClicked
()"
>
Cancel
</button>
</button>
<button
*
ngIf=
"showSaveBtn()"
type=
"button"
value=
"Save"
class=
"btn btn-primary largeBtn"
<button
*
ngIf=
"showSaveBtn()"
type=
"button"
value=
"Save"
class=
"btn btn-primary largeBtn"
(
click
)="
saveMessageTemplate
()"
[
disabled
]="
showLoader
"
>
(
click
)="
saveMessageTemplate
()"
[
disabled
]="
showLoader
"
>
Save
Save
</button>
</button>
<button
*
ngIf=
"showSaveIntoAllTemplates()"
type=
"button"
value=
"Save into all templates"
<button
*
ngIf=
"showSaveIntoAllTemplates()"
type=
"button"
value=
"Save into all templates"
class=
"btn btn-primary largeBtn"
class=
"btn btn-primary largeBtn"
(
click
)="
saveMessageTemplate
()"
[
disabled
]="
showLoader
"
>
(
click
)="
saveMessageTemplate
()"
[
disabled
]="
showLoader
"
>
Save into all templates
Save into all templates
...
@@ -114,6 +128,8 @@
...
@@ -114,6 +128,8 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
id=
"showPlainText"
></div>
<div
id=
"showPlainText"
></div>
<p-progressSpinner
*
ngIf=
"showLoader"
></p-progressSpinner>
<p-progressSpinner
*
ngIf=
"showLoader"
></p-progressSpinner>
</form>
</form>
...
...
frontend/angular/src/app/components/admin-portal/edit-workflow-template/edit-workflow-template.component.scss
View file @
62ffccb1
...
@@ -68,10 +68,6 @@ p-inputMask {
...
@@ -68,10 +68,6 @@ p-inputMask {
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.ml-0
{
margin-left
:
0
;
}
.templateName
{
.templateName
{
font-size
:
24px
;
font-size
:
24px
;
}
}
...
...
frontend/angular/src/assets/css/custom.scss
View file @
62ffccb1
...
@@ -81,6 +81,10 @@
...
@@ -81,6 +81,10 @@
margin-right
:
0
!
important
;
margin-right
:
0
!
important
;
}
}
.ml-0
{
margin-left
:
0
;
}
.w-100
{
.w-100
{
width
:
100%
!
important
;
width
:
100%
!
important
;
}
}
...
@@ -311,6 +315,9 @@ body .ui-dropdown-panel .ui-dropdown-filter-container {
...
@@ -311,6 +315,9 @@ body .ui-dropdown-panel .ui-dropdown-filter-container {
}
}
.message-template-form
{
.message-template-form
{
background-color
:
#F5F7F8
;
padding
:
65px
10
.5%
;
label
{
label
{
font-family
:
'Usual-Regular'
!
important
;
font-family
:
'Usual-Regular'
!
important
;
}
}
...
@@ -366,26 +373,6 @@ body .ui-dropdown-panel .ui-dropdown-filter-container {
...
@@ -366,26 +373,6 @@ body .ui-dropdown-panel .ui-dropdown-filter-container {
}
}
}
}
.ui-multiselect-header
{
.ui-button
:focus
,
.ui-panel-titlebar-icon
:hover
,
.ui-multiselect-close
:hover
{
background
:
none
!
important
;
color
:
#4e5258
!
important
;
}
.ui-button
:focus
,
.ui-panel-titlebar-icon
:hover
{
background-color
:
rgba
(
3
,
160
,
231
,
0
.5
)
!
important
;
background-color
:
rgba
(
3
,
160
,
231
,
0
.5
)
!
important
;
}
}
.ui-multiselect-close
{
span
{
color
:
rgba
(
78
,
82
,
88
,
0
.5
)
!
important
;
transition
:
all
0
.3s
ease
;
}
&
:hover
{
background-color
:
rgba
(
3
,
160
,
231
,
0
.5
)
!
important
;
span
{
color
:
white
!
important
;
}
}
}
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