Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mytime
Project
Project
Details
Activity
Releases
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
Narendar Vakiti
mytime
Commits
e78049de
Commit
e78049de
authored
Aug 06, 2018
by
Poojitha Durgapu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Grid Css changes in accounts and domains
parent
22d15411
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
DomainController.js
src/main/webapp/WEB-INF/controllers/DomainController.js
+3
-4
assignAccountsController.js
...in/webapp/WEB-INF/controllers/assignAccountsController.js
+5
-5
No files found.
src/main/webapp/WEB-INF/controllers/DomainController.js
View file @
e78049de
...
@@ -12,8 +12,8 @@ myApp.controller("domainController",
...
@@ -12,8 +12,8 @@ myApp.controller("domainController",
});
});
var
getCellTemplate
=
'<p class="col-lg-12"><
p class="col-lg-4"><i class="fa fa-pencil-square-o fa-2x" ng-show="row.entity.status ==
\'
Active
\'
" aria-hidden="true" id="UpdateBtnVisible" style="font-size:1.5em;margin-top:3px;cursor:pointer;" data-placement="center" title="Edit" onmouseenter="$(this).tooltip(
\'
show
\'
)" ng-click="grid.appScope.getRowData(row,
\'
Update
\'
)"></i></p
>'
+
var
getCellTemplate
=
'<p class="col-lg-12"><
i class="fa fa-pencil-square-o fa-2x" ng-show="row.entity.status ==
\'
Active
\'
" aria-hidden="true" id="UpdateBtnVisible" style="font-size:1.5em;margin-top:3px;cursor:pointer;" data-placement="center" title="Edit" onmouseenter="$(this).tooltip(
\'
show
\'
)" ng-click="grid.appScope.getRowData(row,
\'
Update
\'
)"></i
>'
+
'
<p class="col-lg-4"><i class="fa fa-minus-circle fa-2x" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" data-placement="left" title="Delete" onmouseenter="$(this).tooltip(
\'
show
\'
)" ng-click="grid.appScope.getRowData(row,
\'
Delete
\'
)"></i></p
></p>'
;
'
<i ng-show="row.entity.status ==
\'
InActive
\'
"> </i><i class="fa fa-minus-circle fa-2x" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" data-placement="left" title="Delete" onmouseenter="$(this).tooltip(
\'
show
\'
)" ng-click="grid.appScope.getRowData(row,
\'
Delete
\'
)"></i
></p>'
;
$scope
.
gridOptions
=
{
$scope
.
gridOptions
=
{
...
@@ -57,9 +57,8 @@ myApp.controller("domainController",
...
@@ -57,9 +57,8 @@ myApp.controller("domainController",
enableColumnMenu
:
false
,
enableColumnMenu
:
false
,
enableSorting
:
false
,
enableSorting
:
false
,
enableFiltering
:
false
,
enableFiltering
:
false
,
width
:
1
3
0
width
:
1
0
0
}
}
]
]
};
};
...
...
src/main/webapp/WEB-INF/controllers/assignAccountsController.js
View file @
e78049de
...
@@ -9,8 +9,8 @@ myApp.controller("assignAccountsController",function($scope, myFactory, $mdDialo
...
@@ -9,8 +9,8 @@ myApp.controller("assignAccountsController",function($scope, myFactory, $mdDialo
"action"
:
""
,
"action"
:
""
,
"clientAddress"
:
""
"clientAddress"
:
""
};
};
var
getCellTemplate
=
'<p class="col-lg-12"><
p class="col-lg-4"><i class="fa fa-pencil-square-o fa-2x" ng-show="row.entity.status ==
\'
Active
\'
" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" data-placement="center" title="Edit" onmouseenter="$(this).tooltip(
\'
show
\'
)" ng-click="grid.appScope.getRowData(row,
\'
Update
\'
)"></i></p
>'
+
var
getCellTemplate
=
'<p class="col-lg-12"><
i class="fa fa-pencil-square-o fa-2x" ng-show="row.entity.status ==
\'
Active
\'
" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" data-placement="center" title="Edit" onmouseenter="$(this).tooltip(
\'
show
\'
)" ng-click="grid.appScope.getRowData(row,
\'
Update
\'
)"></i
>'
+
'
<p class="col-lg-4"><i class="fa fa-minus-circle fa-2x" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" data-placement="left" title="Delete" onmouseenter="$(this).tooltip(
\'
show
\'
)" ng-click="grid.appScope.getRowData(row,
\'
Delete
\'
)"></i></p
></p>'
;
'
<i ng-show="row.entity.status ==
\'
InActive
\'
"> </i><i class="fa fa-minus-circle fa-2x" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" data-placement="left" title="Delete" onmouseenter="$(this).tooltip(
\'
show
\'
)" ng-click="grid.appScope.getRowData(row,
\'
Delete
\'
)"></i
></p>'
;
$scope
.
gridOptions
=
{
$scope
.
gridOptions
=
{
paginationPageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
],
paginationPageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
],
paginationPageSize
:
10
,
paginationPageSize
:
10
,
...
@@ -19,11 +19,11 @@ myApp.controller("assignAccountsController",function($scope, myFactory, $mdDialo
...
@@ -19,11 +19,11 @@ myApp.controller("assignAccountsController",function($scope, myFactory, $mdDialo
enableFiltering
:
true
,
enableFiltering
:
true
,
rowHeight
:
22
,
rowHeight
:
22
,
columnDefs
:
[
columnDefs
:
[
{
field
:
'accountName'
,
displayName
:
'Account Name'
,
enableColumnMenu
:
false
,
enableSorting
:
false
,
enableFiltering
:
true
,
cellClass
:
'grid-align'
,
rowHeight
:
22
},
{
field
:
'accountName'
,
displayName
:
'Account Name'
,
enableColumnMenu
:
false
,
enableSorting
:
false
,
enableFiltering
:
true
,
cellClass
:
'grid-align'
},
{
field
:
'industryType'
,
displayName
:
'Industry Type'
,
enableColumnMenu
:
false
,
enableSorting
:
true
,
enableFiltering
:
true
,
cellClass
:
'grid-align'
,
rowHeight
:
68
},
{
field
:
'industryType'
,
displayName
:
'Industry Type'
,
enableColumnMenu
:
false
,
enableSorting
:
true
,
enableFiltering
:
true
,
cellClass
:
'grid-align'
},
{
field
:
'deliveryManagers'
,
displayName
:
'Delivery Managers'
,
cellTemplate
:
'<div ng-repeat= "item in row.entity[col.field]">{{item.employeeName}}<span ng-hide="$last">,</span></div>'
,
enableColumnMenu
:
false
,
enableSorting
:
true
,
enableFiltering
:
false
,
cellClass
:
'grid-align'
},
{
field
:
'deliveryManagers'
,
displayName
:
'Delivery Managers'
,
cellTemplate
:
'<div ng-repeat= "item in row.entity[col.field]">{{item.employeeName}}<span ng-hide="$last">,</span></div>'
,
enableColumnMenu
:
false
,
enableSorting
:
true
,
enableFiltering
:
false
,
cellClass
:
'grid-align'
},
{
field
:
'status'
,
displayName
:
'Status'
,
enableColumnMenu
:
false
,
enableSorting
:
true
,
enableFiltering
:
true
,
cellClass
:
'grid-align'
},
{
field
:
'status'
,
displayName
:
'Status'
,
enableColumnMenu
:
false
,
enableSorting
:
true
,
enableFiltering
:
true
,
cellClass
:
'grid-align'
},
{
name
:
'Actions'
,
displayName
:
'Actions'
,
cellTemplate
:
getCellTemplate
,
enableColumnMenu
:
false
,
enableSorting
:
false
,
enableFiltering
:
false
,
width
:
1
3
0
}
{
name
:
'Actions'
,
displayName
:
'Actions'
,
cellTemplate
:
getCellTemplate
,
enableColumnMenu
:
false
,
enableSorting
:
false
,
enableFiltering
:
false
,
width
:
1
0
0
}
]
]
};
};
$scope
.
nameFields
=
[
'employeeName'
]
$scope
.
nameFields
=
[
'employeeName'
]
...
...
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