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
e7b718ed
Commit
e7b718ed
authored
Oct 12, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fixed links on new 404 page, fixes #9493
parent
b5727949
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
public/app/core/controllers/error_ctrl.js
+4
-2
public/app/partials/error.html
+2
-2
public/sass/pages/_errorpage.scss
+1
-1
tslint.json
+1
-1
No files found.
public/app/core/controllers/error_ctrl.js
View file @
e7b718ed
define
([
define
([
'angular'
,
'angular'
,
'app/core/config'
,
'../core_module'
,
'../core_module'
,
],
],
function
(
angular
,
coreModule
)
{
function
(
angular
,
co
nfig
,
co
reModule
)
{
'use strict'
;
'use strict'
;
coreModule
.
default
.
controller
(
'ErrorCtrl'
,
function
(
$scope
,
contextSrv
,
navModelSrv
)
{
coreModule
.
default
.
controller
(
'ErrorCtrl'
,
function
(
$scope
,
contextSrv
,
navModelSrv
)
{
$scope
.
navModel
=
navModelSrv
.
getNotFoundNav
();
$scope
.
navModel
=
navModelSrv
.
getNotFoundNav
();
$scope
.
appSubUrl
=
config
.
appSubUrl
;
var
showSideMenu
=
contextSrv
.
sidemenu
;
var
showSideMenu
=
contextSrv
.
sidemenu
;
contextSrv
.
sidemenu
=
false
;
contextSrv
.
sidemenu
=
false
;
$scope
.
$on
(
'$destroy'
,
function
()
{
$scope
.
$on
(
'$destroy'
,
function
()
{
$scope
.
contextSrv
.
sidemenu
=
showSideMenu
;
contextSrv
.
sidemenu
=
showSideMenu
;
});
});
});
});
...
...
public/app/partials/error.html
View file @
e7b718ed
...
@@ -42,8 +42,8 @@
...
@@ -42,8 +42,8 @@
</div>
</div>
<div>
<div>
<h3>
Sorry for the inconvenience
</h3>
<h3>
Sorry for the inconvenience
</h3>
<p>
Please go back to your
<a
href=
"
#
"
class=
"error-link"
>
home dashboard
</a>
and try again.
</p>
<p>
Please go back to your
<a
href=
"
{{appSubUrl}}/
"
class=
"error-link"
>
home dashboard
</a>
and try again.
</p>
<p>
If the error persists, seek help on the
<a
href=
"
#
"
class=
"error-link"
>
community site
</a>
.
</p>
<p>
If the error persists, seek help on the
<a
href=
"
https://community.grafana.com"
target=
"_blank
"
class=
"error-link"
>
community site
</a>
.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
public/sass/pages/_errorpage.scss
View file @
e7b718ed
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
line-height
:
1rem
;
line-height
:
1rem
;
}
}
.error-link
{
color
:
$
yellow
;}
.error-link
{
color
:
$
orange
;}
.error-minus
{
.error-minus
{
color
:
#7eb26d
;
color
:
#7eb26d
;
...
...
tslint.json
View file @
e7b718ed
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
"rules"
:
{
"rules"
:
{
"no-string-throw"
:
true
,
"no-string-throw"
:
true
,
"no-unused-expression"
:
true
,
"no-unused-expression"
:
true
,
"no-duplicate-variable"
:
true
,
"no-unused-variable"
:
true
,
"no-unused-variable"
:
true
,
"no-duplicate-variable"
:
true
,
"curly"
:
true
,
"curly"
:
true
,
"class-name"
:
true
,
"class-name"
:
true
,
"semicolon"
:
[
true
,
"always"
,
"ignore-bound-class-methods"
],
"semicolon"
:
[
true
,
"always"
,
"ignore-bound-class-methods"
],
...
...
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