Prettified all HTML files

Prettified all HTML files using Beautiful Soup with the
following script.

https://github.com/berendt/openstack-development/blob/master/prettify.py

Change-Id: Icd5a1ffd0ad0eaf5cbbeed9d8d6ae66d7f569041
This commit is contained in:
Christian Berendt 2014-06-08 19:16:12 +02:00
parent 83da62eede
commit 5e2b9bc703
2 changed files with 76 additions and 55 deletions

View File

@ -1,39 +1,57 @@
<HTML> <html>
<TITLE>Bugsquashing day stats</TITLE> <head>
<title>
Bugsquashing day stats
</title>
</head>
<body>
<p>
{% if openstack_status %} {% if openstack_status %}
<link rel="stylesheet" <link href="http://www.openstack.org/themes/openstack/css/blueprint/screen.css" media="screen, projection" rel="stylesheet" type="text/css"/>
href="http://www.openstack.org/themes/openstack/css/blueprint/screen.css" <link href="http://www.openstack.org/themes/openstack/css/blueprint/print.css" media="print" rel="stylesheet" type="text/css"/>
type="text/css" media="screen, projection"/> <link href="http://fonts.googleapis.com/css?family=PT+Sans&amp;subset=latin" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" <link href="http://www.openstack.org/themes/openstack/css/main.css" rel="stylesheet" type="text/css"/>
href="http://www.openstack.org/themes/openstack/css/blueprint/print.css" <script src="http://status.openstack.org/common.js" type="text/javascript">
type="text/css" media="print"/> </script>
<link href='http://fonts.googleapis.com/css?family=PT+Sans&amp;subset=latin' <script type="text/javascript">
rel='stylesheet' type='text/css'/> header('Bugday');
<link rel="stylesheet" type="text/css" </script>
href="http://www.openstack.org/themes/openstack/css/main.css" />
<script type="text/javascript"
src="http://status.openstack.org/common.js"></script>
<script type="text/javascript">header('Bugday');</script>
{% endif %} {% endif %}
<DIV class="container"> </p>
<h1>Bugsquashing day stats</h1> <div class="container">
<TABLE BORDER=0> <h1>
Bugsquashing day stats
</h1>
<table border="0">
{% for project in projects %} {% for project in projects %}
<TR><TD> <tr>
<td>
{% if project.title %} {% if project.title %}
<h2>{{ project.title }}</h2> <h2>
{{ project.title }}
</h2>
{% else %} {% else %}
<h2>{{ project.project|capitalize }}</h2> <h2>
{{ project.project|capitalize }}
</h2>
{% endif %} {% endif %}
</TD> </td>
<TD><IFRAME SRC="{{ project.project }}.html" WIDTH="750" <td>
HEIGHT="{{ project.height|default(230) }}" FRAMEBORDER=NO> <iframe frameborder="NO" height="{{ project.height|default(230) }}" src="{{ project.project }}.html" width="750">
</IFRAME> </iframe>
<BR><A HREF="{{ project.project }}-bug-stats.json">JSON FILE</A></TD></TR> <br/>
<a href="{{ project.project }}-bug-stats.json">
JSON FILE
</a>
</td>
</tr>
{% endfor %} {% endfor %}
</TABLE> </table>
</DIV> </div>
{% if openstack_status %} {% if openstack_status %}
<script type="text/javascript">footer();</script> <script type="text/javascript">
footer();
</script>
{% endif %} {% endif %}
</HTML> </body>
</html>

View File

@ -1,24 +1,27 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta content="text/html; charset=utf8" http-equiv="Content-Type"/>
<title>{{ project.project|capitalize }} Bug Squashing</title> <title>
<script language="javascript" type="text/javascript" {{ project.project|capitalize }} Bug Squashing
src="js/jquery.js"></script> </title>
<script language="javascript" type="text/javascript" <script language="javascript" src="js/jquery.js" type="text/javascript">
src="js/jquery.flot.js"></script> </script>
<script language="javascript" type="text/javascript" <script language="javascript" src="js/jquery.flot.js" type="text/javascript">
src="js/jquery.flot.stack.js"></script> </script>
<script language="javascript" src="js/jquery.flot.stack.js" type="text/javascript">
</script>
</head> </head>
<body> <body>
<div id="{{ project.project }}" <div id="{{ project.project }}" style="width:700px;height:{{ project.height|default(200) }}px;">
style="width:700px;height:{{ project.height|default(200) }}px;"></div> </div>
<script type="text/javascript"> <script type="text/javascript">
var datafile = "{{ project.project }}-bug-stats.json"; var datafile = "{{ project.project }}-bug-stats.json";
var range = "#{{ project.project }}"; var range = "#{{ project.project }}";
var overview = "#overview"; var overview = "#overview";
var package = "{{ project.project }}"; var package = "{{ project.project }}";
</script> </script>
<script type="text/javascript" src="js/package-triaging.js"></script> <script src="js/package-triaging.js" type="text/javascript">
</script>
</body> </body>
</html> </html>