Merge pull request #57 from prometheus/julius-graphing-improvements

Display Page with Default Graph if None Specified; Host Handlebars
This commit is contained in:
Matt T. Proud 2013-01-31 04:12:09 -08:00
commit bd0795032a
3 changed files with 1997 additions and 2 deletions

View File

@ -7,13 +7,13 @@
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.15/jquery-ui.min.js"></script>
<link type="text/css" rel="stylesheet" href="css/prometheus.css">
<!-- copy all these CSSen/JSen to our own location -->
<link type="text/css" rel="stylesheet" href="http://code.shutterstock.com/rickshaw/rickshaw.min.css">
<script src="http://code.shutterstock.com/rickshaw/vendor/d3.min.js"></script>
<script src="http://code.shutterstock.com/rickshaw/vendor/d3.layout.min.js"></script>
<script src="http://code.shutterstock.com/rickshaw/rickshaw.min.js"></script>
<!-- copy all these JSen to our own location -->
<script src="https://raw.github.com/wycats/handlebars.js/1.0.rc.2/dist/handlebars.js"></script>
<script src="vendor/js/handlebars.js"></script>
<script src="js/graph.js"></script>

View File

@ -327,6 +327,9 @@ function init() {
});
var options = parseGraphOptionsFromUrl();
if (options.length == 0) {
options.push({});
}
for (var i = 0; i < options.length; i++) {
addGraph(options[i]);
}

1992
static/vendor/js/handlebars.js vendored Normal file

File diff suppressed because it is too large Load Diff