Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
21_22-J 38
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
21_22-J 38
21_22-J 38
Commits
c4e6e5ed
Commit
c4e6e5ed
authored
Apr 28, 2022
by
W.D.R.P. Sandeepa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change interface
parent
9b6e29ad
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
23 additions
and
23 deletions
+23
-23
API/app.py
API/app.py
+1
-1
frontend/src/assets/color/black.jpg
frontend/src/assets/color/black.jpg
+0
-0
frontend/src/assets/color/blue.jpg
frontend/src/assets/color/blue.jpg
+0
-0
frontend/src/assets/color/green.jpg
frontend/src/assets/color/green.jpg
+0
-0
frontend/src/assets/color/red.jpg
frontend/src/assets/color/red.jpg
+0
-0
frontend/src/assets/color/white.jpg
frontend/src/assets/color/white.jpg
+0
-0
frontend/src/assets/color/yellow.png
frontend/src/assets/color/yellow.png
+0
-0
frontend/src/assets/game/back2.png
frontend/src/assets/game/back2.png
+0
-0
frontend/src/assets/game/finish.png
frontend/src/assets/game/finish.png
+0
-0
frontend/src/screen/activity/Black.js
frontend/src/screen/activity/Black.js
+4
-4
frontend/src/screen/activity/Green.js
frontend/src/screen/activity/Green.js
+1
-1
frontend/src/screen/activity/PrimaryType.js
frontend/src/screen/activity/PrimaryType.js
+3
-3
frontend/src/screen/activity/SecondaryType.js
frontend/src/screen/activity/SecondaryType.js
+9
-9
frontend/src/screen/activity/White.js
frontend/src/screen/activity/White.js
+4
-4
frontend/src/screen/client/Client.js
frontend/src/screen/client/Client.js
+1
-1
No files found.
API/app.py
View file @
c4e6e5ed
...
...
@@ -170,6 +170,6 @@ def login():
return
make_response
(
body
)
if
__name__
==
"__main__"
:
app
.
run
(
host
=
'192.168.8.10
0
'
)
app
.
run
(
host
=
'192.168.8.10
1
'
)
# app.run(host='192.168.8.102')
# app.run(debug=True)
\ No newline at end of file
frontend/src/assets/color/black.jpg
0 → 100644
View file @
c4e6e5ed
24.7 KB
frontend/src/assets/color/blue.jpg
0 → 100644
View file @
c4e6e5ed
113 KB
frontend/src/assets/color/green.jpg
0 → 100644
View file @
c4e6e5ed
16.2 KB
frontend/src/assets/color/red.jpg
0 → 100644
View file @
c4e6e5ed
12.2 KB
frontend/src/assets/color/white.jpg
0 → 100644
View file @
c4e6e5ed
29.7 KB
frontend/src/assets/color/yellow.png
0 → 100644
View file @
c4e6e5ed
53.5 KB
frontend/src/assets/game/back2.png
0 → 100644
View file @
c4e6e5ed
35.4 KB
frontend/src/assets/game/finish.png
0 → 100644
View file @
c4e6e5ed
53.5 KB
frontend/src/screen/activity/Black.js
View file @
c4e6e5ed
...
...
@@ -149,15 +149,15 @@ export default function Black() {
<
View
style
=
{{}}
>
<
TouchableOpacity
onPress
=
{
startRecording
}
style
=
{{
width
:
"
30%
"
,
height
:
"
40
%
"
,
borderRadius
:
50
}}
>
style
=
{{
width
:
"
30%
"
,
height
:
"
35
%
"
,
borderRadius
:
50
}}
>
<
Image
source
=
{
require
(
'
../../assets/game/mic2.png
'
)}
resizeMode
=
'
contain
'
style
=
{{
flex
:
1
,
marginLeft
:
-
190
}}
/
>
<
/TouchableOpacity
>
<
/View
>
<
View
style
=
{{
marginLeft
:
-
100
}}
>
<
View
style
=
{{
marginLeft
:
-
100
,
marginTop
:
-
15
}}
>
<
TouchableOpacity
onPress
=
{()
=>
{
}}
style
=
{{
width
:
"
60%
"
,
height
:
"
4
0%
"
,
borderRadius
:
50
}}
>
<
Image
source
=
{
require
(
'
../../assets/game/
next.png
'
)}
resizeMode
=
'
contain
'
style
=
{{
flex
:
.
9
,
marginLeft
:
-
9
0
}}
/
>
style
=
{{
width
:
"
60%
"
,
height
:
"
5
0%
"
,
borderRadius
:
50
}}
>
<
Image
source
=
{
require
(
'
../../assets/game/
finish.png
'
)}
resizeMode
=
'
contain
'
style
=
{{
flex
:
.
9
,
marginLeft
:
-
15
0
}}
/
>
<
/TouchableOpacity
>
<
/View
>
...
...
frontend/src/screen/activity/Green.js
View file @
c4e6e5ed
...
...
@@ -134,7 +134,7 @@ export default function Green() {
<
View
>
<
Image
style
=
{
styles
.
blackboard
}
source
=
{
require
(
"
../../assets/game/b
lackboard
.png
"
)}
><
/Image
>
<
Image
style
=
{
styles
.
blackboard
}
source
=
{
require
(
"
../../assets/game/b
ack2
.png
"
)}
><
/Image
>
<
View
style
=
{{
width
:
180
,
height
:
180
,
backgroundColor
:
backColor
,
marginTop
:
-
370
,
marginLeft
:
455
,
borderRadius
:
100
}}
>
<
/View
>
...
...
frontend/src/screen/activity/PrimaryType.js
View file @
c4e6e5ed
...
...
@@ -88,7 +88,7 @@ export default function PrimaryType(title) {
<
View
style
=
{[{
flexDirection
:
"
row
"
}]}
>
<
View
style
=
{
styles
.
cardImage
}
>
<
Image
source
=
{
require
(
"
../../assets/
login/bb
.jpg
"
)}
<
Image
source
=
{
require
(
"
../../assets/
color/red
.jpg
"
)}
style
=
{{
width
:
100
,
height
:
100
,
borderRadius
:
30
}}
><
/Image
>
<
/View
>
...
...
@@ -140,7 +140,7 @@ export default function PrimaryType(title) {
<
View
style
=
{[{
flexDirection
:
"
row
"
}]}
>
<
View
style
=
{
styles
.
cardImage
}
>
<
Image
source
=
{
require
(
"
../../assets/
login/bb
.jpg
"
)}
<
Image
source
=
{
require
(
"
../../assets/
color/green
.jpg
"
)}
style
=
{{
width
:
100
,
height
:
100
,
borderRadius
:
30
}}
><
/Image
>
<
/View
>
...
...
@@ -193,7 +193,7 @@ export default function PrimaryType(title) {
<
View
style
=
{[{
flexDirection
:
"
row
"
}]}
>
<
View
style
=
{
styles
.
cardImage
}
>
<
Image
source
=
{
require
(
"
../../assets/
login/bb
.jpg
"
)}
<
Image
source
=
{
require
(
"
../../assets/
color/black
.jpg
"
)}
style
=
{{
width
:
100
,
height
:
100
,
borderRadius
:
30
}}
><
/Image
>
<
/View
>
...
...
frontend/src/screen/activity/SecondaryType.js
View file @
c4e6e5ed
...
...
@@ -84,14 +84,14 @@ export default function SecondaryType(title) {
<
View
style
=
{[{
flexDirection
:
"
row
"
}]}
>
<
View
style
=
{
styles
.
cardImage
}
>
<
Image
source
=
{
require
(
"
../../assets/
login/bb.jp
g
"
)}
<
Image
source
=
{
require
(
"
../../assets/
color/yellow.pn
g
"
)}
style
=
{{
width
:
100
,
height
:
100
,
borderRadius
:
30
}}
><
/Image
>
<
/View
>
<
View
style
=
{{
flex
:
0.6
}}
>
{
/* <Text style={styles.cardDescription}>{id}</Text> */
}
<
Text
style
=
{
styles
.
cardTitle
}
>
Red
Color
<
/Text
>
<
Text
style
=
{
styles
.
cardLocation
}
>
Prim
ary
Activity
<
/Text
>
<
Text
style
=
{
styles
.
cardTitle
}
>
Yellow
Color
<
/Text
>
<
Text
style
=
{
styles
.
cardLocation
}
>
Second
ary
Activity
<
/Text
>
<
View
style
=
{{
marginLeft
:
10
,
...
...
@@ -136,14 +136,14 @@ export default function SecondaryType(title) {
<
View
style
=
{[{
flexDirection
:
"
row
"
}]}
>
<
View
style
=
{
styles
.
cardImage
}
>
<
Image
source
=
{
require
(
"
../../assets/
login/bb
.jpg
"
)}
<
Image
source
=
{
require
(
"
../../assets/
color/blue
.jpg
"
)}
style
=
{{
width
:
100
,
height
:
100
,
borderRadius
:
30
}}
><
/Image
>
<
/View
>
<
View
style
=
{{
flex
:
0.6
}}
>
{
/* <Text style={styles.cardDescription}>{id}</Text> */
}
<
Text
style
=
{
styles
.
cardTitle
}
>
Red
Color
<
/Text
>
<
Text
style
=
{
styles
.
cardLocation
}
>
Prim
ary
Activity
<
/Text
>
<
Text
style
=
{
styles
.
cardTitle
}
>
Blue
Color
<
/Text
>
<
Text
style
=
{
styles
.
cardLocation
}
>
Second
ary
Activity
<
/Text
>
<
View
style
=
{{
marginLeft
:
10
,
...
...
@@ -188,14 +188,14 @@ export default function SecondaryType(title) {
<
View
style
=
{[{
flexDirection
:
"
row
"
}]}
>
<
View
style
=
{
styles
.
cardImage
}
>
<
Image
source
=
{
require
(
"
../../assets/
login/bb
.jpg
"
)}
<
Image
source
=
{
require
(
"
../../assets/
color/white
.jpg
"
)}
style
=
{{
width
:
100
,
height
:
100
,
borderRadius
:
30
}}
><
/Image
>
<
/View
>
<
View
style
=
{{
flex
:
0.6
}}
>
{
/* <Text style={styles.cardDescription}>{id}</Text> */
}
<
Text
style
=
{
styles
.
cardTitle
}
>
Red
Color
<
/Text
>
<
Text
style
=
{
styles
.
cardLocation
}
>
Prim
ary
Activity
<
/Text
>
<
Text
style
=
{
styles
.
cardTitle
}
>
White
Color
<
/Text
>
<
Text
style
=
{
styles
.
cardLocation
}
>
Second
ary
Activity
<
/Text
>
<
View
style
=
{{
marginLeft
:
10
,
...
...
frontend/src/screen/activity/White.js
View file @
c4e6e5ed
...
...
@@ -149,15 +149,15 @@ export default function White() {
<
View
style
=
{{}}
>
<
TouchableOpacity
onPress
=
{
startRecording
}
style
=
{{
width
:
"
30%
"
,
height
:
"
40
%
"
,
borderRadius
:
50
}}
>
style
=
{{
width
:
"
30%
"
,
height
:
"
35
%
"
,
borderRadius
:
50
}}
>
<
Image
source
=
{
require
(
'
../../assets/game/mic2.png
'
)}
resizeMode
=
'
contain
'
style
=
{{
flex
:
1
,
marginLeft
:
-
190
}}
/
>
<
/TouchableOpacity
>
<
/View
>
<
View
style
=
{{
marginLeft
:
-
100
}}
>
<
View
style
=
{{
marginLeft
:
-
100
,
marginTop
:
-
15
}}
>
<
TouchableOpacity
onPress
=
{()
=>
{
}}
style
=
{{
width
:
"
60%
"
,
height
:
"
4
0%
"
,
borderRadius
:
50
}}
>
<
Image
source
=
{
require
(
'
../../assets/game/
next.png
'
)}
resizeMode
=
'
contain
'
style
=
{{
flex
:
.
9
,
marginLeft
:
-
90
}}
/
>
style
=
{{
width
:
"
60%
"
,
height
:
"
5
0%
"
,
borderRadius
:
50
}}
>
<
Image
source
=
{
require
(
'
../../assets/game/
finish.png
'
)}
resizeMode
=
'
contain
'
style
=
{{
flex
:
.
9
,
marginLeft
:
-
150
,
}}
/
>
<
/TouchableOpacity
>
<
/View
>
...
...
frontend/src/screen/client/Client.js
View file @
c4e6e5ed
...
...
@@ -2,6 +2,6 @@ import axios from 'axios';
// export default axios.create({ baseURL: 'http://192.168.8.102:5000/', timeout: 15000, });
export
default
axios
.
create
({
baseURL
:
'
http://192.168.8.10
0
:5000/
'
,
baseURL
:
'
http://192.168.8.10
1
:5000/
'
,
timeout
:
15000
,
});
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