forked from grafana.jool/grafana-jool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
970 B
35 lines
970 B
import React from 'react';
|
|
import { css } from '@emotion/css';
|
|
import { NavModel, NavModelItem } from '@grafana/data';
|
|
import { Page as PluginPage } from '../components/Page';
|
|
import { Page } from 'app/core/components/Page/Page';
|
|
|
|
const node: NavModelItem = {
|
|
id: 'not-found',
|
|
text: 'The plugin catalog is not enabled',
|
|
icon: 'exclamation-triangle',
|
|
url: 'not-found',
|
|
};
|
|
|
|
const navModel: NavModel = { node, main: node };
|
|
|
|
export default function NotEnabled(): JSX.Element | null {
|
|
return (
|
|
<Page navModel={navModel}>
|
|
<Page.Contents>
|
|
<PluginPage>
|
|
To enable installing plugins via catalog, please refer to the{' '}
|
|
<a
|
|
className={css`
|
|
text-decoration: underline;
|
|
`}
|
|
href="https://grafana.com/docs/grafana/latest/plugins/catalog"
|
|
>
|
|
Plugin Catalog
|
|
</a>{' '}
|
|
instructions
|
|
</PluginPage>
|
|
</Page.Contents>
|
|
</Page>
|
|
);
|
|
}
|
|
|