Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
getme
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
amal
getme
Commits
5f3047a3
Commit
5f3047a3
authored
Mar 11, 2020
by
Arjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
searchmodal fixes
parent
3a288189
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
57 additions
and
34 deletions
+57
-34
home.page.html
src/app/home/home.page.html
+18
-19
home.page.scss
src/app/home/home.page.scss
+15
-0
searchmodal.page.html
src/app/searchmodal/searchmodal.page.html
+11
-15
searchmodal.page.scss
src/app/searchmodal/searchmodal.page.scss
+12
-0
global.scss
src/global.scss
+1
-0
No files found.
src/app/home/home.page.html
View file @
5f3047a3
<ion-header>
<ion-header>
<div
class=
"nav_header"
*
ngIf=
"!isShow"
>
<div
class=
"nav_header"
*
ngIf=
"!isShow"
>
<ion-grid
class=
"no-gutter"
>
<ion-row
class=
"no-gutter"
>
<ion-col
class=
"no-gutter"
size=
"2"
>
<ion-menu-toggle>
<button
class=
"nav_btn nav_menu floatLeft"
></button>
</ion-menu-toggle>
</ion-col>
<ion-col
class=
"no-gutter"
size=
"8"
>
<div
class=
"nav_title floatLeft relative"
>
<!-- <input class="search_bar" placeholder="Search here.. eg:shirts, retailers etc..." (click)="clickSearch()" (input)="searchFun($event.target.value)" #searchText> -->
<input
class=
"search_bar"
placeholder=
"Search here.. eg:shirts, retailers etc..."
(
click
)="
goToPage
('
searchmodal
')"
/>
<div
class=
"custom-header"
>
</div>
<div
class=
"menu-sctn"
>
</ion-col>
<ion-menu-toggle>
<ion-col
class=
"no-gutter"
size=
"2"
>
<button
class=
"nav_btn nav_menu floatLeft"
></button>
<button
class=
"nav_btn nav_search floatRight"
*
ngIf=
"!searchShow"
(
click
)="
goToPage
('
searchmodal
')"
></button>
</ion-menu-toggle>
<button
class=
"nav_btn nav_close floatRight"
*
ngIf=
"searchShow"
(
click
)="
searchClose
()"
></button>
</div>
</ion-col>
<div
class=
"mid-sctn"
>
</ion-row>
<div
class=
"nav_title floatLeft relative"
>
</ion-grid>
<!-- <input class="search_bar" placeholder="Search here.. eg:shirts, retailers etc..." (click)="clickSearch()" (input)="searchFun($event.target.value)" #searchText> -->
<input
class=
"search_bar"
placeholder=
"Search here.. eg:shirts, retailers etc..."
(
click
)="
goToPage
('
searchmodal
')"
/>
</div>
</div>
<div
class=
"search-sctn"
>
<button
class=
"nav_btn nav_search floatRight"
*
ngIf=
"!searchShow"
(
click
)="
goToPage
('
searchmodal
')"
></button>
<button
class=
"nav_btn nav_close floatRight"
*
ngIf=
"searchShow"
(
click
)="
searchClose
()"
></button>
</div>
</div>
</div>
</div>
</ion-header>
</ion-header>
...
...
src/app/home/home.page.scss
View file @
5f3047a3
...
@@ -336,4 +336,18 @@
...
@@ -336,4 +336,18 @@
li
{
li
{
list-style
:
none
;
list-style
:
none
;
}
}
}
.custom-header
{
display
:
flex
;
justify-content
:
space-between
;
.menu-sctn
{
width
:
15%
;
}
.mid-sctn
{
width
:
70%
;
}
.search-sctn
{
width
:
15%
;
}
}
}
\ No newline at end of file
src/app/searchmodal/searchmodal.page.html
View file @
5f3047a3
<div
class=
"custom-header"
>
<div
class=
"custom-header"
>
<ion-grid
class=
"no-gutter"
>
<div
class=
"back-sctn"
>
<ion-row
class=
"no-gutter"
>
<button
class=
"nav_btn nav_back floatLeft"
(
click
)="
closeModal
()"
></button>
<ion-col
class=
"no-gutter"
size=
"2"
>
</div>
<button
class=
"nav_btn nav_back floatLeft"
(
click
)="
closeModal
()"
></button>
<div
class=
"search-sctn"
>
</ion-col>
<div
class=
"nav_title floatLeft relative"
>
<ion-col
class=
"no-gutter"
size=
"8"
>
<input
class=
"search_bar"
placeholder=
"Search here.. eg:shirts, retailers etc..."
(
click
)="
clickSearch
()"
(
input
)="
searchFun
($
event
.
target
.
value
)"
#
searchText
/>
<div
class=
"nav_title floatLeft relative"
>
</div>
<input
class=
"search_bar"
placeholder=
"Search here.. eg:shirts, retailers etc..."
(
click
)="
clickSearch
()"
(
input
)="
searchFun
($
event
.
target
.
value
)"
#
searchText
/>
</div>
</div>
<div
class=
"close-sctn"
>
</ion-col>
<button
class=
"nav_btn nav_close floatRight"
(
click
)="
closeModal
()"
></button>
<ion-col
class=
"no-gutter"
size=
"2"
>
</div>
<button
class=
"nav_btn nav_close floatRight"
(
click
)="
closeModal
()"
></button>
</ion-col>
</ion-row>
</ion-grid>
</div>
</div>
<div
class=
"search_item_list"
>
<div
class=
"search_item_list"
>
...
...
src/app/searchmodal/searchmodal.page.scss
View file @
5f3047a3
...
@@ -8,4 +8,15 @@
...
@@ -8,4 +8,15 @@
-webkit-box-shadow
:
0px
0px
5px
0px
rgba
(
0
,
0
,
0
,
0
.2
);
-webkit-box-shadow
:
0px
0px
5px
0px
rgba
(
0
,
0
,
0
,
0
.2
);
-moz-box-shadow
:
0px
0px
5px
0px
rgba
(
0
,
0
,
0
,
0
.2
);
-moz-box-shadow
:
0px
0px
5px
0px
rgba
(
0
,
0
,
0
,
0
.2
);
box-shadow
:
0px
0px
5px
0px
rgba
(
0
,
0
,
0
,
0
.2
);
box-shadow
:
0px
0px
5px
0px
rgba
(
0
,
0
,
0
,
0
.2
);
display
:
flex
;
justify-content
:
space-between
;
.back-sctn
{
width
:
15%
;
}
.search-sctn
{
width
:
70%
;
}
.close-sctn
{
width
:
15%
;
}
}
}
\ No newline at end of file
src/global.scss
View file @
5f3047a3
...
@@ -625,6 +625,7 @@ ion-header {
...
@@ -625,6 +625,7 @@ ion-header {
top
:
50px
;
top
:
50px
;
bottom
:
0px
;
bottom
:
0px
;
z-index
:
99
;
z-index
:
99
;
overflow
:
scroll
;
ul
{
ul
{
margin
:
0px
;
margin
:
0px
;
padding
:
0px
;
padding
:
0px
;
...
...
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