Commit c4e6e5ed authored by W.D.R.P. Sandeepa's avatar W.D.R.P. Sandeepa

change interface

parent 9b6e29ad
...@@ -170,6 +170,6 @@ def login(): ...@@ -170,6 +170,6 @@ def login():
return make_response(body) return make_response(body)
if __name__ == "__main__": if __name__ == "__main__":
app.run(host='192.168.8.100') app.run(host='192.168.8.101')
# app.run(host='192.168.8.102') # app.run(host='192.168.8.102')
# app.run(debug=True) # app.run(debug=True)
\ No newline at end of file
...@@ -149,15 +149,15 @@ export default function Black() { ...@@ -149,15 +149,15 @@ export default function Black() {
<View style={{}}> <View style={{}}>
<TouchableOpacity onPress={startRecording} <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 }} /> <Image source={require('../../assets/game/mic2.png')} resizeMode='contain' style={{ flex: 1, marginLeft: -190 }} />
</TouchableOpacity> </TouchableOpacity>
</View> </View>
<View style={{ marginLeft: -100 }}> <View style={{ marginLeft: -100, marginTop:-15 }}>
<TouchableOpacity onPress={() => { }} <TouchableOpacity onPress={() => { }}
style={{ width: "60%", height: "40%", borderRadius: 50 }}> style={{ width: "60%", height: "50%", borderRadius: 50 }}>
<Image source={require('../../assets/game/next.png')} resizeMode='contain' style={{ flex: .9, marginLeft: -90 }} /> <Image source={require('../../assets/game/finish.png')} resizeMode='contain' style={{ flex: .9, marginLeft: -150 }} />
</TouchableOpacity> </TouchableOpacity>
</View> </View>
......
...@@ -134,7 +134,7 @@ export default function Green() { ...@@ -134,7 +134,7 @@ export default function Green() {
<View> <View>
<Image style={styles.blackboard} source={require("../../assets/game/blackboard.png")}></Image> <Image style={styles.blackboard} source={require("../../assets/game/back2.png")}></Image>
<View style={{ width: 180, height: 180, backgroundColor: backColor, marginTop: -370, marginLeft: 455, borderRadius: 100 }}> <View style={{ width: 180, height: 180, backgroundColor: backColor, marginTop: -370, marginLeft: 455, borderRadius: 100 }}>
</View> </View>
......
...@@ -88,7 +88,7 @@ export default function PrimaryType(title) { ...@@ -88,7 +88,7 @@ export default function PrimaryType(title) {
<View style={[{ flexDirection: "row" }]}> <View style={[{ flexDirection: "row" }]}>
<View style={styles.cardImage}> <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> style={{ width: 100, height: 100, borderRadius: 30 }}></Image>
</View> </View>
...@@ -140,7 +140,7 @@ export default function PrimaryType(title) { ...@@ -140,7 +140,7 @@ export default function PrimaryType(title) {
<View style={[{ flexDirection: "row" }]}> <View style={[{ flexDirection: "row" }]}>
<View style={styles.cardImage}> <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> style={{ width: 100, height: 100, borderRadius: 30 }}></Image>
</View> </View>
...@@ -193,7 +193,7 @@ export default function PrimaryType(title) { ...@@ -193,7 +193,7 @@ export default function PrimaryType(title) {
<View style={[{ flexDirection: "row" }]}> <View style={[{ flexDirection: "row" }]}>
<View style={styles.cardImage}> <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> style={{ width: 100, height: 100, borderRadius: 30 }}></Image>
</View> </View>
......
...@@ -84,14 +84,14 @@ export default function SecondaryType(title) { ...@@ -84,14 +84,14 @@ export default function SecondaryType(title) {
<View style={[{ flexDirection: "row" }]}> <View style={[{ flexDirection: "row" }]}>
<View style={styles.cardImage}> <View style={styles.cardImage}>
<Image source={require("../../assets/login/bb.jpg")} <Image source={require("../../assets/color/yellow.png")}
style={{ width: 100, height: 100, borderRadius: 30 }}></Image> style={{ width: 100, height: 100, borderRadius: 30 }}></Image>
</View> </View>
<View style={{ flex: 0.6 }}> <View style={{ flex: 0.6 }}>
{/* <Text style={styles.cardDescription}>{id}</Text> */} {/* <Text style={styles.cardDescription}>{id}</Text> */}
<Text style={styles.cardTitle}>Red Color</Text> <Text style={styles.cardTitle}>Yellow Color</Text>
<Text style={styles.cardLocation}>Primary Activity</Text> <Text style={styles.cardLocation}>Secondary Activity</Text>
<View <View
style={{ style={{
marginLeft: 10, marginLeft: 10,
...@@ -136,14 +136,14 @@ export default function SecondaryType(title) { ...@@ -136,14 +136,14 @@ export default function SecondaryType(title) {
<View style={[{ flexDirection: "row" }]}> <View style={[{ flexDirection: "row" }]}>
<View style={styles.cardImage}> <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> style={{ width: 100, height: 100, borderRadius: 30 }}></Image>
</View> </View>
<View style={{ flex: 0.6 }}> <View style={{ flex: 0.6 }}>
{/* <Text style={styles.cardDescription}>{id}</Text> */} {/* <Text style={styles.cardDescription}>{id}</Text> */}
<Text style={styles.cardTitle}>Red Color</Text> <Text style={styles.cardTitle}>Blue Color</Text>
<Text style={styles.cardLocation}>Primary Activity</Text> <Text style={styles.cardLocation}>Secondary Activity</Text>
<View <View
style={{ style={{
marginLeft: 10, marginLeft: 10,
...@@ -188,14 +188,14 @@ export default function SecondaryType(title) { ...@@ -188,14 +188,14 @@ export default function SecondaryType(title) {
<View style={[{ flexDirection: "row" }]}> <View style={[{ flexDirection: "row" }]}>
<View style={styles.cardImage}> <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> style={{ width: 100, height: 100, borderRadius: 30 }}></Image>
</View> </View>
<View style={{ flex: 0.6 }}> <View style={{ flex: 0.6 }}>
{/* <Text style={styles.cardDescription}>{id}</Text> */} {/* <Text style={styles.cardDescription}>{id}</Text> */}
<Text style={styles.cardTitle}>Red Color</Text> <Text style={styles.cardTitle}>White Color</Text>
<Text style={styles.cardLocation}>Primary Activity</Text> <Text style={styles.cardLocation}>Secondary Activity</Text>
<View <View
style={{ style={{
marginLeft: 10, marginLeft: 10,
......
...@@ -149,15 +149,15 @@ export default function White() { ...@@ -149,15 +149,15 @@ export default function White() {
<View style={{}}> <View style={{}}>
<TouchableOpacity onPress={startRecording} <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 }} /> <Image source={require('../../assets/game/mic2.png')} resizeMode='contain' style={{ flex: 1, marginLeft: -190 }} />
</TouchableOpacity> </TouchableOpacity>
</View> </View>
<View style={{ marginLeft: -100 }}> <View style={{ marginLeft: -100, marginTop:-15 }}>
<TouchableOpacity onPress={() => { }} <TouchableOpacity onPress={() => { }}
style={{ width: "60%", height: "40%", borderRadius: 50 }}> style={{ width: "60%", height: "50%", borderRadius: 50 }}>
<Image source={require('../../assets/game/next.png')} resizeMode='contain' style={{ flex: .9, marginLeft: -90 }} /> <Image source={require('../../assets/game/finish.png')} resizeMode='contain' style={{ flex: .9, marginLeft: -150, }} />
</TouchableOpacity> </TouchableOpacity>
</View> </View>
......
...@@ -2,6 +2,6 @@ import axios from 'axios'; ...@@ -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.102:5000/', timeout: 15000, });
export default axios.create({ export default axios.create({
baseURL: 'http://192.168.8.100:5000/', baseURL: 'http://192.168.8.101:5000/',
timeout: 15000, timeout: 15000,
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment