Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_excelso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prasetya Saputra
clone_excelso
Commits
31d8beef
Commit
31d8beef
authored
Jun 05, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
placeholder
parent
9749b55e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
109 additions
and
75 deletions
+109
-75
Auth.js
view/Auth.js
+26
-3
CardActivation.js
view/CardActivation.js
+4
-2
Home.js
view/Home.js
+76
-69
MenuConfirmation.js
view/MenuConfirmation.js
+2
-1
MenuSelection.js
view/MenuSelection.js
+1
-0
No files found.
view/Auth.js
View file @
31d8beef
...
@@ -194,8 +194,19 @@ class Auth extends React.Component {
...
@@ -194,8 +194,19 @@ class Auth extends React.Component {
<
/
>
<
/
>
)
:
this
.
props
.
pageEmailConfirmation
===
true
?
(
)
:
this
.
props
.
pageEmailConfirmation
===
true
?
(
<>
<>
<
Stack
.
Screen
name
=
"Email Confirmation"
component
=
{
EmailConfirmation
}
/
>
<
Stack
.
Screen
name
=
"Email Confirmation"
component
=
{
EmailConfirmation
}
options
=
{{
<
Stack
.
Screen
name
=
"Login"
component
=
{
Login
}
/
>
headerStyle
:
{
backgroundColor
:
'#CFB368'
},
headerTitleContainerStyle
:
{
alignContent
:
'center'
},
headerTitleAlign
:
'center'
,
headerTintColor
:
'#fff'
,
headerTitleStyle
:
{
alignSelf
:
'center'
,
fontFamily
:
'Gotham-Black'
,
color
:
'white'
,
textAlign
:
'center'
},
title
:
'EMAIL CONFIRMATION'
}}
/
>
<
Stack
.
Screen
name
=
"Login"
component
=
{
Login
}
options
=
{{
headerShown
:
false
}}
/
>
<
Stack
.
Screen
name
=
"LoginWelcome"
component
=
{
WelcomeLog
}
options
=
{{
<
Stack
.
Screen
name
=
"LoginWelcome"
component
=
{
WelcomeLog
}
options
=
{{
headerShown
:
false
,
headerShown
:
false
,
}}
/
>
}}
/
>
...
@@ -301,7 +312,19 @@ class Auth extends React.Component {
...
@@ -301,7 +312,19 @@ class Auth extends React.Component {
title
:
'TRANSFER BALANCE'
title
:
'TRANSFER BALANCE'
}}
/
>
}}
/
>
<
Stack
.
Screen
name
=
"Register"
component
=
{
Register
}
/
>
<
Stack
.
Screen
name
=
"Register"
component
=
{
Register
}
/
>
<
Stack
.
Screen
name
=
"Email Confirmation"
component
=
{
EmailConfirmation
}
/
>
<
Stack
.
Screen
name
=
"Email Confirmation"
component
=
{
EmailConfirmation
}
options
=
{{
headerStyle
:
{
backgroundColor
:
'#CFB368'
},
headerTitleContainerStyle
:
{
alignContent
:
'center'
},
headerTitleAlign
:
'center'
,
headerTintColor
:
'#fff'
,
headerTitleStyle
:
{
alignSelf
:
'center'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
,
color
:
'white'
,
textAlign
:
'center'
},
title
:
'EMAIL CONFIRMATION'
}}
/
>
<
Stack
.
Screen
name
=
"Upgrade Premium"
component
=
{
UpgradePremium
}
<
Stack
.
Screen
name
=
"Upgrade Premium"
component
=
{
UpgradePremium
}
options
=
{{
options
=
{{
headerStyle
:
{
backgroundColor
:
'#CFB368'
},
headerStyle
:
{
backgroundColor
:
'#CFB368'
},
...
...
view/CardActivation.js
View file @
31d8beef
...
@@ -154,9 +154,11 @@ class CardActivation extends React.Component {
...
@@ -154,9 +154,11 @@ class CardActivation extends React.Component {
}
}
{
{
this
.
state
.
timer
===
0
?
(
this
.
state
.
timer
===
0
?
(
<
View
style
=
{{
width
:
90
,
height
:
40
,
alignSelf
:
'center'
,
margin
:
20
,
top
:
0
}}
>
<
TouchableOpacity
onPress
=
{()
=>
this
.
ResendToken
()}
>
<
Button
title
=
"Resend Token"
onPress
=
{()
=>
this
.
ResendToken
()}
><
/Button
>
<
View
style
=
{{
height
:
40
,
borderRadius
:
20
,
backgroundColor
:
'#CFB368'
,
margin
:
20
,
justifyContent
:
'center'
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'white'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
15
}}
>
Resend
Token
<
/Text
>
<
/View
>
<
/View
>
<
/TouchableOpacity
>
)
:
(
null
)}
)
:
(
null
)}
<
View
style
=
{
styles
.
field_email
}
>
<
View
style
=
{
styles
.
field_email
}
>
...
...
view/Home.js
View file @
31d8beef
This diff is collapsed.
Click to expand it.
view/MenuConfirmation.js
View file @
31d8beef
...
@@ -117,7 +117,8 @@ class MenuConfirmation extends React.Component {
...
@@ -117,7 +117,8 @@ class MenuConfirmation extends React.Component {
}).
catch
(
error
=>
{
}).
catch
(
error
=>
{
console
.
log
(
error
.
response
)
console
.
log
(
error
.
response
)
if
(
error
.
response
.
status
<=
500
)
{
if
(
error
.
response
.
status
<=
500
)
{
Alert
.
alert
(
String
(
error
.
response
.
status
),
'Internal Server Error'
)
let
response
=
error
.
response
.
data
;
Alert
.
alert
(
''
,
response
.
msg
);
}
else
{
}
else
{
let
response
=
error
.
response
.
data
;
let
response
=
error
.
response
.
data
;
Alert
.
alert
(
''
,
response
.
msg
);
Alert
.
alert
(
''
,
response
.
msg
);
...
...
view/MenuSelection.js
View file @
31d8beef
...
@@ -353,6 +353,7 @@ const styles = StyleSheet.create({
...
@@ -353,6 +353,7 @@ const styles = StyleSheet.create({
container
:
{
container
:
{
flex
:
1
,
flex
:
1
,
backgroundColor
:
'white'
,
backgroundColor
:
'white'
,
},
},
// shadow: {
// shadow: {
...
...
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