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
3d60d0df
Commit
3d60d0df
authored
Dec 29, 2015
by
Carl Bergquist
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3613 from utkarshcmu/recorded
Made Playlist UI user friendly
parents
6fbba13a
b68df56b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
public/app/features/playlist/partials/playlist.html
+7
-7
public/app/features/playlist/playlistsCtrl.js
+4
-0
No files found.
public/app/features/playlist/partials/playlist.html
View file @
3d60d0df
...
...
@@ -2,6 +2,7 @@
<div
class=
"page-container"
ng-form=
"playlistEditForm"
>
<div
class=
"page"
>
<h4>
Creating new playlist
</h4><br><br>
<div
class=
"row"
style=
"margin-bottom: 10px;"
>
<div>
<div
class=
"tight-form"
>
...
...
@@ -34,7 +35,7 @@
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
>
Search
Search
<tip>
Search dashboards by their titles to add to the playlist
</tip>
</li>
<li>
<input
type=
"text"
...
...
@@ -49,13 +50,11 @@
</div>
</div>
</div>
<div
class=
"span6"
>
<h5>
Playlist dashboards
</h5>
</div>
</div>
<div
class=
"row"
>
<div
class=
"span6"
>
<div
class=
"span5"
>
<h5>
Search results
</h5>
<table
class=
"grafana-options-table"
>
<tr
ng-repeat=
"dashboard in filteredDashboards"
>
<td
style=
"white-space: nowrap;"
>
...
...
@@ -75,12 +74,13 @@
</tr>
<tr
ng-if=
"isSearchQueryEmpty() && isPlaylistEmpty()"
>
<td
colspan=
"2"
>
<i
class=
"fa fa-warning"
></i>
Playlist
empty
<i
class=
"fa fa-warning"
></i>
Search results
empty
</td>
</tr>
</table>
</div>
<div
class=
"span6"
>
<div
class=
"span5"
>
<h5>
Playlist dashboards
</h5>
<table
class=
"grafana-options-table"
>
<tr
ng-repeat=
"dashboard in dashboards"
>
<td
style=
"white-space: nowrap;"
>
...
...
public/app/features/playlist/playlistsCtrl.js
View file @
3d60d0df
...
...
@@ -13,6 +13,7 @@ function (angular, _) {
$location
,
backendSrv
)
{
$scope
.
playlists
=
playlists
;
$scope
.
playlistUrl
=
function
(
playlist
)
{
...
...
@@ -40,10 +41,13 @@ function (angular, _) {
src
:
'./app/features/playlist/partials/playlist-remove.html'
,
scope
:
modalScope
});
};
$scope
.
createPlaylist
=
function
()
{
$location
.
path
(
'/playlists/create'
);
};
});
});
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