File size: 4,156 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
// @flow
import React from "react";
import {
Page,
Grid,
Badge,
Button,
Card,
Container,
List,
Form,
} from "tabler-react";
import SiteWrapper from "../SiteWrapper.react";
function Email() {
return (
<SiteWrapper>
<div className="my-3 my-md-5">
<Container>
<Grid.Row>
<Grid.Col md={3}>
<Page.Title className="mb-5">Mail Service</Page.Title>
<div>
<List.Group transparent={true}>
<List.GroupItem
className="d-flex align-items-center"
to="/email"
icon="inbox"
active
>
Inbox
<Badge className="ml-auto">14</Badge>
</List.GroupItem>
<List.GroupItem
to="/email"
className="d-flex align-items-center"
icon="send"
>
Sent Mail
</List.GroupItem>
<List.GroupItem
to="/email"
className="d-flex align-items-center"
icon="alert-circle"
>
Important{" "}
<Badge className="ml-auto badge badge-secondary">3</Badge>
</List.GroupItem>
<List.GroupItem
to="/email"
className="d-flex align-items-center"
icon="star"
>
Starred
</List.GroupItem>
<List.GroupItem
to="/email"
className="d-flex align-items-center"
icon="file"
>
Drafts
</List.GroupItem>
<List.GroupItem
to="/email"
className="d-flex align-items-center"
icon="tag"
>
Tags
</List.GroupItem>
<List.GroupItem
to="/email"
className="d-flex align-items-center"
icon="trash-2"
>
Trash
</List.GroupItem>
</List.Group>
<div className="mt-6">
<Button
RootComponent="a"
href="/email"
block={true}
color="secondary"
>
Compose new Email
</Button>
</div>
</div>
</Grid.Col>
<Grid.Col md={9}>
<Card>
<Card.Header>
<Card.Title>Compose new message</Card.Title>
</Card.Header>
<Card.Body>
<Form>
<Form.Group>
<Grid.Row className="align-items-center">
<Grid.Col sm={2}>To:</Grid.Col>
<Grid.Col sm={10}>
<Form.Input type="text" />
</Grid.Col>
</Grid.Row>
</Form.Group>
<Form.Group>
<Grid.Row className="align-items-center">
<Grid.Col sm={2}>Subject:</Grid.Col>
<Grid.Col sm={10}>
<Form.Input type="text" />
</Grid.Col>
</Grid.Row>
</Form.Group>
<Form.Textarea rows={10} />
<Button.List className="mt-4" align="right">
<Button color="secondary">Cancel</Button>
<Button color="primary">Send message</Button>
</Button.List>
</Form>
</Card.Body>
</Card>
</Grid.Col>
</Grid.Row>
</Container>
</div>
</SiteWrapper>
);
}
export default Email;
|