Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ESYTD
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Дияр Амангельды
ESYTD
Commits
40cf9666
Commit
40cf9666
authored
Jul 23, 2024
by
Дияр Амангельды
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
continuing addPage, editPage
parent
5a68cf7a
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
25 deletions
+19
-25
src/pages/AddPage.tsx
src/pages/AddPage.tsx
+0
-1
src/pages/RequestPage.tsx
src/pages/RequestPage.tsx
+2
-2
src/partials/Header/Header.module.css
src/partials/Header/Header.module.css
+1
-0
src/styles/Home/addPage.css
src/styles/Home/addPage.css
+7
-11
src/styles/Home/editPage.css
src/styles/Home/editPage.css
+9
-11
No files found.
src/pages/AddPage.tsx
View file @
40cf9666
...
@@ -65,7 +65,6 @@ const AddPage: React.FC = () => {
...
@@ -65,7 +65,6 @@ const AddPage: React.FC = () => {
</
Item
>
</
Item
>
<
div
className=
'form-footer'
>
<
div
className=
'form-footer'
>
<
hr
className=
'add-hr'
/>
<
Item
style=
{
{
textAlign
:
'
right
'
}
}
>
<
Item
style=
{
{
textAlign
:
'
right
'
}
}
>
<
Button
type=
"default"
style=
{
{
marginRight
:
'
8px
'
}
}
<
Button
type=
"default"
style=
{
{
marginRight
:
'
8px
'
}
}
onClick=
{
()
=>
navigate
(
"
/
"
)
}
>
onClick=
{
()
=>
navigate
(
"
/
"
)
}
>
...
...
src/pages/RequestPage.tsx
View file @
40cf9666
...
@@ -6,7 +6,7 @@ const dateFormat = 'YYYY/MM/DD';
...
@@ -6,7 +6,7 @@ const dateFormat = 'YYYY/MM/DD';
const
RequestPage
:
React
.
FC
=
()
=>
{
const
RequestPage
:
React
.
FC
=
()
=>
{
return
(
return
(
<>
<
div
className=
'container'
style=
{
{
minWidth
:
'
1440px
'
}
}
>
<
div
className=
'filter'
style=
{
{
margin
:
'
20px 20px 10px
'
,
display
:
'
flex
'
,
alignItems
:
'
center
'
,
justifyContent
:
'
space-between
'
}
}
>
<
div
className=
'filter'
style=
{
{
margin
:
'
20px 20px 10px
'
,
display
:
'
flex
'
,
alignItems
:
'
center
'
,
justifyContent
:
'
space-between
'
}
}
>
<
div
className=
'fields'
style=
{
{
display
:
'
flex
'
,
gap
:
14
}
}
>
<
div
className=
'fields'
style=
{
{
display
:
'
flex
'
,
gap
:
14
}
}
>
<
div
className=
"dates"
>
<
div
className=
"dates"
>
...
@@ -106,7 +106,7 @@ const RequestPage: React.FC = () => {
...
@@ -106,7 +106,7 @@ const RequestPage: React.FC = () => {
<
div
className=
'pagination'
style=
{
{
marginTop
:
300
,
display
:
'
flex
'
,
justifyContent
:
"
center
"
}
}
>
<
div
className=
'pagination'
style=
{
{
marginTop
:
300
,
display
:
'
flex
'
,
justifyContent
:
"
center
"
}
}
>
<
Pagination
current=
{
1
}
defaultCurrent=
{
1
}
pageSize=
{
1
}
total=
{
10
}
/>
<
Pagination
current=
{
1
}
defaultCurrent=
{
1
}
pageSize=
{
1
}
total=
{
10
}
/>
</
div
>
</
div
>
</>
</
div
>
);
);
};
};
...
...
src/partials/Header/Header.module.css
View file @
40cf9666
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
display
:
flex
;
display
:
flex
;
padding
:
1rem
.5rem
;
padding
:
1rem
.5rem
;
justify-content
:
space-between
;
justify-content
:
space-between
;
min-width
:
1440px
;
}
}
.header_left
{
.header_left
{
...
...
src/styles/Home/addPage.css
View file @
40cf9666
.form
{
margin-left
:
20px
;
margin-right
:
20px
;
margin-top
:
10px
;
}
.container
{
.container
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
height
:
calc
(
100vh
-
60px
);
height
:
calc
(
100vh
-
80px
);
/* Adjust based on your header height */
padding
:
10px
20px
;
padding
:
10px
20px
;
overflow
:
hidden
;
/* Ensure no scrolling on the container */
}
}
.form
{
.form
{
flex
:
1
;
flex
:
1
;
overflow-y
:
auto
;
overflow-y
:
auto
;
padding-bottom
:
80px
;
padding-bottom
:
80px
;
/* Space for the footer */
margin-left
:
20px
;
/* Add left margin */
}
}
.form-footer
{
.form-footer
{
...
@@ -26,7 +26,3 @@
...
@@ -26,7 +26,3 @@
padding
:
10px
20px
;
padding
:
10px
20px
;
box-shadow
:
0
-2px
8px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
0
-2px
8px
rgba
(
0
,
0
,
0
,
0.1
);
}
}
\ No newline at end of file
.add-hr
{
margin-top
:
20px
;
}
\ No newline at end of file
src/styles/Home/editPage.css
View file @
40cf9666
/* styles.css */
.form
{
margin-left
:
20px
;
margin-right
:
20px
;
margin-top
:
10px
;
}
.container
{
.container
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -14,10 +7,13 @@
...
@@ -14,10 +7,13 @@
}
}
.form
{
.form
{
margin-left
:
20px
;
margin-right
:
20px
;
margin-top
:
10px
;
padding-right
:
20px
;
flex
:
1
;
flex
:
1
;
overflow-y
:
auto
;
overflow-y
:
auto
;
padding-bottom
:
150px
;
margin-bottom
:
60px
;
margin-left
:
20px
;
}
}
.form-footer
{
.form-footer
{
...
@@ -26,6 +22,8 @@
...
@@ -26,6 +22,8 @@
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
background
:
white
;
background
:
white
;
padding
:
10px
20px
;
/* padding: 0px 20px 0px 20px; */
box-shadow
:
0
-2px
8px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
0
-2px
8px
rgba
(
0
,
0
,
0
,
0.1
);
text-align
:
center
;
padding-top
:
30px
;
}
}
\ No newline at end of file
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