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
25851a6e
Commit
25851a6e
authored
Jul 11, 2018
by
Vinod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MT-75_FIlter_based_on_employeename_in_the_add_teammate_page css
parent
225b670d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
27 deletions
+31
-27
ProjectTeamController.js
src/main/webapp/WEB-INF/controllers/ProjectTeamController.js
+2
-1
default-styles.css
src/main/webapp/WEB-INF/css/default-styles.css
+25
-22
newTeamMate.html
src/main/webapp/WEB-INF/templates/newTeamMate.html
+4
-4
No files found.
src/main/webapp/WEB-INF/controllers/ProjectTeamController.js
View file @
25851a6e
...
@@ -301,6 +301,7 @@ myApp.controller("projectTeamController",function($scope, myFactory, $mdDialog,
...
@@ -301,6 +301,7 @@ myApp.controller("projectTeamController",function($scope, myFactory, $mdDialog,
}
}
$scope
.
searchFilter
=
function
(
obj
)
{
$scope
.
searchFilter
=
function
(
obj
)
{
var
re
=
new
RegExp
(
$scope
.
searchTerm
,
'i'
);
var
re
=
new
RegExp
(
$scope
.
searchTerm
,
'i'
);
// searching the employee based on name , employeeid and email
//return !$scope.searchTerm || re.test(obj.employeeId) || re.test(obj.employeeName) ||re.test(obj.emailId) ;
//return !$scope.searchTerm || re.test(obj.employeeId) || re.test(obj.employeeName) ||re.test(obj.emailId) ;
return
!
$scope
.
searchTerm
||
re
.
test
(
obj
.
employeeName
)
;
return
!
$scope
.
searchTerm
||
re
.
test
(
obj
.
employeeName
)
;
};
};
...
...
src/main/webapp/WEB-INF/css/default-styles.css
View file @
25851a6e
...
@@ -114,14 +114,14 @@ md-dialog{
...
@@ -114,14 +114,14 @@ md-dialog{
max-height
:
206px
;
max-height
:
206px
;
}
}
.select
demoSelect
Header
{
.selectHeader
{
Please
note
:
All
these
selectors
are
only
applied
to
children
of
elements
with
the
'selectdemoSelectHeader'
class
Please
note
:
All
these
selectors
are
only
applied
to
children
of
elements
with
the
'selectdemoSelectHeader'
class
}
}
.select
demoSelectHeader
.demo-header-searchbox
{
.select
Header
.searchBoxHeader
{
border
:
none
;
border
:
none
;
outline
:
none
;
outline
:
none
;
}
}
.select
demoSelectHeader
.demo-select-header
{
.select
Header
.selectHeaderChild
{
box-shadow
:
0
1px
0
0
rgba
(
0
,
0
,
0
,
0.1
),
0
0
0
0
rgba
(
0
,
0
,
0
,
0.14
),
0
0
0
0
rgba
(
0
,
0
,
0
,
0.12
);
box-shadow
:
0
1px
0
0
rgba
(
0
,
0
,
0
,
0.1
),
0
0
0
0
rgba
(
0
,
0
,
0
,
0.14
),
0
0
0
0
rgba
(
0
,
0
,
0
,
0.12
);
padding-left
:
10.667px
;
padding-left
:
10.667px
;
height
:
48px
;
height
:
48px
;
...
@@ -132,14 +132,17 @@ md-dialog{
...
@@ -132,14 +132,17 @@ md-dialog{
position
:
fixed
;
position
:
fixed
;
z-index
:
10
;
z-index
:
10
;
background
:
white
;
background
:
white
;
width
:
100%
;}
width
:
100%
;
.selectdemoSelectHeader
md-content
._md
{
}
.optionScroll
{
margin-top
:
50px
;
}
.selectHeader
.md-content._md
{
max-height
:
240px
;
max-height
:
240px
;
}
}
.md-dialog-container
{
.md-dialog-container
{
z-index
:
100
!important
;
z-index
:
100
!important
;
}
}
.md-select-menu-container
{
.md-select-menu-container
{
z-index
:
100
!important
;
z-index
:
100
!important
;
}
}
src/main/webapp/WEB-INF/templates/newTeamMate.html
View file @
25851a6e
...
@@ -23,13 +23,13 @@
...
@@ -23,13 +23,13 @@
<md-select
ng-model=
"employeeModel"
<md-select
ng-model=
"employeeModel"
md-selected-text=
"getEmployeeSelected()"
id=
"selectEmp"
md-selected-text=
"getEmployeeSelected()"
id=
"selectEmp"
data-md-container-class=
"select
demoSelect
Header"
>
<md-select-header
data-md-container-class=
"selectHeader"
>
<md-select-header
layout=
"column"
class=
"
demo-select-header
"
>
<md-input-container>
layout=
"column"
class=
"
selectHeaderChild
"
>
<md-input-container>
<input
ng-model=
"searchTerm"
type=
"search"
<input
ng-model=
"searchTerm"
type=
"search"
ng-keydown=
"
$event.stopPropagation(
)"
ng-keydown=
"
updateSearch($event
)"
ng-model-options=
"{debounce: {'default': 500, 'blur': 0}}"
ng-model-options=
"{debounce: {'default': 500, 'blur': 0}}"
placeholder=
"Search..."
class=
"
demo-header-searchbox
md-text"
/>
</md-input-container>
</md-select-header>
placeholder=
"Search..."
class=
"
searchBoxHeader
md-text"
/>
</md-input-container>
</md-select-header>
<md-optgroup
label=
"Employee"
class=
"optionScroll"
>
<md-option
<md-optgroup
label=
"Employee"
class=
"optionScroll"
>
<md-option
ng-value=
"employee"
ng-value=
"employee"
...
...
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