mirror of https://github.com/prometheus/prometheus
Browse Source
This is a quick change because the release is about to be cut in a few hours and it would be good to clarify to users what the empty pages in the new UI are about. Signed-off-by: Julius Volz <julius.volz@gmail.com>pull/6279/head
Julius Volz
5 years ago
committed by
GitHub
4 changed files with 36 additions and 4 deletions
@ -1,7 +1,15 @@
|
||||
import React, { FC } from 'react'; |
||||
import { RouteComponentProps } from '@reach/router'; |
||||
import PathPrefixProps from '../PathPrefixProps'; |
||||
import { Alert } from 'reactstrap'; |
||||
|
||||
const Alerts: FC<RouteComponentProps & PathPrefixProps> = props => <div>Alerts page</div>; |
||||
const Alerts: FC<RouteComponentProps & PathPrefixProps> = ({ pathPrefix }) => ( |
||||
<> |
||||
<h2>Alerts</h2> |
||||
<Alert color="warning"> |
||||
This page is still under construction. Please try it in the <a href={`${pathPrefix}/alerts`}>Classic UI</a>. |
||||
</Alert> |
||||
</> |
||||
); |
||||
|
||||
export default Alerts; |
||||
|
@ -1,7 +1,15 @@
|
||||
import React, { FC } from 'react'; |
||||
import { RouteComponentProps } from '@reach/router'; |
||||
import PathPrefixProps from '../PathPrefixProps'; |
||||
import { Alert } from 'reactstrap'; |
||||
|
||||
const Rules: FC<RouteComponentProps & PathPrefixProps> = () => <div>Rules page</div>; |
||||
const Rules: FC<RouteComponentProps & PathPrefixProps> = ({ pathPrefix }) => ( |
||||
<> |
||||
<h2>Rules</h2> |
||||
<Alert color="warning"> |
||||
This page is still under construction. Please try it in the <a href={`${pathPrefix}/rules`}>Classic UI</a>. |
||||
</Alert> |
||||
</> |
||||
); |
||||
|
||||
export default Rules; |
||||
|
@ -1,7 +1,15 @@
|
||||
import React, { FC } from 'react'; |
||||
import { RouteComponentProps } from '@reach/router'; |
||||
import PathPrefixProps from '../PathPrefixProps'; |
||||
import { Alert } from 'reactstrap'; |
||||
|
||||
const Services: FC<RouteComponentProps & PathPrefixProps> = () => <div>Services page</div>; |
||||
const Services: FC<RouteComponentProps & PathPrefixProps> = ({ pathPrefix }) => ( |
||||
<> |
||||
<h2>Service Discovery</h2> |
||||
<Alert color="warning"> |
||||
This page is still under construction. Please try it in the <a href={`${pathPrefix}/service-discovery`}>Classic UI</a>. |
||||
</Alert> |
||||
</> |
||||
); |
||||
|
||||
export default Services; |
||||
|
@ -1,7 +1,15 @@
|
||||
import React, { FC } from 'react'; |
||||
import { RouteComponentProps } from '@reach/router'; |
||||
import PathPrefixProps from '../PathPrefixProps'; |
||||
import { Alert } from 'reactstrap'; |
||||
|
||||
const Targets: FC<RouteComponentProps & PathPrefixProps> = () => <div>Targets page</div>; |
||||
const Targets: FC<RouteComponentProps & PathPrefixProps> = ({ pathPrefix }) => ( |
||||
<> |
||||
<h2>Targets</h2> |
||||
<Alert color="warning"> |
||||
This page is still under construction. Please try it in the <a href={`${pathPrefix}/targets`}>Classic UI</a>. |
||||
</Alert> |
||||
</> |
||||
); |
||||
|
||||
export default Targets; |
||||
|
Loading…
Reference in new issue