Browse Source

report: bugfixes and wip

whitelist
miili 2 years ago
committed by Sebastian Heimann
parent
commit
7896400a66
4 changed files with 9 additions and 7 deletions
  1. +1
    -0
      setup.py
  2. +1
    -0
      src/report/app/index.html
  3. +5
    -5
      src/report/app/js/app.js
  4. +2
    -2
      src/report/base.py

+ 1
- 0
setup.py View File

@ -39,6 +39,7 @@ setup(
package_data={
'grond': ['report/app/*.html',
'report/app/favicon.png',
'report/app/css/*.css',
'report/app/css/*.map',
'report/app/js/*.js',


+ 1
- 0
src/report/app/index.html View File

@ -19,6 +19,7 @@
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<link rel="shortcut icon" href="favicon.png" type="image/png">
</head>
<body>


+ 5
- 5
src/report/app/js/app.js View File

@ -267,11 +267,11 @@ angular.module('reportApp', ['ngRoute'])
YamlMultiDoc.query(
$scope.path + '/plots/plot_collection.yaml',
function(doc) {
Array.forEach(
doc.group_refs,
query_group);
},
{schema: report_schema});
for (var i = 0, len = doc.group_refs.length; i < len; i++)
query_group(doc.group_refs[i]);
},
{schema: report_schema}
);
$scope.scrollTo = function(id) {
var old = $location.hash();


+ 2
- 2
src/report/base.py View File

@ -152,10 +152,10 @@ def copytree(src, dst):
class ReportHandler(SimpleHTTPRequestHandler):
def _2log_error(self, fmt, *args):
def log_error(self, fmt, *args):
logger.error(fmt % args)
def _2log_message(self, fmt, *args):
def log_message(self, fmt, *args):
logger.debug(fmt % args)


Loading…
Cancel
Save