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
8574fd1f
Commit
8574fd1f
authored
6 years ago
by
tina
Browse files
Options
Downloads
Patches
Plain Diff
changes design of settings page
parent
6b606866
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/settings/password/password-field.js
+4
-1
4 additions, 1 deletion
components/settings/password/password-field.js
components/settings/temp-slider.js
+2
-2
2 additions, 2 deletions
components/settings/temp-slider.js
styles/index.js
+7
-3
7 additions, 3 deletions
styles/index.js
with
13 additions
and
6 deletions
components/settings/password/password-field.js
+
4
−
1
View file @
8574fd1f
import
React
from
'
react
'
import
{
TextInput
}
from
'
react-native
'
import
styles
from
'
../../../styles
'
import
styles
,
{
secondaryColor
}
from
'
../../../styles
'
export
default
function
PasswordField
(
props
)
{
return
(
...
...
@@ -11,6 +11,9 @@ export default function PasswordField(props) {
onChangeText
=
{
props
.
onChangeText
}
value
=
{
props
.
value
}
placeholder
=
{
props
.
placeholder
}
borderWidth
=
{
1
}
borderColor
=
{
secondaryColor
}
borderStyle
=
{
'
solid
'
}
/
>
)
}
This diff is collapsed.
Click to expand it.
components/settings/temp-slider.js
+
2
−
2
View file @
8574fd1f
...
...
@@ -39,8 +39,8 @@ export default class TempSlider extends Component {
render
()
{
return
(
<
View
style
=
{{
alignItems
:
'
center
'
}}
>
<
AppText
>
{
`
${
labels
.
tempScale
.
min
}
${
this
.
state
.
min
}
`
}
<
/AppText
>
<
AppText
>
{
`
${
labels
.
tempScale
.
max
}
${
this
.
state
.
max
}
`
}
<
/AppText
>
<
AppText
>
{
`
${
labels
.
tempScale
.
min
}
${
this
.
state
.
min
.
toFixed
(
1
)
}
`
}
<
/AppText
>
<
AppText
>
{
`
${
labels
.
tempScale
.
max
}
${
this
.
state
.
max
.
toFixed
(
1
)
}
`
}
<
/AppText
>
<
Slider
values
=
{[
this
.
state
.
min
,
this
.
state
.
max
]}
min
=
{
config
.
temperatureScale
.
min
}
...
...
This diff is collapsed.
Click to expand it.
styles/index.js
+
7
−
3
View file @
8574fd1f
...
...
@@ -191,9 +191,13 @@ export default StyleSheet.create({
width
:
130
},
settingsSegment
:
{
backgroundColor
:
'
lightgrey
'
,
padding
:
10
,
marginBottom
:
10
,
borderColor
:
secondaryColor
,
borderStyle
:
'
solid
'
,
borderWidth
:
1
,
borderRadius
:
10
,
marginTop
:
defaultTopMargin
,
marginHorizontal
:
defaultIndentation
,
padding
:
7
,
},
settingsSegmentTitle
:
{
fontWeight
:
'
bold
'
...
...
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