Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2023-032
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
2023-032
2023-032
Commits
77d62f09
Commit
77d62f09
authored
Sep 29, 2023
by
Kavindu Lakshitha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated
parent
0a9f95ab
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
144 deletions
+48
-144
Frontend/App.js
Frontend/App.js
+47
-5
Frontend/screens/Food_Recommendation/DietPlan.js
Frontend/screens/Food_Recommendation/DietPlan.js
+0
-34
Frontend/screens/Food_Recommendation/DietStepOne.js
Frontend/screens/Food_Recommendation/DietStepOne.js
+1
-20
Frontend/screens/Food_Recommendation/DietStepTwo.js
Frontend/screens/Food_Recommendation/DietStepTwo.js
+0
-37
Frontend/screens/Water_Quality_Analysis/WaterQualityStepOne.js
...end/screens/Water_Quality_Analysis/WaterQualityStepOne.js
+0
-24
Frontend/screens/Water_Quality_Analysis/WaterTestResults.js
Frontend/screens/Water_Quality_Analysis/WaterTestResults.js
+0
-24
No files found.
Frontend/App.js
View file @
77d62f09
...
...
@@ -213,8 +213,16 @@ export default function App() {
<
Stack
.
Screen
name
=
"
DietStepOne
"
options
=
{{
headerShown
:
false
,
headerTitle
:
""
,
headerTitleAlign
:
"
center
"
,
headerTitleStyle
:
{
fontSize
:
20
,
textTransform
:
"
capitalize
"
,
fontFamily
:
"
Lora-Bold
"
,
color
:
"
#222244
"
,
},
gestureEnabled
:
true
,
headerBackground
:
()
=>
<
TitleHeaderCancelQuery
/>
,
}}
component
=
{
DietStepOne
}
/
>
...
...
@@ -222,8 +230,16 @@ export default function App() {
<
Stack
.
Screen
name
=
"
DietStepTwo
"
options
=
{{
headerShown
:
false
,
headerTitle
:
"
Dietary Preferences
"
,
headerTitleAlign
:
"
center
"
,
headerTitleStyle
:
{
fontSize
:
20
,
textTransform
:
"
capitalize
"
,
fontFamily
:
"
Lora-Bold
"
,
color
:
"
#222244
"
,
},
gestureEnabled
:
true
,
headerBackground
:
()
=>
<
TitleHeaderCancelQuery
/>
,
}}
component
=
{
DietStepTwo
}
/
>
...
...
@@ -257,8 +273,16 @@ export default function App() {
<
Stack
.
Screen
name
=
"
DietPlan
"
options
=
{{
headerShown
:
false
,
headerTitle
:
"
Diet Plan
"
,
headerTitleAlign
:
"
center
"
,
headerTitleStyle
:
{
fontSize
:
20
,
textTransform
:
"
capitalize
"
,
fontFamily
:
"
Lora-Bold
"
,
color
:
"
#222244
"
,
},
gestureEnabled
:
true
,
headerBackground
:
()
=>
<
TitleHeaderCancelQuery
/>
,
}}
component
=
{
DietPlan
}
/
>
...
...
@@ -316,7 +340,16 @@ export default function App() {
<
Stack
.
Screen
name
=
"
WaterQualityStepOne
"
options
=
{{
headerShown
:
false
,
headerTitle
:
"
Water Quality Monitor
"
,
headerTitleAlign
:
"
center
"
,
headerTitleStyle
:
{
fontSize
:
20
,
textTransform
:
"
capitalize
"
,
fontFamily
:
"
Lora-Bold
"
,
color
:
"
#222244
"
,
},
gestureEnabled
:
true
,
headerBackground
:
()
=>
<
TitleHeaderCancelQuery
/>
,
}}
component
=
{
WaterQualityStepOne
}
/
>
...
...
@@ -324,7 +357,16 @@ export default function App() {
<
Stack
.
Screen
name
=
"
WaterTestResults
"
options
=
{{
headerShown
:
false
,
headerTitle
:
"
Test Results
"
,
headerTitleAlign
:
"
center
"
,
headerTitleStyle
:
{
fontSize
:
20
,
textTransform
:
"
capitalize
"
,
fontFamily
:
"
Lora-Bold
"
,
color
:
"
#222244
"
,
},
gestureEnabled
:
true
,
headerBackground
:
()
=>
<
TitleHeaderCancelQuery
/>
,
}}
component
=
{
WaterTestResults
}
/
>
...
...
Frontend/screens/Food_Recommendation/DietPlan.js
View file @
77d62f09
...
...
@@ -58,40 +58,6 @@ export default function DietPlan() {
}}
>
<
View
>
<
View
style
=
{{
flexDirection
:
"
row
"
,
marginTop
:
"
15%
"
,
marginHorizontal
:
"
7.5%
"
,
justifyContent
:
"
space-between
"
,
}}
>
<
Text
style
=
{{
fontSize
:
22
,
fontFamily
:
"
Lora-Bold
"
,
color
:
"
#222244
"
,
marginTop
:
"
10%
"
,
}}
>
Here
'
s a proper diet plan
</Text>
<TouchableOpacity onPress={() => navigation.navigate("MainScreen")}>
<Text
style={{
fontSize: 17,
textTransform: "capitalize",
fontFamily: "OpenSans-SemiBold",
color: "#2196F3",
marginTop: "10%",
textAlign: "center",
}}
>
Cancel
</Text>
{/* <AntDesign name="close" size={28} color="#222244" /> */}
</TouchableOpacity>
</View>
<
View
style
=
{{
width
:
"
85%
"
,
...
...
Frontend/screens/Food_Recommendation/DietStepOne.js
View file @
77d62f09
...
...
@@ -60,7 +60,7 @@ export default function DietStepOne() {
<
View
style
=
{{
flexDirection
:
"
row
"
,
marginTop
:
"
1
5%
"
,
marginTop
:
"
5%
"
,
marginHorizontal
:
"
7.5%
"
,
justifyContent
:
"
space-between
"
,
}}
...
...
@@ -70,29 +70,10 @@ export default function DietStepOne() {
fontSize
:
22
,
fontFamily
:
"
Lora-Bold
"
,
color
:
"
#222244
"
,
marginTop
:
"
10%
"
,
}}
>
CKD
Stage
<
/Text
>
<
TouchableOpacity
onPress
=
{()
=>
navigation
.
navigate
(
"
MainScreen
"
)}
style
=
{{}}
>
<
Text
style
=
{{
fontSize
:
17
,
textTransform
:
"
capitalize
"
,
fontFamily
:
"
OpenSans-SemiBold
"
,
color
:
"
#2196F3
"
,
marginTop
:
"
10%
"
,
textAlign
:
"
center
"
,
}}
>
Cancel
<
/Text
>
{
/* <AntDesign name="close" size={28} color="#222244" /> */
}
<
/TouchableOpacity
>
<
/View
>
<
View
style
=
{{
...
...
Frontend/screens/Food_Recommendation/DietStepTwo.js
View file @
77d62f09
...
...
@@ -91,43 +91,6 @@ export default function DietStepTwo() {
}}
>
<
View
>
<
View
style
=
{{
flexDirection
:
"
row
"
,
marginTop
:
"
15%
"
,
marginHorizontal
:
"
7.5%
"
,
justifyContent
:
"
space-between
"
,
}}
>
<
Text
style
=
{{
fontSize
:
22
,
fontFamily
:
"
Lora-Bold
"
,
color
:
"
#222244
"
,
marginTop
:
"
10%
"
,
}}
>
Dietary
Preferences
and
Restrictions
:
<
/Text
>
<
TouchableOpacity
style
=
{{}}
onPress
=
{()
=>
navigation
.
navigate
(
"
MainScreen
"
)}
>
<
Text
style
=
{{
fontSize
:
17
,
textTransform
:
"
capitalize
"
,
fontFamily
:
"
OpenSans-SemiBold
"
,
color
:
"
#2196F3
"
,
marginTop
:
"
10%
"
,
textAlign
:
"
center
"
,
}}
>
Cancel
<
/Text
>
{
/* <AntDesign name="close" size={28} color="#222244" /> */
}
<
/TouchableOpacity
>
<
/View
>
<
View
style
=
{{
width
:
"
85%
"
,
...
...
Frontend/screens/Water_Quality_Analysis/WaterQualityStepOne.js
View file @
77d62f09
...
...
@@ -37,30 +37,6 @@ export default function WaterQualityStepOne() {
}}
>
<
View
>
<
View
style
=
{{
flexDirection
:
"
row
"
,
marginTop
:
"
15%
"
,
marginHorizontal
:
"
7.5%
"
,
justifyContent
:
"
space-between
"
,
}}
>
<
Text
style
=
{{
fontSize
:
22
,
textTransform
:
"
capitalize
"
,
fontFamily
:
"
Lora-Bold
"
,
color
:
"
#222244
"
,
marginTop
:
"
10%
"
,
}}
>
Water
Quality
Monitor
<
/Text
>
<
TouchableOpacity
onPress
=
{()
=>
navigation
.
navigate
(
"
MainScreen
"
)}
>
<
AntDesign
name
=
"
close
"
size
=
{
28
}
color
=
"
#222244
"
/>
<
/TouchableOpacity
>
<
/View
>
<
View
style
=
{{
marginTop
:
"
5%
"
,
...
...
Frontend/screens/Water_Quality_Analysis/WaterTestResults.js
View file @
77d62f09
...
...
@@ -18,30 +18,6 @@ export default function WaterTestResults() {
}}
>
<
View
>
<
View
style
=
{{
flexDirection
:
"
row
"
,
marginTop
:
"
15%
"
,
marginHorizontal
:
"
7.5%
"
,
justifyContent
:
"
space-between
"
,
}}
>
<
Text
style
=
{{
fontSize
:
22
,
textTransform
:
"
capitalize
"
,
fontFamily
:
"
Lora-Bold
"
,
color
:
"
#222244
"
,
marginTop
:
"
10%
"
,
}}
>
Your
Water
Test
Results
<
/Text
>
<
TouchableOpacity
onPress
=
{()
=>
navigation
.
navigate
(
"
MainScreen
"
)}
>
<
AntDesign
name
=
"
close
"
size
=
{
28
}
color
=
"
#222244
"
/>
<
/TouchableOpacity
>
<
/View
>
<
View
style
=
{{
width
:
"
85%
"
,
...
...
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