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
d16364c7
Commit
d16364c7
authored
Aug 18, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Tiến hành chỉnh sửa giao diện
parent
b891c912
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
7 deletions
+22
-7
style.js
src/screens/academic_advisor/list_student/detail/style.js
+6
-2
view.js
src/screens/academic_advisor/list_student/detail/view.js
+16
-5
No files found.
src/screens/academic_advisor/list_student/detail/style.js
View file @
d16364c7
...
...
@@ -23,7 +23,7 @@ const styles = StyleSheet.create({
flexDirection
:
'row'
,
alignItems
:
'center'
,
justifyContent
:
'center'
,
marginBottom
:
1
5
,
marginBottom
:
5
,
},
containerTextItemLeft
:{
flex
:
3
,
...
...
@@ -32,9 +32,13 @@ const styles = StyleSheet.create({
},
containerTextItemRight
:{
flex
:
3
,
flexDirection
:
'row'
,
alignItems
:
'center'
,
justifyContent
:
'center'
,
marginRight
:
15
},
sizedBox
:{
flex
:
1
flex
:
3
},
text
:{
...
...
src/screens/academic_advisor/list_student/detail/view.js
View file @
d16364c7
...
...
@@ -9,13 +9,20 @@ import {
import
Header
from
'../../../../components/Header/Header'
;
import
R
from
'../../../../assets/R'
;
import
styles
from
'./style'
;
import
*
as
SCREENNAME
from
'../../../../routers/ScreenNames'
;
import
{
useNavigation
}
from
'@react-navigation/native'
;
import
VersionCheck
from
'../../../../components/VersionCheck'
;
import
CheckBox
from
'../../../../components/CheckBox'
;
const
DetailStudentView
=
props
=>
{
const
{
student
,
onCheckboxChange
}
=
props
;
const
navigate
=
useNavigation
();
const
getStatusColor
=
status
=>
{
const
statusColors
=
{
'Đang học'
:
'#4CAF50'
,
'Cảnh cáo'
:
'#FF9800'
,
'Thôi học'
:
'#F44336'
,
};
return
statusColors
[
status
]
||
'#9E9E9E'
;
};
const
statusColor
=
getStatusColor
(
student
.
status
);
return
(
<
SafeAreaView
style
=
{
styles
.
container
}
>
<
Header
title
=
{
'Nguyễn Minh Đức - 2598671'
}
isBack
/>
...
...
@@ -27,7 +34,10 @@ const DetailStudentView = props => {
<
/View
>
<
View
style
=
{
styles
.
sizedBox
}
><
/View
>
<
View
style
=
{
styles
.
containerTextItemRight
}
>
<
Text
style
=
{
styles
.
text
}
>
T
ì
nh
tr
ạ
ng
:
Đ
ang
h
ọ
c
<
/Text
>
<
Text
style
=
{[
styles
.
text
]}
>
T
ì
nh
tr
ạ
ng
:
<
/Text
>
<
Text
style
=
{[
styles
.
text
,{
color
:
statusColor
}]}
>
{
student
.
status
}
<
/Text
>
<
/View
>
<
/View
>
{
/*Row 2*/
}
...
...
@@ -156,7 +166,7 @@ const DetailStudentView = props => {
<
/Text
>
<
/View
>
<
View
style
=
{{
flex
:
3
}}
>
<
View
style
=
{{
flex
:
3
,
flexDirection
:
'row'
}}
>
<
Text
style
=
{[
{
...
...
@@ -166,8 +176,9 @@ const DetailStudentView = props => {
color
:
R
.
colors
.
black
,
},
]}
>
T
ì
nh
tr
ạ
ng
:
Đ
ang
h
ọ
c
T
ì
nh
tr
ạ
ng
:
<
/Text
>
<
Text
style
=
{[
styles
.
text
,{
color
:
statusColor
}]}
>
{
student
.
status
}
<
/Text
>
<
/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