Remove unused markup
This commit is contained in:
parent
f29ab86582
commit
f6611daad8
@ -1,7 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
Content,
|
|
||||||
FlexboxGrid,
|
FlexboxGrid,
|
||||||
Panel,
|
Panel,
|
||||||
Form,
|
Form,
|
||||||
@ -17,38 +16,36 @@ const boxStyle = {
|
|||||||
|
|
||||||
export default function Login() {
|
export default function Login() {
|
||||||
return (
|
return (
|
||||||
<Content>
|
<FlexboxGrid justify='center'>
|
||||||
<FlexboxGrid justify='center'>
|
<FlexboxGrid.Item>
|
||||||
<FlexboxGrid.Item>
|
<Panel header={<h3>Login</h3>} bordered style={boxStyle}>
|
||||||
<Panel header={<h3>Login</h3>} bordered style={boxStyle}>
|
<Form horizontal>
|
||||||
<Form horizontal>
|
<FormGroup>
|
||||||
<FormGroup>
|
<FormControl
|
||||||
<FormControl
|
name='email'
|
||||||
name='email'
|
type='email'
|
||||||
type='email'
|
placeholder='email'
|
||||||
placeholder='email'
|
/>
|
||||||
/>
|
</FormGroup>
|
||||||
</FormGroup>
|
<FormGroup>
|
||||||
<FormGroup>
|
<FormControl
|
||||||
<FormControl
|
name='password'
|
||||||
name='password'
|
type='password'
|
||||||
type='password'
|
placeholder='password'
|
||||||
placeholder='password'
|
/>
|
||||||
/>
|
<HelpBlock tooltip>
|
||||||
<HelpBlock tooltip>
|
Minimum password length is 8 characters
|
||||||
Minimum password length is 8 characters
|
</HelpBlock>
|
||||||
</HelpBlock>
|
</FormGroup>
|
||||||
</FormGroup>
|
<FormGroup>
|
||||||
<FormGroup>
|
<Button appearance='primary' block>
|
||||||
<Button appearance='primary' block>
|
Sign in
|
||||||
Sign in
|
</Button>
|
||||||
</Button>
|
</FormGroup>
|
||||||
</FormGroup>
|
<Button appearance='link'>Forgot password?</Button>
|
||||||
<Button appearance='link'>Forgot password?</Button>
|
</Form>
|
||||||
</Form>
|
</Panel>
|
||||||
</Panel>
|
</FlexboxGrid.Item>
|
||||||
</FlexboxGrid.Item>
|
</FlexboxGrid>
|
||||||
</FlexboxGrid>
|
|
||||||
</Content>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
Content,
|
|
||||||
FlexboxGrid,
|
FlexboxGrid,
|
||||||
Panel,
|
Panel,
|
||||||
Form,
|
Form,
|
||||||
@ -18,61 +17,59 @@ const boxStyle = {
|
|||||||
|
|
||||||
export default function Register() {
|
export default function Register() {
|
||||||
return (
|
return (
|
||||||
<Content>
|
<FlexboxGrid justify='center'>
|
||||||
<FlexboxGrid justify='center'>
|
<FlexboxGrid.Item>
|
||||||
<FlexboxGrid.Item>
|
<Panel header={<h3>Register</h3>} bordered style={boxStyle}>
|
||||||
<Panel header={<h3>Register</h3>} bordered style={boxStyle}>
|
<Form horizontal>
|
||||||
<Form horizontal>
|
<FormGroup>
|
||||||
<FormGroup>
|
<FormControl
|
||||||
<FormControl
|
name='username'
|
||||||
name='username'
|
type='plaintext'
|
||||||
type='plaintext'
|
placeholder='username'
|
||||||
placeholder='username'
|
/>
|
||||||
/>
|
</FormGroup>
|
||||||
</FormGroup>
|
<FormGroup>
|
||||||
<FormGroup>
|
<FormControl
|
||||||
<FormControl
|
name='email'
|
||||||
name='email'
|
type='email'
|
||||||
type='email'
|
placeholder='email'
|
||||||
placeholder='email'
|
/>
|
||||||
/>
|
</FormGroup>
|
||||||
</FormGroup>
|
<FormGroup>
|
||||||
<FormGroup>
|
<Dropdown title='Timezone'>
|
||||||
<Dropdown title='Timezone'>
|
<Dropdown.Item>
|
||||||
<Dropdown.Item>
|
Australian Central Time
|
||||||
Australian Central Time
|
</Dropdown.Item>
|
||||||
</Dropdown.Item>
|
<Dropdown.Item>
|
||||||
<Dropdown.Item>
|
Australian Eastern Time
|
||||||
Australian Eastern Time
|
</Dropdown.Item>
|
||||||
</Dropdown.Item>
|
<Dropdown.Item>
|
||||||
<Dropdown.Item>
|
Alaska Standard Time
|
||||||
Alaska Standard Time
|
</Dropdown.Item>
|
||||||
</Dropdown.Item>
|
<Dropdown.Item>
|
||||||
<Dropdown.Item>
|
Bangladesh Standard Time{' '}
|
||||||
Bangladesh Standard Time{' '}
|
</Dropdown.Item>
|
||||||
</Dropdown.Item>
|
<Dropdown.Item>...</Dropdown.Item>
|
||||||
<Dropdown.Item>...</Dropdown.Item>
|
</Dropdown>
|
||||||
</Dropdown>
|
</FormGroup>
|
||||||
</FormGroup>
|
<FormGroup>
|
||||||
<FormGroup>
|
<FormControl
|
||||||
<FormControl
|
name='password'
|
||||||
name='password'
|
type='password'
|
||||||
type='password'
|
placeholder='password'
|
||||||
placeholder='password'
|
/>
|
||||||
/>
|
<HelpBlock tooltip>
|
||||||
<HelpBlock tooltip>
|
Minimum password length is 8 characters
|
||||||
Minimum password length is 8 characters
|
</HelpBlock>
|
||||||
</HelpBlock>
|
</FormGroup>
|
||||||
</FormGroup>
|
<FormGroup>
|
||||||
<FormGroup>
|
<Button appearance='primary' block>
|
||||||
<Button appearance='primary' block>
|
Register
|
||||||
Register
|
</Button>
|
||||||
</Button>
|
</FormGroup>
|
||||||
</FormGroup>
|
</Form>
|
||||||
</Form>
|
</Panel>
|
||||||
</Panel>
|
</FlexboxGrid.Item>
|
||||||
</FlexboxGrid.Item>
|
</FlexboxGrid>
|
||||||
</FlexboxGrid>
|
|
||||||
</Content>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user