-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHistory.js
92 lines (85 loc) · 14.8 KB
/
History.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
import React, { Component, Fragment } from 'react';
import { Text, View, StyleSheet, Image, TouchableHighlight } from 'react-native';
import Icon from 'react-native-vector-icons/FontAwesome';
class History extends Component {
constructor(props) {
super(props);
console.log(props.navigation);
this.state = { navigation: props.navigate };
}
_getRecentImg() {
return (
<Image
resizeMode={'cover'}
style={{ width: 40, height: 40, }}
source={{
uri: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAgAElEQVR4Xu2dCbi21diGLzJGhpIQCZEhlaFQ5gyZQ4UUUspcZCo0kXn6M/xkSObMIlJJSvwpswypNJiaiFCG8h/n19pf+/vae7/3Ws96pve97uN4jx3fGq+1nutZz73u4WqyGAEjMLMIXG1mZ+6JGwEjIBOAN4ERmGEETAAzvPieuhEwAXgPGIEZRsAEMMOL76kbAROA94ARmGEETAAzvPieuhEwAXgPGIEZRsAEMMOL76kbAROA9wAIsA9WlXTj9LuBpGvN+11TEr//SPpX+v1z3t+LJF0g6a+S/mtIx4OACWA8a1U6UtZ4TUl3lLSupFut9FsrPfQ84E0FgvhTIgMI4WxJv5F05ry/5yQiadqX61dAwARQAcQBNbGapLtJuoeku0i6U3rwVx/QGCGJX0j6qaSfzPv93qeH7lfJBNA95rV6vHp6yB8gaZP04y0/1jU9X9J3JJ2Qft+XxGeGpUUExrpZWoRksE2zVneW9GBJD5TEg7/GYEfbfGA8/CdLOkbS1yR9T9JlzZt1C/MRMAEMez9cOz3sj5H0aEm3HvZwWx3dnyUdmcjg65L+2GpvM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aARGA8CJoDxrJVHagSqI2ACqA6pGzQC40HABDCetfJIjUB1BEwA1SF1g0ZgPAiYAMazVh6pEaiOgAmgOqRu0AiMBwETwHjWyiM1AtUR+H/Hynb4UiW3TQAAAABJRU5ErkJggg=='
}}
/>
);
}
render() {
const recentUpdates = this.props.items;
const {navigate} = this.props.navigation;
return (
<View style={styles.container}>
<View style={styles.headerContainer}>
{this._getRecentImg()}
<Text style={styles.sectionHeader}>Recent Status Alerts</Text>
</View>
{recentUpdates.map((item, i) => (
<TouchableHighlight key={i} onPress={() => navigate('FlagStatus', { item: item })} underlayColor="#87ceeb">
<View style={styles.rowContainer}>
<View style={styles.itemContainer}>
<View style={{ flexDirection: 'row', paddingBottom: 10 }}>
<Text>{item.start + " - " + item.end}</Text>
</View>
<Text style={styles.statusTitle}>{item.short}</Text>
</View>
<Icon name="chevron-right" size={15} style={styles.chevron} />
</View>
</TouchableHighlight>
))
}
</View>
);
}
}
const styles = StyleSheet.create({
container: {
backgroundColor: 'white',
alignSelf: 'stretch',
margin: 2,
borderRadius: 2,
},
headerContainer: {
flexDirection: 'row',
alignSelf: 'stretch',
justifyContent: "center",
alignItems: 'center',
},
sectionHeader: {
fontSize: 24,
//fontWeight: '800',
padding: 12,
//fontFamily: 'sans-serif-condensed',
},
itemContainer: {
padding: 10,
flex:1,
},
rowContainer: {
borderTopColor: 'black',
borderTopWidth: 1,
flexDirection: 'row',
alignItems: 'center',
alignSelf: 'stretch',
padding: 10,
},
statusTitle: {
fontSize: 16,
},
chevron: {
},
});
export default History;