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.
115 lines
2.2 KiB
115 lines
2.2 KiB
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Render should enable save button 1`] = `
|
|
<Page
|
|
navModel={Object {}}
|
|
>
|
|
<PageContents
|
|
isLoading={false}
|
|
>
|
|
<h3
|
|
className="page-sub-heading"
|
|
>
|
|
Folder settings
|
|
</h3>
|
|
<div
|
|
className="section gf-form-group"
|
|
>
|
|
<form
|
|
name="folderSettingsForm"
|
|
onSubmit={[Function]}
|
|
>
|
|
<div
|
|
className="gf-form"
|
|
>
|
|
<label
|
|
className="gf-form-label width-7"
|
|
>
|
|
Name
|
|
</label>
|
|
<Input
|
|
className="gf-form-input width-30"
|
|
onChange={[Function]}
|
|
type="text"
|
|
value="loading"
|
|
/>
|
|
</div>
|
|
<div
|
|
className="gf-form-button-row"
|
|
>
|
|
<Button
|
|
disabled={false}
|
|
type="submit"
|
|
>
|
|
Save
|
|
</Button>
|
|
<Button
|
|
disabled={false}
|
|
onClick={[Function]}
|
|
variant="destructive"
|
|
>
|
|
Delete
|
|
</Button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</PageContents>
|
|
</Page>
|
|
`;
|
|
|
|
exports[`Render should render component 1`] = `
|
|
<Page
|
|
navModel={Object {}}
|
|
>
|
|
<PageContents
|
|
isLoading={false}
|
|
>
|
|
<h3
|
|
className="page-sub-heading"
|
|
>
|
|
Folder settings
|
|
</h3>
|
|
<div
|
|
className="section gf-form-group"
|
|
>
|
|
<form
|
|
name="folderSettingsForm"
|
|
onSubmit={[Function]}
|
|
>
|
|
<div
|
|
className="gf-form"
|
|
>
|
|
<label
|
|
className="gf-form-label width-7"
|
|
>
|
|
Name
|
|
</label>
|
|
<Input
|
|
className="gf-form-input width-30"
|
|
onChange={[Function]}
|
|
type="text"
|
|
value="loading"
|
|
/>
|
|
</div>
|
|
<div
|
|
className="gf-form-button-row"
|
|
>
|
|
<Button
|
|
disabled={true}
|
|
type="submit"
|
|
>
|
|
Save
|
|
</Button>
|
|
<Button
|
|
disabled={false}
|
|
onClick={[Function]}
|
|
variant="destructive"
|
|
>
|
|
Delete
|
|
</Button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</PageContents>
|
|
</Page>
|
|
`;
|
|
|