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
b0fae012
Commit
b0fae012
authored
Feb 14, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: refactoring #10884
parent
f2d8222a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
public/app/core/components/manage_dashboards/manage_dashboards.html
+7
-8
No files found.
public/app/core/components/manage_dashboards/manage_dashboards.html
View file @
b0fae012
<div
class=
"dashboard-list"
>
<div
class=
"page-action-bar page-action-bar--narrow"
ng-hide=
"ctrl.
canSave && ctrl.
folderId && !ctrl.hasFilters && ctrl.sections.length === 0"
>
<div
class=
"page-action-bar page-action-bar--narrow"
ng-hide=
"ctrl.folderId && !ctrl.hasFilters && ctrl.sections.length === 0"
>
<label
class=
"gf-form gf-form--grow gf-form--has-input-icon"
>
<input
type=
"text"
class=
"gf-form-input max-width-30"
placeholder=
"Find Dashboard by name"
tabindex=
"1"
give-focus=
"true"
ng-model=
"ctrl.query.query"
ng-model-options=
"{ debounce: 500 }"
spellcheck=
'false'
ng-change=
"ctrl.onQueryChange()"
/>
<i
class=
"gf-form-input-icon fa fa-search"
></i>
...
...
@@ -52,6 +52,12 @@
</em>
</div>
<div
class=
"search-results"
ng-show=
"!ctrl.folderId && !ctrl.hasFilters && ctrl.sections.length === 0"
>
<em
class=
"muted"
>
No dashboards found.
</em>
</div>
<div
class=
"search-results"
ng-show=
"ctrl.sections.length > 0"
>
<div
class=
"search-results-filter-row"
>
<gf-form-switch
...
...
@@ -104,15 +110,8 @@
</div>
</div>
<div
class=
"search-results"
ng-show=
"!ctrl.canSave && !ctrl.hasFilters && ctrl.sections.length === 0"
>
<em
class=
"muted"
>
This org has no dashboards or folders.
</em>
</div>
</div>
<div
ng-if=
"ctrl.canSave && ctrl.folderId && !ctrl.hasFilters && ctrl.sections.length === 0"
>
<empty-list-cta
model=
"{
title: 'This folder doesn\'t have any dashboards yet',
...
...
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