[Piglit] [PATCH 06/12] templates: Remove old HTML templates

Dylan Baker baker.dylan.c at gmail.com
Thu May 9 23:09:20 PDT 2013


These template files are no longer used, and so they should be removed

Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
 templates/index.html               | 33 ---------------------------------
 templates/index_group.html         |  5 -----
 templates/index_group_testrun.html |  1 -
 templates/index_test.html          |  4 ----
 templates/index_test_testrun.html  |  1 -
 templates/index_testrunb.html      |  1 -
 templates/index_testrunb_href.html |  1 -
 templates/result.html              | 29 -----------------------------
 templates/result_detail.html       |  4 ----
 templates/result_list.html         |  3 ---
 templates/result_listitem.html     |  1 -
 templates/result_mstring.html      |  1 -
 templates/testrun.html             | 23 -----------------------
 13 files changed, 107 deletions(-)
 delete mode 100644 templates/index.html
 delete mode 100644 templates/index_group.html
 delete mode 100644 templates/index_group_testrun.html
 delete mode 100644 templates/index_test.html
 delete mode 100644 templates/index_test_testrun.html
 delete mode 100644 templates/index_testrunb.html
 delete mode 100644 templates/index_testrunb_href.html
 delete mode 100644 templates/result.html
 delete mode 100644 templates/result_detail.html
 delete mode 100644 templates/result_list.html
 delete mode 100644 templates/result_listitem.html
 delete mode 100644 templates/result_mstring.html
 delete mode 100644 templates/testrun.html

diff --git a/templates/index.html b/templates/index.html
deleted file mode 100644
index 00a47bb..0000000
--- a/templates/index.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-	<head>
-		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-		<title>Result summary </title>
-		<link rel="stylesheet" href="index.css"/>
-	</head>
-	<body>
-		<h1>Result summary</h1>
-		<p>
-			Currently showing: %(showcurrent)s
-		</p>
-		<p>
-			Show: %(showlinks)s
-		</p>
-		<table>
-			<colgroup>
-				<!-- name column -->
-				<col />
-
-				<!-- status column -->
-				%(testruns)s
-			</colgroup>
-			<tr>
-				<td/>
-				%(testrunsb)s
-			</tr>
-			%(group)s
-		</table>
-	</body>
-</html>
diff --git a/templates/index_group.html b/templates/index_group.html
deleted file mode 100644
index 9f80a7c..0000000
--- a/templates/index_group.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<tr>
-	<td><div style="margin-left: %(indent)sem" class="head"><b>%(name)s</b></div></td>
-	%(testruns)s
-</tr>
-%(items)s
diff --git a/templates/index_group_testrun.html b/templates/index_group_testrun.html
deleted file mode 100644
index 07b5342..0000000
--- a/templates/index_group_testrun.html
+++ /dev/null
@@ -1 +0,0 @@
-<td class="%(status)s"><b>%(passnr)d/%(totalnr)d</b></td>
diff --git a/templates/index_test.html b/templates/index_test.html
deleted file mode 100644
index 2ec6d07..0000000
--- a/templates/index_test.html
+++ /dev/null
@@ -1,4 +0,0 @@
-<tr>
-	<td><div style="margin-left: %(indent)sem">%(name)s</div></td>
-	%(testruns)s
-</tr>
diff --git a/templates/index_test_testrun.html b/templates/index_test_testrun.html
deleted file mode 100644
index 8a8b098..0000000
--- a/templates/index_test_testrun.html
+++ /dev/null
@@ -1 +0,0 @@
-<td class="%(status)s"><a href="%(link)s">%(status)s</a></td>
diff --git a/templates/index_testrunb.html b/templates/index_testrunb.html
deleted file mode 100644
index ddee9cf..0000000
--- a/templates/index_testrunb.html
+++ /dev/null
@@ -1 +0,0 @@
-<td class="head"><b>%(name)s</b><br/>(<a href="%(codename)s/index.html">info</a>)</td>
diff --git a/templates/index_testrunb_href.html b/templates/index_testrunb_href.html
deleted file mode 100644
index d5b6d06..0000000
--- a/templates/index_testrunb_href.html
+++ /dev/null
@@ -1 +0,0 @@
-<td class="head"><b><a href="%(href)s">%(name)s</a></b></td>
diff --git a/templates/result.html b/templates/result.html
deleted file mode 100644
index 5fed593..0000000
--- a/templates/result.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<html>
-	<head>
-		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-		<title>%(path)s - Details</title>
-		<link rel="stylesheet" href="../result.css"/>
-	</head>
-	<body>
-		<h1>Results for %(path)s</h1>
-		<h2>Overview</h2>
-		<p>
-			<b>Status:</b> %(status)s<br/>
-			<b>Result:</b> %(result)s<br/>
-		</p>
-		<p>
-			<a href="../index.html">Back to summary</a>
-		</p>
-		<h2>Details</h2>
-		<table>
-			<tr>
-				<th>Detail</th>
-				<th>Value</th>
-			</tr>
-			%(details)s
-		</table>
-		<p>
-			<a href="../index.html">Back to summary</a>
-		</p>
-	</body>
-</html>
diff --git a/templates/result_detail.html b/templates/result_detail.html
deleted file mode 100644
index 8398fa3..0000000
--- a/templates/result_detail.html
+++ /dev/null
@@ -1,4 +0,0 @@
-<tr>
-	<td>%(name)s</td>
-	<td>%(value)s</td>
-</tr>
diff --git a/templates/result_list.html b/templates/result_list.html
deleted file mode 100644
index af215d4..0000000
--- a/templates/result_list.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<ul>
-%(items)s
-</ul>
diff --git a/templates/result_listitem.html b/templates/result_listitem.html
deleted file mode 100644
index 12ef6eb..0000000
--- a/templates/result_listitem.html
+++ /dev/null
@@ -1 +0,0 @@
-<li>%(detail)s</li>
diff --git a/templates/result_mstring.html b/templates/result_mstring.html
deleted file mode 100644
index b4c91d8..0000000
--- a/templates/result_mstring.html
+++ /dev/null
@@ -1 +0,0 @@
-<pre>%(detail)s</pre>
diff --git a/templates/testrun.html b/templates/testrun.html
deleted file mode 100644
index 572381f..0000000
--- a/templates/testrun.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<html>
-	<head>
-		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-		<title>%(name)s - System info</title>
-		<link rel="stylesheet" href="../result.css"/>
-	</head>
-	<body>
-		<h1>System info for %(name)s</h1>
-		<p>
-			<a href="../index.html">Back to summary</a>
-		</p>
-		<table>
-			<tr class="head">
-				<th>Detail</th>
-				<th>Value</th>
-			</tr>
-			%(details)s
-		</table>
-		<p>
-			<a href="../index.html">Back to summary</a>
-		</p>
-	</body>
-</html>
-- 
1.8.1.4



More information about the Piglit mailing list