Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Drip
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
backup
Drip
Commits
f15dc759
Commit
f15dc759
authored
5 years ago
by
mashazyu
Browse files
Options
Downloads
Patches
Plain Diff
Removes logo and adds header on the main login screen
parent
c00684eb
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
components/password-prompt.js
+5
-6
5 additions, 6 deletions
components/password-prompt.js
i18n/en/labels.js
+1
-0
1 addition, 0 deletions
i18n/en/labels.js
styles/index.js
+2
-0
2 additions, 0 deletions
styles/index.js
with
8 additions
and
6 deletions
components/password-prompt.js
+
5
−
6
View file @
f15dc759
import
React
,
{
Component
}
from
'
react
'
import
{
View
,
TextInput
,
TouchableOpacity
,
Alert
,
Image
}
from
'
react-native
'
import
{
View
,
TextInput
,
TouchableOpacity
,
Alert
}
from
'
react-native
'
import
nodejs
from
'
nodejs-mobile-react-native
'
import
{
saveEncryptionFlag
}
from
'
../local-storage
'
import
AppText
from
'
./app-text
'
import
Header
from
'
./header
'
import
styles
from
'
../styles
'
import
{
passwordPrompt
as
labels
,
shared
}
from
'
../i18n/en/labels
'
import
{
passwordPrompt
as
labels
,
shared
,
menuTitles
}
from
'
../i18n/en/labels
'
import
{
requestHash
,
deleteDbAndOpenNew
,
openDb
}
from
'
../db
'
export
default
class
PasswordPrompt
extends
Component
{
...
...
@@ -87,12 +88,10 @@ export default class PasswordPrompt extends Component {
render
()
{
return
(
<
View
flex
=
{
1
}
>
<
Header
title
=
{
menuTitles
.
PasswordPrompt
.
toLowerCase
()}
/
>
{
this
.
state
.
showPasswordPrompt
&&
<
View
style
=
{
styles
.
passwordPromptPage
}
>
<
Image
source
=
{
require
(
'
../assets/drip_small.png
'
)}
style
=
{
styles
.
passwordPromptImage
}
/
>
<
TextInput
onChangeText
=
{
val
=>
this
.
setState
({
password
:
val
})}
style
=
{
styles
.
passwordPromptField
}
...
...
This diff is collapsed.
Click to expand it.
i18n/en/labels.js
+
1
−
0
View file @
f15dc759
...
...
@@ -50,6 +50,7 @@ export const menuTitles = {
Chart
:
'
Chart
'
,
Stats
:
'
Stats
'
,
Settings
:
'
Settings
'
,
PasswordPrompt
:
'
Drip
'
}
export
const
stats
=
{
...
...
This diff is collapsed.
Click to expand it.
styles/index.js
+
2
−
0
View file @
f15dc759
...
...
@@ -401,6 +401,8 @@ export default StyleSheet.create({
},
passwordPromptPage
:
{
padding
:
30
,
flex
:
1
,
justifyContent
:
'
center
'
,
alignItems
:
'
center
'
},
passwordPromptField
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment