Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions src/client/pages/login_mobile.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import * as React from 'react';
import { Container, Button, Checkbox, Form } from 'semantic-ui-react'


export default class LoginMobile extends React.Component<{}, {}> {

render() {
return (
<Container>
<Form>
<Form.Field>
<label>Login</label>
<input placeholder='Login' />
</Form.Field>
<Form.Field>
<label>Password</label>
<input type='password' placeholder='Password' />
</Form.Field>
<Form.Field>
<Checkbox label='Remind me' />
</Form.Field>
<Button type='submit'>Login</Button>
</Form>
</Container>
);
}
}
2 changes: 2 additions & 0 deletions src/client/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ import history from './history';
import Home from './pages/home';
import Blank from './pages/blank';
import Calendar from './pages/calendar';
import LoginMobile from './pages/login_mobile';

const Routes = (
<Router history={history}>
<Route path="/" component={Home}/>
<Route path="/calendar/*" component={Calendar}/>
<Route path="/login_mobile" component={LoginMobile}/>
<Route path="*" component={Blank}/>
</Router>
);
Expand Down
1 change: 1 addition & 0 deletions src/client/semantic-ui-react.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ declare module 'semantic-ui-react' {
loading?: boolean;
negative?: boolean;
positive?: boolean;
type?: string;
primary?: boolean;
secondary?: boolean;
size?: Sizes;
Expand Down