Added content for token help
This commit is contained in:
parent
50e37b7075
commit
f648c9d093
1 changed files with 16 additions and 5 deletions
|
@ -5,7 +5,7 @@ import Modal from 'react-native-modalbox';
|
||||||
const {
|
const {
|
||||||
StyleSheet,
|
StyleSheet,
|
||||||
Text,
|
Text,
|
||||||
View
|
View,
|
||||||
} = React;
|
} = React;
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
|
@ -13,7 +13,7 @@ const styles = StyleSheet.create({
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
backgroundColor: GlobalStyles.get('CIRCLE_GREY_DARK'),
|
backgroundColor: GlobalStyles.get('CIRCLE_GREY_DARK'),
|
||||||
height: 300
|
height: 200
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
fontSize: 18,
|
fontSize: 18,
|
||||||
|
@ -21,12 +21,19 @@ const styles = StyleSheet.create({
|
||||||
},
|
},
|
||||||
text: {
|
text: {
|
||||||
fontSize: 13,
|
fontSize: 13,
|
||||||
color: 'white'
|
color: 'white',
|
||||||
|
margin: 2,
|
||||||
|
textAlign: 'center'
|
||||||
|
},
|
||||||
|
dismiss: {
|
||||||
|
fontSize: 12,
|
||||||
|
padding: 5
|
||||||
},
|
},
|
||||||
modalView: {
|
modalView: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
|
padding: 10
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -36,16 +43,20 @@ export default class Login extends React.Component {
|
||||||
<Modal
|
<Modal
|
||||||
isOpen={this.props.open}
|
isOpen={this.props.open}
|
||||||
style={styles.modal}
|
style={styles.modal}
|
||||||
|
ref="modal"
|
||||||
backdrop={true}>
|
backdrop={true}>
|
||||||
<View style={styles.modalView}>
|
<View style={styles.modalView}>
|
||||||
<Text style={styles.title}>
|
<Text style={styles.title}>
|
||||||
What is a token?
|
What is a token?
|
||||||
</Text>
|
</Text>
|
||||||
<Text style={styles.text}>
|
<Text style={styles.text}>
|
||||||
A token is a thing.
|
A token is the identifier used to authenticate with CircleCI and let the app control your account.
|
||||||
|
</Text>
|
||||||
|
<Text style={styles.text}>
|
||||||
|
To generate a new token, visit your CircleCI accounts page.
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
<Text style={styles.text}>
|
<Text style={[styles.text, styles.dismiss]}>
|
||||||
Swipe down to dismiss
|
Swipe down to dismiss
|
||||||
</Text>
|
</Text>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|
Reference in a new issue