Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: templates/testcase.tmpl

Issue 29755578: Issue 2148 - Rewrite the testpages test suite (Closed)
Patch Set: Fixed README title Created June 7, 2018, 1:58 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « templates/default.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/testcase.tmpl
===================================================================
--- a/templates/testcase.tmpl
+++ b/templates/testcase.tmpl
@@ -1,19 +1,20 @@
<!DOCTYPE html>
<html>
<head>
- <title>{{ title }}</title>
- <link rel="stylesheet" href="/css/testpages.css">
- <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>{{ title }} - ABP Test Pages</title>
+ <link rel="stylesheet" href="/css/testpages.css">
+ <link rel="icon" type="image/png" sizes="32x32" href="/images/abp-32.png">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<? include header ?>
<div class="site-container">
<section class="site-panel site-breadcrumbs">
- <a href="/" target="_top">Home</a>
- > <a href="testcases" target="_top">Test cases</a>
+ <a href="/" target="_top">Home</a>
+ > <a href="testcases" target="_top">Test cases</a>
{{ breadcrumb|safe }}
- </section>
+ </section>
{{ body|safe }}
@@ -36,12 +37,11 @@
{% endfor %}
</ul>
{% endif %}
- </section>
- {% endif %}
-
+ </section>
+ {% endif %}
{% if testcase_filters %}
- <section class="site-panel">
+ <section class="site-panel">
<h2>Example filters</h2>
<p>Example filters that can be used when testing this page.</p>
{% for filter in testcase_filters %}
@@ -49,41 +49,40 @@
<p class="filter">{{filter[0]}}</p>
<p class="description">{{filter[1]}}</p>
</div>
- {%endfor %}
- </section>
- {% endif %}
+ {% endfor %}
+ </section>
+ {% endif %}
- {% if testcase_passnotes %}
+ {% if testcase_passnotes %}
<section class="site-panel">
<h2>Pass</h2>
{% for note in testcase_passnotes %}
<p>{{ note }}</p>
{% endfor %}
- </section>
- {% endif %}
+ </section>
+ {% endif %}
- {% if testcase_moreinfo %}
- <section class="site-panel">
+ {% if testcase_moreinfo %}
+ <section class="site-panel">
<h2>More information</h2>
<ul>
{% for link in testcase_moreinfo %}
<li><a href="{{link[1]}}">{{link[0]}}</a></li>
- {%endfor %}
+ {% endfor %}
</ul>
- </section>
- {% endif %}
-
-
-
-
+ </section>
+ {% endif %}
</div>
-
+ <? include footer ?>
-
-
- <? include footer ?>
-
+ <script>
+ function pagelog(message, ) {
+ var log = document.getElementById("testcase-output");
+ log.innerText = log.innerText + message + "\n";
+ console.log(message);
+ }
+ </script>
</body>
</html>
« no previous file with comments | « templates/default.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld