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
cfd755eb
Commit
cfd755eb
authored
Dec 12, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated new dashboard folder
parent
271c597c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
public/app/features/dashboard/create_folder_ctrl.ts
+1
-1
public/app/features/dashboard/partials/create_folder.html
+4
-4
No files found.
public/app/features/dashboard/create_folder_ctrl.ts
View file @
cfd755eb
...
@@ -7,7 +7,7 @@ export class CreateFolderCtrl {
...
@@ -7,7 +7,7 @@ export class CreateFolderCtrl {
titleTouched
=
false
;
titleTouched
=
false
;
constructor
(
private
backendSrv
,
private
$location
,
navModelSrv
)
{
constructor
(
private
backendSrv
,
private
$location
,
navModelSrv
)
{
this
.
navModel
=
navModelSrv
.
getNav
(
'
create'
,
'folder'
);
this
.
navModel
=
navModelSrv
.
getNav
(
'
dashboards'
,
'manage-dashboards'
,
0
);
}
}
create
()
{
create
()
{
...
...
public/app/features/dashboard/partials/create_folder.html
View file @
cfd755eb
...
@@ -2,12 +2,13 @@
...
@@ -2,12 +2,13 @@
<div
class=
"page-container page-body"
ng-cloak
>
<div
class=
"page-container page-body"
ng-cloak
>
<form
name=
"ctrl.saveForm"
ng-submit=
"ctrl.create()"
class=
"modal-content folder-modal"
novalidate
>
<h3
class=
"page-sub-heading"
>
New Dashboard Folder
</h3>
<div
class=
"gf-form-group"
>
<form
name=
"ctrl.saveForm"
ng-submit=
"ctrl.create()"
novalidate
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form gf-form--grow"
>
<div
class=
"gf-form gf-form--grow"
>
<label
class=
"gf-form-label width-10"
>
Folder name
</label>
<label
class=
"gf-form-label width-10"
>
Folder name
</label>
<input
type=
"text"
class=
"gf-form-input
"
ng-model=
"ctrl.title"
give-focus=
"true"
ng-change=
"ctrl.titleChanged()"
ng-model-options=
"{ debounce: 400 }"
ng-class=
"{'validation-error': ctrl.nameExists || !ctrl.dash.title}"
>
<input
type=
"text"
class=
"gf-form-input max-width-25
"
ng-model=
"ctrl.title"
give-focus=
"true"
ng-change=
"ctrl.titleChanged()"
ng-model-options=
"{ debounce: 400 }"
ng-class=
"{'validation-error': ctrl.nameExists || !ctrl.dash.title}"
>
<label
class=
"gf-form-label text-success"
ng-if=
"!ctrl.nameExists && ctrl.title"
>
<label
class=
"gf-form-label text-success"
ng-if=
"!ctrl.nameExists && ctrl.title"
>
<i
class=
"fa fa-check"
></i>
<i
class=
"fa fa-check"
></i>
</label>
</label>
...
@@ -31,7 +32,6 @@
...
@@ -31,7 +32,6 @@
</label>
</label>
</div>
</div>
</div>
</div>
</div>
<div
class=
"gf-form-button-row"
>
<div
class=
"gf-form-button-row"
>
<button
type=
"submit"
class=
"btn btn-success width-12"
ng-disabled=
"ctrl.nameExists || ctrl.title.length === 0"
>
<button
type=
"submit"
class=
"btn btn-success width-12"
ng-disabled=
"ctrl.nameExists || ctrl.title.length === 0"
>
...
...
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