mirror of https://github.com/grafana/grafana
parent
6bd87098cf
commit
25304629bd
@ -1,336 +1,344 @@ |
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP |
||||
|
||||
exports[`Render should render component 1`] = ` |
||||
<div> |
||||
<Page |
||||
title="Configuration: Teams" |
||||
> |
||||
<PageHeader |
||||
model={Object {}} |
||||
/> |
||||
<PageLoader |
||||
pageName="Teams" |
||||
<PageContents |
||||
isLoading={true} |
||||
/> |
||||
</div> |
||||
</Page> |
||||
`; |
||||
|
||||
exports[`Render should render teams table 1`] = ` |
||||
<div> |
||||
<Page |
||||
title="Configuration: Teams" |
||||
> |
||||
<PageHeader |
||||
model={Object {}} |
||||
/> |
||||
<div |
||||
className="page-container page-body" |
||||
<PageContents |
||||
isLoading={false} |
||||
> |
||||
<div |
||||
className="page-action-bar" |
||||
className="page-container page-body" |
||||
> |
||||
<div |
||||
className="gf-form gf-form--grow" |
||||
className="page-action-bar" |
||||
> |
||||
<label |
||||
className="gf-form--has-input-icon gf-form--grow" |
||||
<div |
||||
className="gf-form gf-form--grow" |
||||
> |
||||
<input |
||||
className="gf-form-input" |
||||
onChange={[Function]} |
||||
placeholder="Search teams" |
||||
type="text" |
||||
value="" |
||||
/> |
||||
<i |
||||
className="gf-form-input-icon fa fa-search" |
||||
/> |
||||
</label> |
||||
<label |
||||
className="gf-form--has-input-icon gf-form--grow" |
||||
> |
||||
<input |
||||
className="gf-form-input" |
||||
onChange={[Function]} |
||||
placeholder="Search teams" |
||||
type="text" |
||||
value="" |
||||
/> |
||||
<i |
||||
className="gf-form-input-icon fa fa-search" |
||||
/> |
||||
</label> |
||||
</div> |
||||
<div |
||||
className="page-action-bar__spacer" |
||||
/> |
||||
<a |
||||
className="btn btn-success" |
||||
href="org/teams/new" |
||||
> |
||||
New team |
||||
</a> |
||||
</div> |
||||
<div |
||||
className="page-action-bar__spacer" |
||||
/> |
||||
<a |
||||
className="btn btn-success" |
||||
href="org/teams/new" |
||||
className="admin-list-table" |
||||
> |
||||
New team |
||||
</a> |
||||
</div> |
||||
<div |
||||
className="admin-list-table" |
||||
> |
||||
<table |
||||
className="filter-table filter-table--hover form-inline" |
||||
> |
||||
<thead> |
||||
<tr> |
||||
<th /> |
||||
<th> |
||||
Name |
||||
</th> |
||||
<th> |
||||
Email |
||||
</th> |
||||
<th> |
||||
Members |
||||
</th> |
||||
<th |
||||
style={ |
||||
Object { |
||||
"width": "1%", |
||||
<table |
||||
className="filter-table filter-table--hover form-inline" |
||||
> |
||||
<thead> |
||||
<tr> |
||||
<th /> |
||||
<th> |
||||
Name |
||||
</th> |
||||
<th> |
||||
Email |
||||
</th> |
||||
<th> |
||||
Members |
||||
</th> |
||||
<th |
||||
style={ |
||||
Object { |
||||
"width": "1%", |
||||
} |
||||
} |
||||
} |
||||
/> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
<tr |
||||
key="1" |
||||
> |
||||
<td |
||||
className="width-4 text-center link-td" |
||||
/> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
<tr |
||||
key="1" |
||||
> |
||||
<a |
||||
href="org/teams/edit/1" |
||||
<td |
||||
className="width-4 text-center link-td" |
||||
> |
||||
<img |
||||
className="filter-table__avatar" |
||||
src="some/url/" |
||||
/> |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/1" |
||||
<a |
||||
href="org/teams/edit/1" |
||||
> |
||||
<img |
||||
className="filter-table__avatar" |
||||
src="some/url/" |
||||
/> |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
test-1 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/1" |
||||
<a |
||||
href="org/teams/edit/1" |
||||
> |
||||
test-1 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
test-1@test.com |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/1" |
||||
<a |
||||
href="org/teams/edit/1" |
||||
> |
||||
test-1@test.com |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
1 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="text-right" |
||||
> |
||||
<DeleteButton |
||||
onConfirm={[Function]} |
||||
/> |
||||
</td> |
||||
</tr> |
||||
<tr |
||||
key="2" |
||||
> |
||||
<td |
||||
className="width-4 text-center link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/2" |
||||
<a |
||||
href="org/teams/edit/1" |
||||
> |
||||
1 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="text-right" |
||||
> |
||||
<img |
||||
className="filter-table__avatar" |
||||
src="some/url/" |
||||
<DeleteButton |
||||
onConfirm={[Function]} |
||||
/> |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
</td> |
||||
</tr> |
||||
<tr |
||||
key="2" |
||||
> |
||||
<a |
||||
href="org/teams/edit/2" |
||||
<td |
||||
className="width-4 text-center link-td" |
||||
> |
||||
test-2 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/2" |
||||
<a |
||||
href="org/teams/edit/2" |
||||
> |
||||
<img |
||||
className="filter-table__avatar" |
||||
src="some/url/" |
||||
/> |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
test-2@test.com |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/2" |
||||
<a |
||||
href="org/teams/edit/2" |
||||
> |
||||
test-2 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
2 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="text-right" |
||||
> |
||||
<DeleteButton |
||||
onConfirm={[Function]} |
||||
/> |
||||
</td> |
||||
</tr> |
||||
<tr |
||||
key="3" |
||||
> |
||||
<td |
||||
className="width-4 text-center link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/3" |
||||
<a |
||||
href="org/teams/edit/2" |
||||
> |
||||
test-2@test.com |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/2" |
||||
> |
||||
2 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="text-right" |
||||
> |
||||
<img |
||||
className="filter-table__avatar" |
||||
src="some/url/" |
||||
<DeleteButton |
||||
onConfirm={[Function]} |
||||
/> |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
</td> |
||||
</tr> |
||||
<tr |
||||
key="3" |
||||
> |
||||
<a |
||||
href="org/teams/edit/3" |
||||
<td |
||||
className="width-4 text-center link-td" |
||||
> |
||||
test-3 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/3" |
||||
<a |
||||
href="org/teams/edit/3" |
||||
> |
||||
<img |
||||
className="filter-table__avatar" |
||||
src="some/url/" |
||||
/> |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
test-3@test.com |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/3" |
||||
<a |
||||
href="org/teams/edit/3" |
||||
> |
||||
test-3 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
3 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="text-right" |
||||
> |
||||
<DeleteButton |
||||
onConfirm={[Function]} |
||||
/> |
||||
</td> |
||||
</tr> |
||||
<tr |
||||
key="4" |
||||
> |
||||
<td |
||||
className="width-4 text-center link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/4" |
||||
<a |
||||
href="org/teams/edit/3" |
||||
> |
||||
test-3@test.com |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/3" |
||||
> |
||||
3 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="text-right" |
||||
> |
||||
<img |
||||
className="filter-table__avatar" |
||||
src="some/url/" |
||||
<DeleteButton |
||||
onConfirm={[Function]} |
||||
/> |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
</td> |
||||
</tr> |
||||
<tr |
||||
key="4" |
||||
> |
||||
<a |
||||
href="org/teams/edit/4" |
||||
<td |
||||
className="width-4 text-center link-td" |
||||
> |
||||
test-4 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/4" |
||||
<a |
||||
href="org/teams/edit/4" |
||||
> |
||||
<img |
||||
className="filter-table__avatar" |
||||
src="some/url/" |
||||
/> |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
test-4@test.com |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/4" |
||||
<a |
||||
href="org/teams/edit/4" |
||||
> |
||||
test-4 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
4 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="text-right" |
||||
> |
||||
<DeleteButton |
||||
onConfirm={[Function]} |
||||
/> |
||||
</td> |
||||
</tr> |
||||
<tr |
||||
key="5" |
||||
> |
||||
<td |
||||
className="width-4 text-center link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/5" |
||||
<a |
||||
href="org/teams/edit/4" |
||||
> |
||||
test-4@test.com |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<img |
||||
className="filter-table__avatar" |
||||
src="some/url/" |
||||
<a |
||||
href="org/teams/edit/4" |
||||
> |
||||
4 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="text-right" |
||||
> |
||||
<DeleteButton |
||||
onConfirm={[Function]} |
||||
/> |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
</td> |
||||
</tr> |
||||
<tr |
||||
key="5" |
||||
> |
||||
<a |
||||
href="org/teams/edit/5" |
||||
<td |
||||
className="width-4 text-center link-td" |
||||
> |
||||
test-5 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/5" |
||||
<a |
||||
href="org/teams/edit/5" |
||||
> |
||||
<img |
||||
className="filter-table__avatar" |
||||
src="some/url/" |
||||
/> |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
test-5@test.com |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/5" |
||||
<a |
||||
href="org/teams/edit/5" |
||||
> |
||||
test-5 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
5 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="text-right" |
||||
> |
||||
<DeleteButton |
||||
onConfirm={[Function]} |
||||
/> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<a |
||||
href="org/teams/edit/5" |
||||
> |
||||
test-5@test.com |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="link-td" |
||||
> |
||||
<a |
||||
href="org/teams/edit/5" |
||||
> |
||||
5 |
||||
</a> |
||||
</td> |
||||
<td |
||||
className="text-right" |
||||
> |
||||
<DeleteButton |
||||
onConfirm={[Function]} |
||||
/> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</PageContents> |
||||
</Page> |
||||
`; |
||||
|
Loading…
Reference in new issue