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
e4d52b28
Commit
e4d52b28
authored
Feb 21, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(snapshot): fixed snapshot header, fixes #4094
parent
ac45ccba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
9 deletions
+18
-9
public/app/app.ts
+11
-0
public/app/features/dashboard/dashnav/dashnav.html
+7
-9
No files found.
public/app/app.ts
View file @
e4d52b28
...
@@ -47,6 +47,17 @@ export class GrafanaApp {
...
@@ -47,6 +47,17 @@ export class GrafanaApp {
this
.
registerFunctions
.
factory
=
$provide
.
factory
;
this
.
registerFunctions
.
factory
=
$provide
.
factory
;
this
.
registerFunctions
.
service
=
$provide
.
service
;
this
.
registerFunctions
.
service
=
$provide
.
service
;
this
.
registerFunctions
.
filter
=
$filterProvider
.
register
;
this
.
registerFunctions
.
filter
=
$filterProvider
.
register
;
$provide
.
decorator
(
"$http"
,
[
"$delegate"
,
function
(
$delegate
)
{
var
get
=
$delegate
.
get
;
$delegate
.
get
=
function
(
url
,
config
)
{
if
(
url
.
match
(
/
\.
html$/
))
{
url
+=
"?v="
+
new
Date
().
getTime
();
}
return
get
(
url
,
config
);
};
return
$delegate
;
}]);
});
});
this
.
ngModuleDependencies
=
[
this
.
ngModuleDependencies
=
[
...
...
public/app/features/dashboard/dashnav/dashnav.html
View file @
e4d52b28
...
@@ -6,15 +6,13 @@
...
@@ -6,15 +6,13 @@
<i
class=
"fa fa-caret-down"
></i>
<i
class=
"fa fa-caret-down"
></i>
</a>
</a>
<div
class=
"top-nav-btn dashnav-dashboards-btn"
ng-if=
"dashboardMeta.isSnapshot"
>
<a
class=
"pointer navbar-page-btn"
ng-if=
"dashboardMeta.isSnapshot"
bs-tooltip=
"titleTooltip"
data-placement=
"bottom"
ng-click=
"openSearch()"
>
<a
class=
"pointer"
bs-tooltip=
"titleTooltip"
data-placement=
"bottom"
ng-click=
"openSearch()"
>
<i
class=
"icon-gf icon-gf-snapshot"
></i>
<i
class=
"icon-gf icon-gf-snapshot"
></i>
<span>
<span
class=
"dashboard-title"
>
{{dashboard.title}}
{{dashboard.title}}
<em
class=
"small"
>
(snapshot)
</em>
<em
class=
"small"
>
(snapshot)
</em>
</span>
</span>
</a>
</a>
</div>
<ul
class=
"nav pull-left dashnav-action-icons"
>
<ul
class=
"nav pull-left dashnav-action-icons"
>
<li
ng-show=
"dashboardMeta.canStar"
>
<li
ng-show=
"dashboardMeta.canStar"
>
...
...
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