forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ingest overview page (elastic#63214)
* use fixed table layout * added markup structure / css for overview page * add flyout and links to other pages * add "alpha" messaging at bottom of all pages * attrs instead of defaultProps on styled components * use FormattedMessage on alpha messaging component * remove leftover code * remove unused import
- Loading branch information
Henry Harding
committed
Apr 20, 2020
1 parent
1ab454c
commit af62a22
Showing
6 changed files
with
246 additions
and
4 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
.../plugins/ingest_manager/public/applications/ingest_manager/components/alpha_messaging.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
import { FormattedMessage } from '@kbn/i18n/react'; | ||
import { EuiText } from '@elastic/eui'; | ||
|
||
const Message = styled(EuiText).attrs(props => ({ | ||
color: 'subdued', | ||
textAlign: 'center', | ||
}))` | ||
padding: ${props => props.theme.eui.paddingSizes.m}; | ||
`; | ||
|
||
export const AlphaMessaging: React.FC<{}> = () => ( | ||
<Message> | ||
<p> | ||
<small> | ||
<strong> | ||
<FormattedMessage | ||
id="xpack.ingestManager.alphaMessageTitle" | ||
defaultMessage="Alpha release" | ||
/> | ||
</strong> | ||
{' – '} | ||
<FormattedMessage | ||
id="xpack.ingestManager.alphaMessageDescription" | ||
defaultMessage="Ingest Manager is under active development and is not | ||
intended for production purposes." | ||
/> | ||
</small> | ||
</p> | ||
</Message> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters