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

View File

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