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
7dcb8501
Commit
7dcb8501
authored
Feb 24, 2016
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(annotations): change to new tab header
parent
72070681
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
31 deletions
+26
-31
public/app/features/annotations/partials/editor.html
+26
-31
No files found.
public/app/features/annotations/partials/editor.html
View file @
7dcb8501
<div
ng-controller=
"AnnotationsEditorCtrl"
ng-init=
"init()"
>
<div
class=
"gf-box-header"
>
<div
class=
"gf-box-title"
>
<i
class=
"fa fa-bolt"
></i>
<div
class=
"tabbed-view-header"
>
<h2
class=
"tabbed-view-title"
>
Annotations
</div>
<div
class=
"tabs"
>
<ul
class=
"nav nav-tabs"
>
<li
ng-class=
"{active: mode === 'list'}"
>
<a
ng-click=
"mode = 'list';"
>
List
</a>
</li>
</h2>
<li
ng-class=
"{active: mode === 'edit'}"
ng-show=
"mode === 'edit'"
>
<a>
{{currentAnnotation.name}}
</a>
</li>
<ul
class=
"gf-tabs"
>
<li
class=
"gf-tabs-item"
>
<a
class=
"gf-tabs-link"
ng-click=
"mode = 'list';"
ng-class=
"{active: mode === 'list'}"
>
List
</a>
</li>
<li
class=
"gf-tabs-item"
ng-show=
"mode === 'edit'"
>
<a
class=
"gf-tabs-link"
ng-class=
"{active: mode === 'edit'}"
>
{{currentAnnotation.name}}
</a>
</li>
<li
class=
"gf-tabs-item"
>
<a
class=
"gf-tabs-link"
ng-click=
"mode = 'new';"
ng-class=
"{active: mode === 'new'}"
>
<i
class=
"fa fa-plus"
></i>
New
</a>
</li>
</ul>
<li
ng-class=
"{active: mode === 'new'}"
>
<a
ng-click=
"mode = 'new';"
>
<i
class=
"fa fa-plus"
></i>
New
</a>
</li>
</ul>
</div>
<button
class=
"gf-box-header-close-btn"
ng-click=
"dismiss();"
>
<button
class=
"tabbed-view-close-btn"
ng-click=
"dismiss();"
>
<i
class=
"fa fa-remove"
></i>
</button>
</div>
<div
class=
"gf-box-body"
>
<div
class=
"tabbed-view-body"
>
<div
class=
"editor-row row"
ng-if=
"mode === 'list'"
>
<div
class=
"span6"
>
<div
ng-if=
"annotations.length === 0"
>
...
...
@@ -48,13 +43,13 @@
<td
style=
"width: 1%"
><i
ng-click=
"_.move(annotations,$index,$index-1)"
ng-hide=
"$first"
class=
"pointer fa fa-arrow-up"
></i></td>
<td
style=
"width: 1%"
><i
ng-click=
"_.move(annotations,$index,$index+1)"
ng-hide=
"$last"
class=
"pointer fa fa-arrow-down"
></i></td>
<td
style=
"width: 1%"
class=
"nobg"
>
<td
style=
"width: 1%"
>
<a
ng-click=
"edit(annotation)"
class=
"btn btn-inverse btn-mini"
>
<i
class=
"fa fa-edit"
></i>
Edit
</a>
</td>
<td
style=
"width: 1%"
class=
"nobg"
>
<td
style=
"width: 1%"
>
<a
ng-click=
"removeAnnotation(annotation)"
class=
"btn btn-danger btn-mini"
>
<i
class=
"fa fa-remove"
></i>
</a>
...
...
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