Remove unused markup

This commit is contained in:
rui hildt 2020-05-13 19:01:20 +02:00
parent f29ab86582
commit f6611daad8
2 changed files with 85 additions and 91 deletions

View File

@ -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>
);
}

View File

@ -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>
);
}