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
860757d2
Commit
860757d2
authored
Sep 02, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
benerin gambar daun new password dan reset password
parent
10b7ccbd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
39 deletions
+17
-39
NewPassword.js
view/NewPassword.js
+10
-20
ResetPassword.js
view/ResetPassword.js
+7
-19
No files found.
view/NewPassword.js
View file @
860757d2
...
...
@@ -121,7 +121,7 @@ class NewPassword extends React.Component {
textStyle
=
{
styles
.
spinnerTextStyle
}
/
>
<
View
style
=
{{
flex
:
3
}}
>
<
View
style
=
{{
flex
:
1
,
marginRight
:
30
,
marginLeft
:
30
,
top
:
20
}}
>
<
View
style
=
{{
flex
:
1
,
marginRight
:
30
,
marginLeft
:
30
,
top
:
20
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'email'
)}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#838383'
,
fontSize
:
18
,
textAlign
:
'center'
,
margin
:
3
,
marginBottom
:
15
}}
>
{
this
.
props
.
email
}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'token'
)}
<
/Text
>
...
...
@@ -150,20 +150,11 @@ class NewPassword extends React.Component {
<
Text
style
=
{{
alignSelf
:
'center'
,
top
:
10
,
color
:
'white'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
}}
>
{
i18n
.
t
(
'submit'
)}
<
/Text
>
<
/View
>
<
/TouchableOpacity
>
<
View
style
=
{{
flex
:
2
}}
>
<
ImageBackground
source
=
{
require
(
'../assets/images/daun.png'
)}
style
=
{
styles
.
logo
}
>
<
/ImageBackground
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
}}
>
<
View
style
=
{
styles
.
v_logo
}
>
<
View
style
=
{{
flex
:
1
,
alignSelf
:
'flex-start'
}}
>
<
Image
resizeMode
=
"contain"
source
=
{
require
(
'../assets/images/daun.png'
)}
style
=
{
styles
.
logo
}
/
>
<
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
0.5
}}
>
<
/View
>
<
/View
>
<
/View
>
)
...
...
@@ -183,15 +174,14 @@ const styles = StyleSheet.create({
marginTop
:
0
,
},
v_logo
:
{
flex
:
2
,
flexDirection
:
'column-reverse'
,
alignContent
:
'flex-start'
,
},
// v_logo: {
// flex: 2,
// flexDirection: 'column-reverse',
// alignContent: 'flex-start',
// },
logo
:
{
alignSelf
:
'flex-start'
,
marginTop
:
5
0
,
marginTop
:
20
0
,
width
:
290
,
height
:
290
,
bottom
:
150
,
...
...
view/ResetPassword.js
View file @
860757d2
import
React
from
'react'
;
import
{
View
,
Text
,
TextInput
,
StyleSheet
,
Button
,
Alert
,
Image
,
TouchableOpacity
}
from
'react-native'
;
import
{
View
,
Text
,
TextInput
,
StyleSheet
,
Button
,
Alert
,
Image
,
TouchableOpacity
,
ImageBackground
}
from
'react-native'
;
import
Axios
from
'axios'
;
import
{
BASE_URL_RESET_PASSWORD
}
from
'../model/Base_Model'
;
import
ActionType
from
'../redux/globalActionType'
;
...
...
@@ -87,12 +87,14 @@ class ResetPassword extends React.Component {
render
()
{
return
(
<
View
style
=
{
styles
.
container
}
>
<
MyStatusBar
/>
<
Spinner
visible
=
{
this
.
state
.
spinner
}
textContent
=
{
'Loading...'
}
textStyle
=
{
styles
.
spinnerTextStyle
}
/
>
<
View
style
=
{{
flex
:
3
}}
>
<
View
style
=
{{
flex
:
1
,
marginRight
:
30
,
marginLeft
:
30
,
top
:
50
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'email'
)}
<
/Text
>
...
...
@@ -111,19 +113,11 @@ class ResetPassword extends React.Component {
<
TouchableOpacity
style
=
{{
height
:
60
}}
onPress
=
{()
=>
this
.
handleEnterToken
()}
>
<
Text
style
=
{{
alignSelf
:
'center'
,
color
:
'#CFB368'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
}}
>
{
i18n
.
t
(
'enterToken'
)}
<
/Text
>
<
/TouchableOpacity
>
<
View
style
=
{{
flex
:
2
}}
>
<
ImageBackground
source
=
{
require
(
'../assets/images/daun.png'
)}
style
=
{
styles
.
logo
}
>
<
/ImageBackground
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
}}
>
<
View
style
=
{
styles
.
v_logo
}
>
<
View
style
=
{{
flex
:
1
,
alignSelf
:
'flex-start'
}}
>
<
Image
resizeMode
=
"contain"
source
=
{
require
(
'../assets/images/daun.png'
)}
style
=
{
styles
.
logo
}
><
/Image
>
<
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
0.5
}}
>
<
/View
>
<
/View
>
<
/View
>
)
...
...
@@ -164,13 +158,8 @@ const styles = StyleSheet.create({
width
:
290
,
height
:
290
,
bottom
:
145
,
flexDirection
:
'column-reverse'
},
v_logo
:
{
flex
:
2
,
flexDirection
:
'column-reverse'
,
alignContent
:
'flex-start'
,
}
})
const
mapStateToProps
=
(
state
)
=>
{
...
...
@@ -198,7 +187,6 @@ const mapDispatchToProps = (dispacth) => {
})
}
}
export
default
connect
(
mapStateToProps
,
mapDispatchToProps
)(
ResetPassword
);
...
...
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