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
8354c64f
Commit
8354c64f
authored
Dec 11, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into develop-settings
parents
09cc60ff
795d9c03
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
17 deletions
+25
-17
pkg/cmd/grafana-server/main.go
+1
-1
public/app/features/dashboard/dashboardLoaderSrv.js
+1
-1
public/sass/components/_navbar.scss
+22
-7
public/sass/components/_sidemenu.scss
+1
-8
No files found.
pkg/cmd/grafana-server/main.go
View file @
8354c64f
...
...
@@ -30,7 +30,7 @@ import (
_
"github.com/grafana/grafana/pkg/tsdb/testdata"
)
var
version
=
"
4.6
.0"
var
version
=
"
5.0
.0"
var
commit
=
"NA"
var
buildstamp
string
var
build_date
string
...
...
public/app/features/dashboard/dashboardLoaderSrv.js
View file @
8354c64f
...
...
@@ -43,7 +43,7 @@ function (angular, moment, _, $, kbn, dateMath, impressionSrv) {
});
}
else
{
promise
=
backendSrv
.
getDashboard
(
$routeParams
.
type
,
$routeParams
.
slug
)
.
then
(
result
=>
{
.
then
(
function
(
result
)
{
if
(
result
.
meta
.
isFolder
)
{
$rootScope
.
appEvent
(
"alert-error"
,
[
'Dashboard not found'
]);
throw
new
Error
(
"Dashboard not found"
);
...
...
public/sass/components/_navbar.scss
View file @
8354c64f
.navbar
{
position
:
relative
;
padding-left
:
$side-menu-width
;
margin-left
:
40px
;
z-index
:
$zindex-navbar-fixed
;
height
:
$navbarHeight
;
padding-right
:
$spacer
;
...
...
@@ -48,12 +48,6 @@
}
}
.sidemenu-open
{
.navbar
{
padding-left
:
15px
;
}
}
.navbar-page-btn
{
text-overflow
:
ellipsis
;
overflow
:
hidden
;
...
...
@@ -82,6 +76,8 @@
line-height
:
8px
;
opacity
:
0
.75
;
margin-right
:
8px
;
// icon hidden on smaller screens
display
:
none
;
}
}
...
...
@@ -143,3 +139,22 @@
@include
buttonBackground
(
$btn-secondary-bg
,
$btn-secondary-bg-hl
);
}
}
@include
media-breakpoint-up
(
sm
)
{
.navbar
{
margin-left
:
50px
;
}
.sidemenu-open
{
.navbar
{
margin-left
:
15px
;
}
}
.navbar-page-btn
{
.gicon
{
display
:
inline-block
;
}
}
}
public/sass/components/_sidemenu.scss
View file @
8354c64f
...
...
@@ -16,7 +16,6 @@
.sidemenu__close
{
display
:
none
;
}
}
// body class that hides sidemenu
...
...
@@ -191,12 +190,6 @@ li.sidemenu-org-switcher {
}
@include
media-breakpoint-down
(
xs
)
{
.sidemenu-open
{
.navbar
{
padding-left
:
60px
!
important
;
}
}
.sidemenu-open--xs
{
.sidemenu
{
width
:
100%
;
...
...
@@ -227,7 +220,7 @@ li.sidemenu-org-switcher {
}
.sidemenu__logo_small_breakpoint
{
padding
:
1
2
px
10px
26px
;
padding
:
1
6
px
10px
26px
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
...
...
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