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
edd8d63c
Commit
edd8d63c
authored
Aug 24, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:famousgarkin/grafana into famousgarkin-master
parents
ffbdea78
2b1dcaf5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletions
+13
-1
src/app/components/settings.js
+1
-0
src/app/controllers/dashboardCtrl.js
+1
-1
src/config.sample.js
+11
-0
No files found.
src/app/components/settings.js
View file @
edd8d63c
...
...
@@ -14,6 +14,7 @@ function (_, crypto) {
*/
var
defaults
=
{
datasources
:
{},
title
:
'Grafana - '
,
panels
:
[
'graph'
,
'text'
],
plugins
:
{},
default_route
:
'/dashboard/file/default.json'
,
...
...
src/app/controllers/dashboardCtrl.js
View file @
edd8d63c
...
...
@@ -56,7 +56,7 @@ function (angular, $, config, _) {
$scope
.
panelMoveOver
=
panelMove
.
onOver
;
$scope
.
panelMoveOut
=
panelMove
.
onOut
;
window
.
document
.
title
=
'Grafana - '
+
$scope
.
dashboard
.
title
;
window
.
document
.
title
=
(
config
.
title
?
config
.
title
:
''
)
+
$scope
.
dashboard
.
title
;
// start auto refresh
if
(
$scope
.
dashboard
.
refresh
)
{
...
...
src/config.sample.js
View file @
edd8d63c
...
...
@@ -73,6 +73,17 @@ function (Settings) {
* ========================================================
*/
/* title:
* The global page title prefix that is prepended before the specific dashboard titles.
* Defaults to 'Grafana - '.
*
* title: undefined, // default prefix, page title = 'Grafana - <dashboard title>'
* title: null, // no prefix, page title = <dashboard title>
* title: '', // no prefix, page title = <dashboard title>
* title: 'Custom | ', // custom prefix, page title = 'Custom | <dashboard title>'
*/
title
:
undefined
,
// specify the limit for dashboard search results
search
:
{
max_results
:
20
...
...
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