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