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
fdf4bad1
Commit
fdf4bad1
authored
Dec 15, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: sidemenu profile main text is now username instead of name
parent
7bec1955
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
pkg/api/index.go
+2
-2
public/app/core/routes/routes.ts
+1
-1
public/sass/components/_footer.scss
+8
-0
No files found.
pkg/api/index.go
View file @
fdf4bad1
...
...
@@ -120,8 +120,8 @@ func setIndexViewData(c *middleware.Context) (*dtos.IndexViewData, error) {
if
c
.
IsSignedIn
{
profileNode
:=
&
dtos
.
NavLink
{
Text
:
c
.
SignedInUser
.
Name
,
SubTitle
:
c
.
SignedInUser
.
Login
,
Text
:
c
.
SignedInUser
.
Login
,
SubTitle
:
c
.
SignedInUser
.
Name
,
Id
:
"profile"
,
Img
:
data
.
User
.
GravatarUrl
,
Url
:
setting
.
AppSubUrl
+
"/profile"
,
...
...
public/app/core/routes/routes.ts
View file @
fdf4bad1
...
...
@@ -199,7 +199,7 @@ function setupAngularRoutes($routeProvider, $locationProvider) {
.
when
(
'/login'
,
{
templateUrl
:
'public/app/partials/login.html'
,
controller
:
'LoginCtrl'
,
pageClass
:
'sidemenu-hidden'
,
pageClass
:
'
login-page
sidemenu-hidden'
,
})
.
when
(
'/invite/:code'
,
{
templateUrl
:
'public/app/partials/signup_invited.html'
,
...
...
public/sass/components/_footer.scss
View file @
fdf4bad1
...
...
@@ -6,6 +6,7 @@
color
:
$footer-link-color
;
padding
:
5rem
0
1rem
0
;
font-size
:
$font-size-sm
;
position
:
relative
;
width
:
98%
;
/* was causing horiz scrollbars - need to examine */
a
{
...
...
@@ -36,3 +37,10 @@
}
}
}
.login-page
{
.footer
{
position
:
absolute
;
bottom
:
$spacer
;
}
}
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