mirror of
https://github.com/grafana/grafana.git
synced 2024-12-28 18:01:40 -06:00
Opening search closes fullscreen edit or fullscreen view
This commit is contained in:
parent
de51aeab7b
commit
dc03ca8879
@ -17,6 +17,10 @@ function (angular, _, config) {
|
||||
$scope.query = { query: '', tag: '', starred: false };
|
||||
$scope.currentSearchId = 0;
|
||||
|
||||
if ($scope.dashboardViewState.fullscreen) {
|
||||
$scope.exitFullscreen();
|
||||
}
|
||||
|
||||
$timeout(function() {
|
||||
$scope.giveSearchFocus = $scope.giveSearchFocus + 1;
|
||||
$scope.query.query = '';
|
||||
|
@ -16,12 +16,7 @@ function (angular, _, config) {
|
||||
$scope.inspector = {};
|
||||
|
||||
$scope.editPanel = function() {
|
||||
if ($scope.panelMeta.fullscreen) {
|
||||
$scope.toggleFullscreen(true);
|
||||
}
|
||||
else {
|
||||
$scope.appEvent('show-dash-editor', { src: 'app/partials/paneleditor.html', scope: $scope });
|
||||
}
|
||||
$scope.toggleFullscreen(true);
|
||||
};
|
||||
|
||||
$scope.sharePanel = function() {
|
||||
|
@ -32,7 +32,7 @@
|
||||
</div>
|
||||
|
||||
<button class="gf-box-header-close-btn" ng-click="exitFullscreen();">
|
||||
<i class="fa fa-remove"></i>
|
||||
Back to dashboard
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
2
public/css/bootstrap.dark.min.css
vendored
2
public/css/bootstrap.dark.min.css
vendored
File diff suppressed because one or more lines are too long
2
public/css/bootstrap.light.min.css
vendored
2
public/css/bootstrap.light.min.css
vendored
File diff suppressed because one or more lines are too long
2
public/css/grafana.dark.min.css
vendored
2
public/css/grafana.dark.min.css
vendored
File diff suppressed because one or more lines are too long
2
public/css/grafana.light.min.css
vendored
2
public/css/grafana.light.min.css
vendored
File diff suppressed because one or more lines are too long
@ -16,7 +16,9 @@
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
padding: 8px;
|
||||
font-size: 120%;
|
||||
i {
|
||||
font-size: 120%;
|
||||
}
|
||||
color: @textColor;
|
||||
&:hover {
|
||||
color: @white;
|
||||
|
@ -3,8 +3,9 @@
|
||||
top: 88px;
|
||||
}
|
||||
}
|
||||
|
||||
.submenu-controls {
|
||||
margin: 10px 10px 0 0px;
|
||||
margin: 10px 10px 0 5px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
|
@ -89,7 +89,7 @@
|
||||
padding-left: 18px;
|
||||
}
|
||||
&.annotation-segment {
|
||||
padding: 8px 10px;
|
||||
padding: 8px 13px;
|
||||
}
|
||||
|
||||
&.last {
|
||||
|
Loading…
Reference in New Issue
Block a user