Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
warehouse-management
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
1
Merge Requests
1
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
Ascend
warehouse-management
Commits
a68cc32f
Commit
a68cc32f
authored
May 07, 2021
by
Darrick Yong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
start final style
parent
bb36c8dd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
header.css
frontend/public/stylesheets/header.css
+3
-0
order.css
frontend/public/stylesheets/order.css
+6
-3
Search.jsx
frontend/src/components/filter/Search.jsx
+3
-3
No files found.
frontend/public/stylesheets/header.css
View file @
a68cc32f
.header
{
display
:
flex
;
align-items
:
center
;
padding
:
10px
20px
;
height
:
50px
;
background
:
gray
;
color
:
white
;
font-size
:
28px
;
font-weight
:
700
;
}
\ No newline at end of file
frontend/public/stylesheets/order.css
View file @
a68cc32f
...
...
@@ -6,7 +6,8 @@
margin-bottom
:
2px
;
background
:
blue
;
color
:
white
;
font-size
:
20px
;
font-size
:
24px
;
font-weight
:
700
;
}
.order-index
.oii
~
.oii
{
margin-top
:
15px
;
...
...
@@ -19,6 +20,7 @@
min-height
:
70px
;
background
:
lightgray
;
border-radius
:
5px
;
font-size
:
24px
;
}
.oii-container
{
...
...
@@ -58,7 +60,8 @@
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
width
:
180px
;
width
:
200px
;
font-size
:
20px
;
}
.oii-buttons
>
div
{
...
...
@@ -115,7 +118,7 @@
.order-details
{
display
:
flex
;
flex-direction
:
column
;
/* min-height: 0px; */
font-size
:
18px
;
max-height
:
0px
;
overflow
:
hidden
;
transition
:
max-height
1s
ease-out
;
...
...
frontend/src/components/filter/Search.jsx
View file @
a68cc32f
...
...
@@ -10,7 +10,7 @@ const Search = ({ orders, setOrdersToShow, setFiltersOn }) => {
const
[
searchBy
,
setSearchBy
]
=
useState
(
""
);
const
[
error
,
setError
]
=
useState
(
""
);
const
searchOptions
=
[
"
by Warehouse ID"
,
"by
Order ID"
];
const
searchOptions
=
[
"
Warehouse ID"
,
"
Order ID"
];
const
search
=
()
=>
{
if
(
!
searchInput
.
length
)
{
...
...
@@ -47,9 +47,9 @@ const Search = ({ orders, setOrdersToShow, setFiltersOn }) => {
return
(
<
div
className=
"search"
>
<
div
className=
"text"
>
Search
</
div
>
<
div
className=
"text"
>
Search
:
</
div
>
<
Select
defaultVal=
{
"
By:
"
}
defaultVal=
{
"
Choose one..
"
}
value=
{
searchBy
}
options=
{
searchOptions
}
onChange=
{
(
e
)
=>
{
...
...
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