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
1d325cf6
Unverified
Commit
1d325cf6
authored
Dec 13, 2018
by
Torkel Ödegaard
Committed by
GitHub
Dec 13, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14423 from grafana/14378-develop-table-options-ux
Removed side menu for column styles
parents
a9e98fee
ee55a9c1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
21 deletions
+15
-21
public/app/plugins/panel/table/column_options.html
+11
-21
public/sass/components/edit_sidemenu.scss
+4
-0
No files found.
public/app/plugins/panel/table/column_options.html
View file @
1d325cf6
<div
class=
"edit-tab-with-sidemenu"
>
<div
class=
"edit-tab-content"
ng-repeat=
"style in editor.panel.styles"
>
<aside
class=
"edit-sidemenu-aside"
>
<p
class=
"column-styles-heading"
>
{{style.pattern || 'New rule'}}
</p>
<ul
class=
"edit-sidemenu"
>
<li
ng-repeat=
"style in editor.panel.styles"
ng-class=
"{active: editor.activeStyleIndex === $index}"
>
<a
ng-click=
"editor.activeStyleIndex = $index"
>
{{style.pattern || 'New rule'}}
</a>
</li>
<li>
<a
class=
"pointer"
ng-click=
"editor.addColumnStyle()"
>
<i
class=
"fa fa-plus"
></i>
Add
</a>
</li>
</ul>
</aside>
<div
class=
"edit-tab-content"
ng-repeat=
"style in editor.panel.styles"
ng-if=
"editor.activeStyleIndex === $index"
>
<div
class=
"section gf-form-group"
>
<div
class=
"section gf-form-group"
>
<h5
class=
"section-heading"
>
Options
</h5>
<h5
class=
"section-heading"
>
Options
</h5>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form-inline"
>
...
@@ -182,7 +168,8 @@
...
@@ -182,7 +168,8 @@
<span>
<span>
This title appears when user hovers pointer over the cell with link. Use the same variables as for URL.
This title appears when user hovers pointer over the cell with link. Use the same variables as for URL.
</span>
</span>
</info-popover></label>
</info-popover>
</label>
<input
type=
"text"
class=
"gf-form-input width-29"
ng-model=
"style.linkTooltip"
ng-blur=
"editor.render()"
ng-model-onblur
<input
type=
"text"
class=
"gf-form-input width-29"
ng-model=
"style.linkTooltip"
ng-blur=
"editor.render()"
ng-model-onblur
data-placement=
"right"
>
data-placement=
"right"
>
</div>
</div>
...
@@ -190,11 +177,14 @@
...
@@ -190,11 +177,14 @@
</div>
</div>
<div
class=
"clearfix"
></div>
<div
class=
"clearfix"
></div>
<div
class=
"gf-form-group"
>
<button
class=
"btn btn-danger btn-small"
ng-click=
"editor.removeColumnStyle(style)"
>
<button
class=
"btn btn-danger btn-small"
ng-click=
"editor.removeColumnStyle(style)"
>
<i
class=
"fa fa-trash"
></i>
Remove Rule
<i
class=
"fa fa-trash"
></i>
Remove Rule
</button>
</button>
<br
/>
<br
/>
</div>
</div>
</div>
<div
class=
"gf-form-button-row"
>
<button
class=
"btn btn-inverse"
ng-click=
"editor.addColumnStyle()"
>
<i
class=
"fa fa-plus"
></i>
Add column style
</button>
</div>
public/sass/components/edit_sidemenu.scss
View file @
1d325cf6
...
@@ -28,6 +28,10 @@
...
@@ -28,6 +28,10 @@
}
}
}
}
.column-styles-heading
{
border-bottom
:
1px
solid
$gray-1
;
}
@include
media-breakpoint-down
(
sm
)
{
@include
media-breakpoint-down
(
sm
)
{
.edit-tab-with-sidemenu
{
.edit-tab-with-sidemenu
{
flex-direction
:
column
;
flex-direction
:
column
;
...
...
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