Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
b93cdf56
Commit
b93cdf56
authored
Feb 11, 2019
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed double page container
parent
c4fa64e6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
19 deletions
+3
-19
public/app/features/teams/TeamList.tsx
+2
-2
public/app/features/teams/TeamPages.tsx
+1
-1
public/app/features/teams/__snapshots__/TeamList.test.tsx.snap
+0
-4
public/app/features/teams/__snapshots__/TeamPages.test.tsx.snap
+0
-12
No files found.
public/app/features/teams/TeamList.tsx
View file @
b93cdf56
...
...
@@ -86,7 +86,7 @@ export class TeamList extends PureComponent<Props, any> {
const
{
teams
,
searchQuery
}
=
this
.
props
;
return
(
<
div
className=
"page-container page-body"
>
<>
<
div
className=
"page-action-bar"
>
<
div
className=
"gf-form gf-form--grow"
>
<
label
className=
"gf-form--has-input-icon gf-form--grow"
>
...
...
@@ -122,7 +122,7 @@ export class TeamList extends PureComponent<Props, any> {
<
tbody
>
{
teams
.
map
(
team
=>
this
.
renderTeam
(
team
))
}
</
tbody
>
</
table
>
</
div
>
</
div
>
</>
);
}
...
...
public/app/features/teams/TeamPages.tsx
View file @
b93cdf56
...
...
@@ -84,7 +84,7 @@ export class TeamPages extends PureComponent<Props, State> {
return
(
<
Page
navModel=
{
navModel
}
>
<
Page
.
Contents
isLoading=
{
this
.
state
.
isLoading
}
>
{
team
&&
Object
.
keys
(
team
).
length
!==
0
&&
<
div
className=
"page-container page-body"
>
{
this
.
renderPage
()
}
</
div
>
}
{
team
&&
Object
.
keys
(
team
).
length
!==
0
&&
this
.
renderPage
()
}
</
Page
.
Contents
>
</
Page
>
);
...
...
public/app/features/teams/__snapshots__/TeamList.test.tsx.snap
View file @
b93cdf56
...
...
@@ -36,9 +36,6 @@ exports[`Render should render teams table 1`] = `
isLoading={false}
>
<div
className="page-container page-body"
>
<div
className="page-action-bar"
>
<div
...
...
@@ -350,7 +347,6 @@ exports[`Render should render teams table 1`] = `
</tbody>
</table>
</div>
</div>
</PageContents>
</Page>
`;
public/app/features/teams/__snapshots__/TeamPages.test.tsx.snap
View file @
b93cdf56
...
...
@@ -17,11 +17,7 @@ exports[`Render should render group sync page 1`] = `
<PageContents
isLoading={true}
>
<div
className="page-container page-body"
>
<Connect(TeamGroupSync) />
</div>
</PageContents>
</Page>
`;
...
...
@@ -33,13 +29,9 @@ exports[`Render should render member page if team not empty 1`] = `
<PageContents
isLoading={true}
>
<div
className="page-container page-body"
>
<Connect(TeamMembers)
syncEnabled={true}
/>
</div>
</PageContents>
</Page>
`;
...
...
@@ -51,11 +43,7 @@ exports[`Render should render settings and preferences page 1`] = `
<PageContents
isLoading={true}
>
<div
className="page-container page-body"
>
<Connect(TeamSettings) />
</div>
</PageContents>
</Page>
`;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment