Commit b9604bf3 by Torkel Ödegaard

Merge branch 'master' into panel_edit_menu_poc

parents 622c1a1d 978a345a
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
- [Issue #846](https://github.com/grafana/grafana/issues/846). Edit panes: Issue when open row or json editor when scrolled down the page, unable to scroll and you did not see editor - [Issue #846](https://github.com/grafana/grafana/issues/846). Edit panes: Issue when open row or json editor when scrolled down the page, unable to scroll and you did not see editor
- [Issue #840](https://github.com/grafana/grafana/issues/840). Import: Fixes to import from json file and import from graphite. Issues was lingering state from previous dashboard. - [Issue #840](https://github.com/grafana/grafana/issues/840). Import: Fixes to import from json file and import from graphite. Issues was lingering state from previous dashboard.
- [Issue #859](https://github.com/grafana/grafana/issues/859). InfluxDB: Fix for bug when saving dashboard where title is the same as slugified url id - [Issue #859](https://github.com/grafana/grafana/issues/859). InfluxDB: Fix for bug when saving dashboard where title is the same as slugified url id
- [Issue #852](https://github.com/grafana/grafana/issues/852). White theme: Fixes for hidden series legend text and disabled annotations color
# 1.8.0 (2014-09-22) # 1.8.0 (2014-09-22)
......
...@@ -93,7 +93,7 @@ function (angular, _, moment, config, store) { ...@@ -93,7 +93,7 @@ function (angular, _, moment, config, store) {
}; };
$scope.deleteDashboard = function(evt, options) { $scope.deleteDashboard = function(evt, options) {
if (!confirm('Are you sure you want to delete dashboard?')) { if (!confirm('Do you want to delete dashboard ' + options.title + ' ?')) {
return; return;
} }
......
...@@ -121,7 +121,7 @@ function (angular, _, config, $) { ...@@ -121,7 +121,7 @@ function (angular, _, config, $) {
$scope.deleteDashboard = function(dash, evt) { $scope.deleteDashboard = function(dash, evt) {
evt.stopPropagation(); evt.stopPropagation();
$scope.emitAppEvent('delete-dashboard', { id: dash.id }); $scope.emitAppEvent('delete-dashboard', { id: dash.id, title: dash.title });
$scope.results.dashboards = _.without($scope.results.dashboards, dash); $scope.results.dashboards = _.without($scope.results.dashboards, dash);
}; };
......
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
</div> </div>
<section class="grafana-metric-options"> <section class="grafana-metric-options">
<div class="grafana-target">
<div class="grafana-target-inner"> <div class="grafana-target-inner">
<ul class="grafana-segment-list"> <ul class="grafana-segment-list">
<li class="grafana-target-segment grafana-target-segment-icon"> <li class="grafana-target-segment grafana-target-segment-icon">
...@@ -125,6 +126,7 @@ ...@@ -125,6 +126,7 @@
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
</div> </div>
</div>
</section> </section>
<div class="editor-row"> <div class="editor-row">
......
...@@ -17,9 +17,6 @@ ...@@ -17,9 +17,6 @@
</ul> </ul>
<ul class="grafana-segment-list" ng-if="dashboard.templating.enable"> <ul class="grafana-segment-list" ng-if="dashboard.templating.enable">
<li class="small grafana-target-segment">
<strong>VARIABLES</strong>
</li>
<li ng-repeat-start="variable in variables" class="grafana-target-segment template-param-name"> <li ng-repeat-start="variable in variables" class="grafana-target-segment template-param-name">
<span class="template-variable "> <span class="template-variable ">
${{variable.name}}: ${{variable.name}}:
...@@ -31,10 +28,6 @@ ...@@ -31,10 +28,6 @@
</ul> </ul>
<ul class="grafana-segment-list" ng-if="dashboard.annotations.enable"> <ul class="grafana-segment-list" ng-if="dashboard.annotations.enable">
<li class="small grafana-target-segment">
<strong>ANNOTATIONS</strong>
</li>
<li ng-repeat="annotation in dashboard.annotations.list" class="grafana-target-segment annotation-segment" ng-class="{'annotation-disabled': !annotation.enable}"> <li ng-repeat="annotation in dashboard.annotations.list" class="grafana-target-segment annotation-segment" ng-class="{'annotation-disabled': !annotation.enable}">
<a ng-click="disableAnnotation(annotation)"> <a ng-click="disableAnnotation(annotation)">
<i class="annotation-color-icon icon-bolt"></i> <i class="annotation-color-icon icon-bolt"></i>
......
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
.graph-legend-series-hidden { .graph-legend-series-hidden {
a { a {
color: darken(@linkColor, 45%); color: @linkColorDisabled;
} }
} }
......
...@@ -5,6 +5,6 @@ ...@@ -5,6 +5,6 @@
} }
.annotation-disabled, .annotation-disabled a { .annotation-disabled, .annotation-disabled a {
color: darken(@textColor, 25%); color: @linkColorDisabled;
} }
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
// Links // Links
// ------------------------- // -------------------------
@linkColor: darken(@white,11%); @linkColor: darken(@white,11%);
@linkColorDisabled: darken(@linkColor,45%);
@linkColorHover: @white; @linkColorHover: @white;
......
...@@ -54,12 +54,13 @@ ...@@ -54,12 +54,13 @@
// Scaffolding // Scaffolding
// ------------------------- // -------------------------
@bodyBackground: @grayLighter; @bodyBackground: @grayLighter;
@textColor: #555; @textColor: #666;
// Links // Links
// ------------------------- // -------------------------
@linkColor: @textColor; @linkColor: @textColor;
@linkColorDisabled: lighten(@linkColor,35%);
@linkColorHover: @blue; @linkColorHover: @blue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment