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
dd902d5a
Commit
dd902d5a
authored
Dec 24, 2013
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
integrated parser into graphite target editor
parent
042e2a20
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
src/app/services/graphite/parser.js
+5
-4
src/css/bootstrap.dark.min.css
+0
-0
src/vendor/bootstrap/less/grafana.less
+4
-0
No files found.
src/app/services/graphite/parser.js
View file @
dd902d5a
define
([
'./lexer'
],
function
(
Lexer
)
{
'use strict'
;
var
NodeTypes
=
{
MetricExpression
:
1
,
...
...
@@ -47,7 +48,7 @@ define([
type
:
'segment'
,
value
:
this
.
tokens
[
this
.
index
].
value
}]
}
}
;
this
.
index
++
;
...
...
@@ -59,7 +60,7 @@ define([
return
null
;
}
node
.
segments
=
node
.
segments
.
concat
(
rest
.
segments
)
node
.
segments
=
node
.
segments
.
concat
(
rest
.
segments
)
;
}
return
node
;
...
...
@@ -117,7 +118,7 @@ define([
return
{
type
:
'number'
,
value
:
parseInt
(
this
.
tokens
[
this
.
index
-
1
].
value
)
value
:
parseInt
(
this
.
tokens
[
this
.
index
-
1
].
value
,
10
)
};
},
...
...
@@ -151,7 +152,7 @@ define([
match
:
function
(
token1
,
token2
)
{
return
this
.
matchToken
(
token1
,
0
)
&&
(
!
token2
||
this
.
matchToken
(
token2
,
1
))
(
!
token2
||
this
.
matchToken
(
token2
,
1
))
;
},
};
...
...
src/css/bootstrap.dark.min.css
View file @
dd902d5a
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 @
dd902d5a
...
...
@@ -147,6 +147,10 @@
}
.grafana-target-func-panel {
background: #202020;
border-top: 1px solid black;
border-bottom: 1px solid black;
ul {
list-style: none;
margin: 0;
...
...
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