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
a6824751
Commit
a6824751
authored
Dec 11, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fixed failing test
parent
05ec7541
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
public/app/core/components/EmptyListCTA/__snapshots__/EmptyListCTA.jest.tsx.snap
+1
-1
public/app/features/annotations/editor_ctrl.ts
+4
-0
public/app/features/annotations/partials/editor.html
+2
-2
No files found.
public/app/core/components/EmptyListCTA/__snapshots__/EmptyListCTA.jest.tsx.snap
View file @
a6824751
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
exports[`CollorPalette renders correctly 1`] = `
exports[`CollorPalette renders correctly 1`] = `
<div
<div
className="empty-list-cta
p-t-2 p-b-1
"
className="empty-list-cta"
>
>
<div
<div
className="empty-list-cta__title"
className="empty-list-cta__title"
...
...
public/app/features/annotations/editor_ctrl.ts
View file @
a6824751
...
@@ -69,6 +69,10 @@ export class AnnotationsEditorCtrl {
...
@@ -69,6 +69,10 @@ export class AnnotationsEditorCtrl {
this
.
reset
();
this
.
reset
();
}
}
backToList
()
{
this
.
mode
=
'list'
;
}
add
()
{
add
()
{
this
.
annotations
.
push
(
this
.
currentAnnotation
);
this
.
annotations
.
push
(
this
.
currentAnnotation
);
this
.
reset
();
this
.
reset
();
...
...
public/app/features/annotations/partials/editor.html
View file @
a6824751
<div
ng-controller=
"AnnotationsEditorCtrl"
>
<div
ng-controller=
"AnnotationsEditorCtrl"
>
<h3
class=
"dashboard-settings__header"
>
<h3
class=
"dashboard-settings__header"
>
<a
ng-click=
"ctrl.
setMode('list'
)"
>
Annotations
</a>
<a
ng-click=
"ctrl.
backToList(
)"
>
Annotations
</a>
<span
ng-show=
"ctrl.mode === 'new'"
>
>
New
</span>
<span
ng-show=
"ctrl.mode === 'new'"
>
>
New
</span>
<span
ng-show=
"ctrl.mode === 'edit'"
>
>
Edit
</span>
<span
ng-show=
"ctrl.mode === 'edit'"
>
>
Edit
</span>
</h3>
</h3>
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<a
type=
"button"
class=
"btn btn-success"
ng-click=
"ctrl.setupNew();"
><i
class=
"fa fa-plus"
></i>
New
</a>
<a
type=
"button"
class=
"btn btn-success"
ng-click=
"ctrl.setupNew();"
><i
class=
"fa fa-plus"
></i>
New
</a>
</div>
</div>
<table
class=
"filter-table"
>
<table
class=
"filter-table
filter-table--hover
"
>
<thead>
<thead>
<tr>
<tr>
<th>
Query name
</th>
<th>
Query name
</th>
...
...
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