~ev/errors/openid_auth_failure

« back to all changes in this revision

Viewing changes to charts.py

  • Committer: Evan Dandrea
  • Date: 2012-03-18 00:10:57 UTC
  • Revision ID: evan.dandrea@canonical.com-20120318001057-h82jg2bcpcwvgqyc
Statistics work:
- Move javascript into static/js
- Include YUI3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    start_response('200 OK', [('Content-type', 'text/html')])
9
9
    return ["""
10
10
<html><head>
11
 
<script src="http://yui.yahooapis.com/3.4.1/build/yui-base/yui-base-min.js"></script>
12
 
<script src="/longpoll.js"></script>
 
11
<script src="/static/js/yui/3.4.1/build/yui-base/yui-base-min.js"></script>
 
12
<script src="/static/js/longpoll.js"></script>
13
13
<script type="text/javascript">
14
14
<!--
15
15
var myDataValues = [
45
45
</style>
46
46
</head>
47
47
<body>
48
 
<h1>Top crashes</h1><div id="chart"></div>
 
48
<h1>Crashes today</h1><div id="chart"></div>
49
49
</body>
50
50
</html>
51
51
""" % queue_name,]