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
6f6cd511
Commit
6f6cd511
authored
Dec 26, 2013
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes after upstream merge
parent
4aceb608
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
9 deletions
+17
-9
src/app/directives/configModal.js
+6
-0
src/app/directives/kibanaPanel.js
+2
-2
src/app/panels/graphite/module.js
+7
-4
src/app/partials/dasheditor.html
+0
-0
src/css/bootstrap.dark.min.css
+0
-0
src/vendor/bootstrap/less/grafana.less
+2
-3
No files found.
src/app/directives/configModal.js
View file @
6f6cd511
...
...
@@ -14,6 +14,12 @@ function (angular) {
// create a new modal. Can't reuse one modal unforunately as the directive will not
// re-render on show.
elem
.
bind
(
'click'
,
function
(){
if
(
scope
.
openConfigureModal
)
{
scope
.
openConfigureModal
();
scope
.
$apply
();
return
;
}
var
panelModal
=
$modal
({
template
:
'./app/partials/paneleditor.html'
,
persist
:
true
,
...
...
src/app/directives/kibanaPanel.js
View file @
6f6cd511
...
...
@@ -34,7 +34,7 @@ function (angular) {
'<span class="row-text">{{panel.type}}</span>'
+
'</span>'
+
'<span class="row-button extra" ng-show="panel.editable != false">'
+
'<span class="row-button extra" ng-show="panel.editable != false">'
+
'<span config-modal class="pointer">'
+
'<i class="icon-cog pointer" bs-tooltip="
\'
Configure
\'
"></i></span>'
+
'</span>'
+
...
...
@@ -50,7 +50,7 @@ function (angular) {
'</span>'
+
'</span>'
+
'<span class="row-button row-text panel-title pointer" ng-show="panel.title" ng-click="openConfigureModal(
$event
)">'
+
'<span class="row-button row-text panel-title pointer" ng-show="panel.title" ng-click="openConfigureModal()">'
+
'{{panel.title}}'
+
'</span>'
+
...
...
src/app/panels/graphite/module.js
View file @
6f6cd511
...
...
@@ -211,7 +211,7 @@ function (angular, app, $, _, kbn, moment, timeSeries, graphiteSrv, RQ) {
$scope
.
init
=
function
()
{
$scope
.
openConfigureModal
(
{
preventDefault
:
function
()
{},
stopPropagation
:
function
()
{}
}
);
$scope
.
openConfigureModal
();
// Hide view options by default
$scope
.
options
=
false
;
...
...
@@ -398,9 +398,12 @@ function (angular, app, $, _, kbn, moment, timeSeries, graphiteSrv, RQ) {
$scope
.
panel
.
targets
.
push
({
target
:
''
});
};
$scope
.
openConfigureModal
=
function
(
$event
)
{
$event
.
preventDefault
();
$event
.
stopPropagation
();
$scope
.
openConfigureModal
=
function
()
{
if
(
$scope
.
inEditMode
)
{
$rootScope
.
$emit
(
'fullEditMode'
,
false
);
return
;
}
var
oldHeight
=
$scope
.
row
.
height
;
$scope
.
row
.
height
=
200
;
...
...
src/app/partials/dasheditor.html
View file @
6f6cd511
This diff is collapsed.
Click to expand it.
src/css/bootstrap.dark.min.css
View file @
6f6cd511
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/vendor/bootstrap/less/grafana.less
View file @
6f6cd511
...
...
@@ -19,9 +19,8 @@
}
.modal {
width: 770px;
margin-left: -385px;
top: 100px !important;
margin: 5%;
width: 90%;
}
.grafana-search-metric-actions {
...
...
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