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
317f2d04
Commit
317f2d04
authored
Feb 19, 2016
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(playlist): migrate to new stylesheet
parent
c21b3530
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
18 deletions
+15
-18
public/app/features/playlist/partials/playlist.html
+15
-17
public/sass/pages/_playlist.scss
+0
-1
No files found.
public/app/features/playlist/partials/playlist.html
View file @
317f2d04
...
...
@@ -2,25 +2,25 @@
</navbar>
<div
class=
"page-container"
ng-form=
"playlistEditForm"
>
<div
class=
"page-header"
>
<h1
ng-show=
"ctrl.isNew()"
>
New Playlist
</h1>
<h1
ng-show=
"!ctrl.isNew()"
>
Edit Playlist
</h1>
<h3>
Name and interval
</h3>
</div>
<div
class=
"gf-form-group"
>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label gf-size-s"
>
Name
</span>
<input
type=
"text"
required
ng-model=
"ctrl.playlist.name"
class=
"gf-form-input gf-
form-size-
xl"
>
<span
class=
"gf-form-label gf-size-s
m
"
>
Name
</span>
<input
type=
"text"
required
ng-model=
"ctrl.playlist.name"
class=
"gf-form-input gf-
size-max-x
xl"
>
</div>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label gf-size-s"
>
Interval
</span>
<input
type=
"text"
required
ng-model=
"ctrl.playlist.interval"
placeholder=
"5m"
class=
"gf-form-input gf-
form-s
"
>
<span
class=
"gf-form-label gf-size-s
m
"
>
Interval
</span>
<input
type=
"text"
required
ng-model=
"ctrl.playlist.interval"
placeholder=
"5m"
class=
"gf-form-input gf-
size-max-xxl
"
>
</div>
</div>
<div
class=
"
row
"
>
<div
class=
"
col-xl-6
"
>
<h5>
Add dashboards
</h5>
<div
class=
"
gf-form-group
"
>
<div
class=
"
gf-size-max-xxxl
"
>
<h5
class=
"page-headering"
>
Add dashboards
</h5>
<div
style=
""
>
<playlist-search
class=
"playlist-search-container"
search-started=
"ctrl.searchStarted(promise)"
></playlist-search>
</div>
...
...
@@ -28,8 +28,8 @@
</div>
<div
class=
"row"
>
<div
class=
"col-
lg-5
"
>
<h5>
Search results ({{ctrl.filteredDashboards.length}})
</h5>
<div
class=
"col-
md-6
"
>
<h5>
Search results ({{ctrl.filteredDashboards.length
+ ctrl.filteredTags.length
}})
</h5>
<div
ng-if=
"ctrl.filteredDashboards.length > 0"
>
<table
class=
"grafana-options-table"
>
<tr
ng-repeat=
"playlistItem in ctrl.filteredDashboards"
>
...
...
@@ -44,7 +44,8 @@
</td>
</tr>
</table>
<div
class=
"playlist-search-results-container"
ng-if=
"ctrl.filteredTags.length > 0"
>
</div>
<div
class=
"playlist-search-results-container"
ng-if=
"ctrl.filteredTags.length > 0;"
>
<div
ng-repeat=
"tag in ctrl.filteredTags"
class=
"pointer"
style=
"width: 180px; float: left;"
ng-click=
"ctrl.addTagPlaylistItem(tag, $event)"
>
<a
class=
"search-result-tag label label-tag"
tag-color-from-name=
"tag.term"
>
...
...
@@ -54,9 +55,8 @@
</div>
</div>
</div>
</div>
<div
class=
"col-
lg-5
"
>
<div
class=
"col-
md-6
"
>
<h5>
Added dashboards
</h5>
<table
class=
"grafana-options-table"
>
<tr
ng-repeat=
"playlistItem in ctrl.playlistItems"
>
...
...
@@ -88,12 +88,10 @@
<div
class=
"clearfix"
></div>
<div
class=
"
pull-left"
style=
"margin-top: 25px;
"
>
<div
class=
"
gf-form-button-row
"
>
<a
class=
"btn btn-success"
ng-disabled=
"ctrl.playlistEditForm.$invalid || ctrl.isPlaylistEmpty()"
ng-click=
"ctrl.savePlaylist(ctrl.playlist, ctrl.playlistItems)"
>
Save
</a>
<a
class=
"btn-text"
ng-click=
"ctrl.backToList()"
>
Cancel
</a>
</div>
<div
class=
"clearfix"
></div>
</div>
public/sass/pages/_playlist.scss
View file @
317f2d04
.playlist-search-container
{
// margin: 15px;
z-index
:
1000
;
position
:
relative
;
width
:
700px
;
...
...
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