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
9cadf0aa
Commit
9cadf0aa
authored
Feb 06, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated phantomjs render script and wercker link in readme
parent
397dfc54
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
README.md
+1
-1
vendor/phantomjs/render.js
+4
-1
No files found.
README.md
View file @
9cadf0aa
...
@@ -10,7 +10,7 @@ Graphite, InfluxDB & OpenTSDB.
...
@@ -10,7 +10,7 @@ Graphite, InfluxDB & OpenTSDB.
!
[
](http://grafana.org/assets/img/start_page_bg.png)
!
[
](http://grafana.org/assets/img/start_page_bg.png)
# Grafana 2.0 Alpha branch [![wercker status](https://app.wercker.com/status/
0f109051cfaf2a6d94c0eebdc0dcaeae/s "wercker status")](https://app.wercker.com/project/bykey/0f109051cfaf2a6d94c0eebdc0dcaeae
)
# Grafana 2.0 Alpha branch [![wercker status](https://app.wercker.com/status/
1de5ea38f93fd2dfa2eb8b8ba58b6df1/s "wercker status")](https://app.wercker.com/project/bykey/1de5ea38f93fd2dfa2eb8b8ba58b6df1
)
Grafana 2.0 comes with a backend written in Go. It is not ready for production use yet as there is still a lot of small
Grafana 2.0 comes with a backend written in Go. It is not ready for production use yet as there is still a lot of small
issues to fix and polish missing. But feedback on what is done and bug reports would be greatly appreciated.
issues to fix and polish missing. But feedback on what is done and bug reports would be greatly appreciated.
...
...
vendor/phantomjs/render.js
View file @
9cadf0aa
...
@@ -21,6 +21,8 @@ page.viewportSize = {
...
@@ -21,6 +21,8 @@ page.viewportSize = {
height
:
params
.
height
||
'400'
height
:
params
.
height
||
'400'
};
};
var
tries
=
0
;
page
.
open
(
params
.
url
,
function
(
status
)
{
page
.
open
(
params
.
url
,
function
(
status
)
{
console
.
log
(
'Loading a web page: '
+
params
.
url
);
console
.
log
(
'Loading a web page: '
+
params
.
url
);
...
@@ -29,11 +31,12 @@ page.open(params.url, function (status) {
...
@@ -29,11 +31,12 @@ page.open(params.url, function (status) {
return
$
(
'canvas'
).
length
>
0
;
return
$
(
'canvas'
).
length
>
0
;
});
});
if
(
canvas
)
{
if
(
canvas
||
tries
===
5
)
{
page
.
render
(
params
.
png
);
page
.
render
(
params
.
png
);
phantom
.
exit
();
phantom
.
exit
();
}
}
else
{
else
{
tries
++
;
setTimeout
(
checkIsReady
,
10
);
setTimeout
(
checkIsReady
,
10
);
}
}
}
}
...
...
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