Merge pull request #284 from asaadmahmood/PLT-4174

plt-4174 - Improvements to the Settings UI
This commit is contained in:
Yuya Ochiai
2016-09-17 09:12:36 +09:00
committed by GitHub

View File

@@ -209,6 +209,15 @@ var SettingsPage = React.createClass({
navbar: { navbar: {
backgroundColor: '#fff' backgroundColor: '#fff'
}, },
close: {
position: 'absolute',
right: '0',
top: '10px',
fontSize: '35px',
fontWeight: 'normal',
color: '#bbb',
cursor: 'pointer'
},
heading: { heading: {
textAlign: 'center', textAlign: 'center',
fontSize: '24px', fontSize: '24px',
@@ -242,9 +251,14 @@ var SettingsPage = React.createClass({
return ( return (
<div> <div>
<Navbar className="navbar-fixed-top" style={ settingsPage.navbar }> <Navbar className="navbar-fixed-top" style={ settingsPage.navbar }>
<h1 style={ settingsPage.heading }>Settings</h1> <div style={ { 'position': 'relative' } }>
<h1 style={ settingsPage.heading }>Settings</h1>
<div style={ settingsPage.close } onClick={ this.handleCancel }>
<span>×</span>
</div>
</div>
</Navbar> </Navbar>
<Grid className="settingsPage" style={ { 'padding-top': '100px', 'padding-bottom': '70px' } }> <Grid className="settingsPage" style={ { 'padding': '100px 15px' } }>
<Row> <Row>
<Col md={ 10 } xs={ 8 }> <Col md={ 10 } xs={ 8 }>
<h2 style={ settingsPage.sectionHeading }>Team Management</h2> <h2 style={ settingsPage.sectionHeading }>Team Management</h2>
@@ -256,9 +270,6 @@ var SettingsPage = React.createClass({
{ teams_row } { teams_row }
<hr/> <hr/>
{ options_row } { options_row }
<div>
<hr />
</div>
</Grid> </Grid>
<Navbar className="navbar-fixed-bottom"> <Navbar className="navbar-fixed-bottom">
<div className='text-right' style={ settingsPage.footer }> <div className='text-right' style={ settingsPage.footer }>