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
fb4925a8
Commit
fb4925a8
authored
Dec 07, 2018
by
David Kaltschmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rebase fixes
parent
acd52e6a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
8 deletions
+18
-8
public/app/features/explore/Logs.tsx
+10
-8
public/sass/components/_panel_logs.scss
+8
-0
No files found.
public/app/features/explore/Logs.tsx
View file @
fb4925a8
...
...
@@ -180,7 +180,7 @@ class Row extends PureComponent<RowProps, RowState> {
{
showDuplicates
&&
(
<
div
className=
"logs-row__duplicates"
>
{
row
.
duplicates
>
0
?
`${row.duplicates + 1}x`
:
null
}
</
div
>
)
}
<
div
className=
{
row
.
logLevel
?
`logs-row__level logs
__row-level
-${row.logLevel}`
:
''
}
/>
<
div
className=
{
row
.
logLevel
?
`logs-row__level logs
-row__level-
-${row.logLevel}`
:
''
}
/>
{
showUtc
&&
(
<
div
className=
"logs-row__time"
title=
{
`Local: ${row.timeLocal} (${row.timeFromNow})`
}
>
{
row
.
timestamp
}
...
...
@@ -217,13 +217,15 @@ class Row extends PureComponent<RowProps, RowState> {
)
}
{
!
parsed
&&
!
needsHighlighter
&&
row
.
entry
}
{
showFieldStats
&&
(
<
Stats
stats=
{
fieldStats
}
label=
{
fieldLabel
}
value=
{
fieldValue
}
onClickClose=
{
this
.
onClickClose
}
rowCount=
{
fieldCount
}
/>
<
div
className=
"logs-row__stats"
>
<
Stats
stats=
{
fieldStats
}
label=
{
fieldLabel
}
value=
{
fieldValue
}
onClickClose=
{
this
.
onClickClose
}
rowCount=
{
fieldCount
}
/>
</
div
>
)
}
</
div
>
</
div
>
...
...
public/sass/components/_panel_logs.scss
View file @
fb4925a8
...
...
@@ -171,6 +171,14 @@ $column-horizontal-spacing: 10px;
}
}
.logs-row__stats
{
margin
:
5px
0
;
background-color
:
$popover-bg
;
color
:
$popover-color
;
border
:
1px
solid
$popover-border-color
;
padding
:
10px
;
}
.logs-row__field-highlight
:hover
{
color
:
$typeahead-selected-color
;
border-bottom-style
:
solid
;
...
...
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