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