c96a8e8e6d
the following adds a new tool to build a web page that will give us a full list of all the uncategorized failures and their logs. This gives us a todo list to start building ER queries from. this will require an infrastructure change to run this on cron to generate a public page. it also brings in jinja2 for html templating, which will be useful for future html generation jobs. Change-Id: I5114296fbac2cde9c6b0133e2717e1cc28fb631d
34 lines
626 B
HTML
34 lines
626 B
HTML
{% extends "base.html" %}
|
|
{% block body %}
|
|
{{ super() }}
|
|
|
|
<style>
|
|
.menu {
|
|
float: right;
|
|
}
|
|
</style>
|
|
|
|
<div class="menu">
|
|
<a name="top"></a>
|
|
{% for job in jobs %}
|
|
<li><a href="#{{job[0]}}">{{job[0]}} ({{job[1]}})</a></li>
|
|
{% endfor %}
|
|
</div>
|
|
<div class="jobs">
|
|
<h1>Unclassified failed jobs</h1>
|
|
Overall Categorization Rate: {{ rate }}
|
|
|
|
|
|
{% for job in jobs %}
|
|
<a name="{{job[0]}}"></a>
|
|
<a href="#top"><i>back to top</i></a>
|
|
<h2>{{ job[0] }} : {{ job[1] }} Uncategorized Fails</h2>
|
|
<ul>
|
|
{% for url in urls[job[0]] %}
|
|
<li><a href="{{ url }}">{{ url }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endfor %}
|
|
{% endblock %}
|
|
</div>
|