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
be3d38ac
Commit
be3d38ac
authored
Feb 24, 2016
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(annotations): move create new button to bottom of page
parent
b490bdfe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
public/app/features/annotations/partials/editor.html
+9
-7
No files found.
public/app/features/annotations/partials/editor.html
View file @
be3d38ac
...
@@ -15,12 +15,6 @@
...
@@ -15,12 +15,6 @@
{{currentAnnotation.name}}
{{currentAnnotation.name}}
</a>
</a>
</li>
</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>
</ul>
<button
class=
"tabbed-view-close-btn"
ng-click=
"dismiss();"
>
<button
class=
"tabbed-view-close-btn"
ng-click=
"dismiss();"
>
...
@@ -57,6 +51,12 @@
...
@@ -57,6 +51,12 @@
</table>
</table>
</div>
</div>
<div
class=
"gf-form"
ng-show=
"mode === 'list'"
>
<div
class=
"gf-form-button-row"
>
<a
type=
"button"
class=
"btn gf-form-button btn-success"
ng-click=
"mode = 'new';"
><i
class=
"fa fa-plus"
></i>
New
</a>
</div>
</div>
<div
class=
"annotations-basic-settings"
ng-if=
"mode === 'edit' || mode === 'new'"
>
<div
class=
"annotations-basic-settings"
ng-if=
"mode === 'edit' || mode === 'new'"
>
<div
class=
"gf-form-group"
>
<div
class=
"gf-form-group"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form-inline"
>
...
@@ -87,9 +87,11 @@
...
@@ -87,9 +87,11 @@
<div
class=
"gf-form"
>
<div
class=
"gf-form"
>
<div
class=
"gf-form-button-row"
>
<div
class=
"gf-form-button-row"
>
<button
ng-show=
"mode === 'new'"
type=
"button"
class=
"btn gf-form-button btn-success"
ng-click=
"add()"
>
Add
</button>
<button
ng-show=
"mode === 'new'"
type=
"button"
class=
"btn gf-form-button btn-success"
ng-click=
"add()"
>
Add
</button>
<button
ng-show=
"mode === 'edit'"
type=
"button"
class=
"btn btn-success pull-left"
ng-click=
"update()
;
"
>
Update
</button>
<button
ng-show=
"mode === 'edit'"
type=
"button"
class=
"btn btn-success pull-left"
ng-click=
"update()"
>
Update
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
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