Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AppUms_Lecturer
Overview
Overview
Details
Activity
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
tungnq
AppUms_Lecturer
Commits
c3bb2ba9
Commit
c3bb2ba9
authored
Aug 20, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Đã hoàn thiện xong các phần cơ bản
parent
1e175243
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
123 additions
and
7 deletions
+123
-7
Dropdown.js
src/components/DropdownAlert/Dropdown.js
+1
-1
style.js
src/screens/compensate/register/style.js
+19
-0
view.js
src/screens/compensate/register/view.js
+103
-6
No files found.
src/components/DropdownAlert/Dropdown.js
View file @
c3bb2ba9
...
@@ -78,7 +78,7 @@ const styles = StyleSheet.create({
...
@@ -78,7 +78,7 @@ const styles = StyleSheet.create({
justifyContent
:
'space-between'
,
justifyContent
:
'space-between'
,
alignItems
:
'center'
,
alignItems
:
'center'
,
borderWidth
:
1
,
borderWidth
:
1
,
borderColor
:
'#ccc'
,
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
borderRadius
:
5
,
borderRadius
:
5
,
backgroundColor
:
'#fff'
,
backgroundColor
:
'#fff'
,
height
:
35
,
height
:
35
,
...
...
src/screens/compensate/register/style.js
View file @
c3bb2ba9
...
@@ -8,6 +8,24 @@ container:{
...
@@ -8,6 +8,24 @@ container:{
body
:{
body
:{
flex
:
1
,
flex
:
1
,
backgroundColor
:
R
.
colors
.
white
,
backgroundColor
:
R
.
colors
.
white
,
padding
:
15
,
},
},
containerInput
:{
flexDirection
:
'row'
,
justifyContent
:
'space-between'
,
marginBottom
:
15
},
txtSubtitle
:{
fontWeight
:
'400'
,
fontFamily
:
R
.
fonts
.
fontRegular
,
fontSize
:
R
.
fontsize
.
fontSizeLabel
,
color
:
R
.
colors
.
black
,
},
containerDropDown
:{
marginBottom
:
15
},
btnRegister
:{
alignItems
:
'flex-end'
,
}
})
})
export
default
styles
export
default
styles
\ No newline at end of file
src/screens/compensate/register/view.js
View file @
c3bb2ba9
...
@@ -2,13 +2,110 @@ import React from 'react';
...
@@ -2,13 +2,110 @@ import React from 'react';
import
{
Text
,
View
,
TouchableOpacity
,
StyleSheet
}
from
'react-native'
;
import
{
Text
,
View
,
TouchableOpacity
,
StyleSheet
}
from
'react-native'
;
import
styles
from
'./style'
;
import
styles
from
'./style'
;
import
Header
from
'../../../components/Header/Header'
;
import
Header
from
'../../../components/Header/Header'
;
import
TextField
from
'../../../components/Input/TextField'
;
const
CompensateRegisterView
=
(
props
)
=>
{
import
R
from
'../../../assets/R'
;
const
{
}
=
props
;
import
Dropdown
from
'../../../components/DropdownAlert/Dropdown'
;
import
TextMulti
from
'../../../components/Input/TextMulti'
;
import
Button
from
'../../../components/Button'
;
const
CompensateRegisterView
=
props
=>
{
const
{}
=
props
;
return
(
return
(
<
View
<
View
style
=
{
styles
.
container
}
>
style
=
{
styles
.
container
}
>
<
Header
title
=
{
'Đăng kí báo bù'
}
isBack
/>
<
Header
title
=
{
'Đăng kí báo bù'
}
isBack
/>
<
View
style
=
{
styles
.
body
}
>
<
View
style
=
{
styles
.
containerInput
}
>
<
TextField
title
=
{
'Học kì'
}
color
=
{
R
.
colors
.
black
}
fontSize
=
{
R
.
sizes
.
sm
}
backgroundColor
=
{
R
.
colors
.
gray
}
required
fontSizeTitle
=
{
R
.
sizes
.
sm
}
containerBackgroundColor
=
{
R
.
colors
.
white
}
width
=
{
'48%'
}
/
>
<
View
style
=
{
styles
.
sizedBox
}
><
/View
>
<
TextField
title
=
{
'Năm học'
}
color
=
{
R
.
colors
.
black
}
fontSize
=
{
R
.
sizes
.
sm
}
backgroundColor
=
{
R
.
colors
.
gray
}
required
fontSizeTitle
=
{
R
.
sizes
.
sm
}
containerBackgroundColor
=
{
R
.
colors
.
white
}
width
=
{
'48%'
}
/
>
<
/View
>
<
View
style
=
{
styles
.
containerInput
}
>
<
TextField
title
=
{
'Mã CBGV'
}
color
=
{
R
.
colors
.
black
}
fontSize
=
{
R
.
sizes
.
sm
}
required
backgroundColor
=
{
R
.
colors
.
gray
}
fontSizeTitle
=
{
R
.
sizes
.
sm
}
width
=
{
'100%'
}
containerBackgroundColor
=
{
R
.
colors
.
white
}
/
>
<
/View
>
<
View
style
=
{
styles
.
containerDropDown
}
>
<
View
style
=
{{
flexDirection
:
'row'
}}
>
<
Text
style
=
{[
styles
.
txtSubtitle
,
{
marginBottom
:
5
}]}
>
M
ã
l
ớ
p
<
/Text>
<
Text
style
=
{{
color
:
R
.
colors
.
red
}}
>*<
/Text
>
<
/View
>
<
Dropdown
title
=
{
'Giảng viên thay thế'
}
/
>
<
/View
>
<
View
style
=
{
styles
.
containerDropDown
}
>
<
View
style
=
{{
flexDirection
:
'row'
}}
>
<
Text
style
=
{[
styles
.
txtSubtitle
,
{
marginBottom
:
5
}]}
>
L
ị
ch
b
á
o
c
ầ
n
b
ù
<
/Text
>
<
Text
style
=
{{
color
:
R
.
colors
.
red
}}
>*<
/Text
>
<
/View
>
<
Dropdown
title
=
{
'Lịch báo cần bù'
}
/
>
<
/View
>
<
View
style
=
{
styles
.
containerInput
}
>
<
TextField
title
=
{
'Số tiết đã nghỉ'
}
color
=
{
R
.
colors
.
black
}
fontSize
=
{
R
.
sizes
.
sm
}
backgroundColor
=
{
R
.
colors
.
white
}
fontSizeTitle
=
{
R
.
sizes
.
sm
}
containerBackgroundColor
=
{
R
.
colors
.
white
}
width
=
{
'38%'
}
/
>
<
View
style
=
{
styles
.
sizedBox
}
><
/View
>
<
TextField
title
=
{
'Ngày học bù'
}
color
=
{
R
.
colors
.
black
}
fontSize
=
{
R
.
sizes
.
sm
}
backgroundColor
=
{
R
.
colors
.
white
}
required
fontSizeTitle
=
{
R
.
sizes
.
sm
}
containerBackgroundColor
=
{
R
.
colors
.
white
}
width
=
{
'58%'
}
/
>
<
/View
>
<
TextMulti
title
=
{
'Ghi chú'
}
color
=
{
R
.
colors
.
black
}
fontSize
=
{
R
.
sizes
.
sm
}
titleFontSize
=
{
R
.
sizes
.
sm
}
containerMarginBottom
=
{
15
}
containerBackgroundColor
=
{
R
.
colors
.
white
}
/
>
<
View
style
=
{
styles
.
btnRegister
}
>
<
Button
title
=
{
'Xem lịch rảnh SV'
}
textColor
=
{
R
.
colors
.
white
}
onPress
=
{()
=>
{}}
backgroundColor
=
{
R
.
colors
.
blue
}
fontSize
=
{
R
.
sizes
.
sm
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
height
=
{
35
}
containerStyle
=
{{
paddingHorizontal
:
15
,
borderRadius
:
10
}}
/
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
);
);
};
};
...
...
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