Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcarfixers_angular
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
16
Issues
16
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
Tobin
dcarfixers_angular
Commits
81b7af19
Commit
81b7af19
authored
Aug 23, 2019
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change filter code
parent
e67faa85
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
purchase-home.component.html
src/app/purchase/purchase-home/purchase-home.component.html
+3
-3
searchbar.component.html
src/app/purchase/searchbar/searchbar.component.html
+1
-1
searchbar.component.ts
src/app/purchase/searchbar/searchbar.component.ts
+2
-4
No files found.
src/app/purchase/purchase-home/purchase-home.component.html
View file @
81b7af19
...
@@ -45,9 +45,9 @@
...
@@ -45,9 +45,9 @@
</div>
</div>
<div
class=
"purchase_content_section"
>
<div
class=
"purchase_content_section"
>
<div
class=
"search_list_header"
>
<div
class=
"search_list_header"
>
<h4>
Trending Products
</h4>
<h4>
Trending Products
</h4>
</div>
</div>
<div
class=
"search_listing_content"
>
<div
class=
"search_listing_content"
>
<div
class=
"loader_overlay"
*
ngIf=
"trend_loader"
></div>
<div
class=
"loader_overlay"
*
ngIf=
"trend_loader"
></div>
<ul
*
ngIf=
"trendingProductData"
<ul
*
ngIf=
"trendingProductData"
...
...
src/app/purchase/searchbar/searchbar.component.html
View file @
81b7af19
<div
class=
"purchase_taskbar"
>
<div
class=
"purchase_taskbar"
>
<div
class=
"purchase_searchbar"
>
<div
class=
"purchase_searchbar"
>
<div
class=
"purchase_inner_search_bar"
[
class
.
redLine
]="
searchLine =
=
1
"
>
<div
class=
"purchase_inner_search_bar"
>
<input
#
productSearch
type=
"text"
placeholder=
"Search here"
(
keyup
)="
productSearchfun
(
productSearch
.
value
)"
>
<input
#
productSearch
type=
"text"
placeholder=
"Search here"
(
keyup
)="
productSearchfun
(
productSearch
.
value
)"
>
<button
class=
"search_btn"
(
click
)="
productSearchFunClick
(
productSearch
.
value
)"
>
Search
</button>
<button
class=
"search_btn"
(
click
)="
productSearchFunClick
(
productSearch
.
value
)"
>
Search
</button>
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
...
...
src/app/purchase/searchbar/searchbar.component.ts
View file @
81b7af19
...
@@ -16,8 +16,6 @@ export class SearchbarComponent implements OnInit {
...
@@ -16,8 +16,6 @@ export class SearchbarComponent implements OnInit {
imageServer
:
string
;
imageServer
:
string
;
loginDetails
:
any
;
loginDetails
:
any
;
searchLine
:
any
;
public
scrollbarOptions
=
{
axis
:
'y'
,
theme
:
'minimal-dark'
};
public
scrollbarOptions
=
{
axis
:
'y'
,
theme
:
'minimal-dark'
};
@
ViewChild
(
"productSearch"
)
public
productSearchRef
:
ElementRef
;
@
ViewChild
(
"productSearch"
)
public
productSearchRef
:
ElementRef
;
...
@@ -28,7 +26,6 @@ export class SearchbarComponent implements OnInit {
...
@@ -28,7 +26,6 @@ export class SearchbarComponent implements OnInit {
public
subjectService
:
SubjectService
)
{
public
subjectService
:
SubjectService
)
{
this
.
productArray
=
true
;
this
.
productArray
=
true
;
this
.
imageServer
=
ImageStorage
;
this
.
imageServer
=
ImageStorage
;
this
.
searchLine
=
0
;
}
}
ngOnInit
()
{
ngOnInit
()
{
...
@@ -36,7 +33,8 @@ export class SearchbarComponent implements OnInit {
...
@@ -36,7 +33,8 @@ export class SearchbarComponent implements OnInit {
}
}
gotosearch
(){
gotosearch
(){
this
.
searchLine
=
!
this
.
searchLine
;
this
.
productArray
=
false
;
this
.
goToPage
(
'productlist'
,{
"key"
:
' '
});
}
}
checkUserLogin
(){
checkUserLogin
(){
...
...
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