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

Side by Side Diff: templates/testcase.tmpl

Issue 29755578: Issue 2148 - Rewrite the testpages test suite (Closed)
Patch Set: Created April 18, 2018, 11:54 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>{{ title }}</title> 4 <title>{{ title }}</title>
5 <link rel="stylesheet" href="/css/testpages.css"> 5 <link rel="stylesheet" href="/css/testpages.css">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
kzar 2018/04/19 13:08:25 Nit: Git warned me that you've accidentally put a
6 </head> 7 </head>
7 <body> 8 <body>
9 <? include header ?>
10 <div class="site-container">
11
kzar 2018/04/19 13:08:26 Nit: Please could you remove the trailing whitespa
12 <section class="site-panel site-breadcrumbs">
13 <a href="/" target="_top">Home</a>
kzar 2018/04/19 13:08:23 Nit: Git warned me that you've accidentally put a
14 > <a href="testcases" target="_top">Test cases</a>
kzar 2018/04/19 13:08:26 Nit: Git warned me that you've accidentally put a
15 {{ breadcrumb|safe }}
16 </section>
kzar 2018/04/19 13:08:25 Nit: Git warned me that you've accidentally put a
8 17
9 <? include header ?> 18 {{ body|safe }}
10 19
11 » <section class="abp-container abp-breadcrumb"> 20 {% if testcase_howtotest_steps or testcase_howtotest_notes %}
12 » <a href="/" target="_top">Home</a> 21 <section class="site-panel">
13 » > <a href="testcases" target="_top">Test cases</a> 22 <h2>How to test</h2>
14 {{ breadcrumb|safe }} 23 {% if testcase_howtotest_steps %}
15 » </section> 24 <h3>Steps</h3>
25 <ul>
26 {% for step in testcase_howtotest_steps %}
27 <li>{{ step }}</li>
28 {% endfor %}
29 </ul>
30 {% endif %}
31 {% if testcase_howtotest_notes %}
32 <h3>Notes</h3>
33 <ul>
34 {% for note in testcase_howtotest_notes %}
35 <li>{{ note }}</li>
36 {% endfor %}
37 </ul>
38 {% endif %}
39 » </section>
kzar 2018/04/19 13:08:23 Nit: Git warned me that you've accidentally put a
40 » {% endif %}
kzar 2018/04/19 13:08:26 Nit: Git warned me that you've accidentally put a
16 41
17 » <section class="abp-container"> 42
18 » <h2>Test case - {{ testcaseid }}</h2> 43 {% if testcase_filters %}
19 {{ body|safe }} 44 » <section class="site-panel">
kzar 2018/04/19 13:08:24 Nit: Git warned me that you've accidentally put a
20 » </section> 45 <h2>Example filters</h2>
46 <p>Example filters that can be used when testing this page.</p>
47 {% for filter in testcase_filters %}
48 <div class="testcase-filter">
49 <p class="filter">{{filter[0]}}</p>
50 <p class="description">{{filter[1]}}</p>
51 </div>
52 {%endfor %}
53 » </section>
kzar 2018/04/19 13:08:27 Nit: Git warned me that you've accidentally put a
54 » {% endif %}
kzar 2018/04/19 13:08:24 Nit: Git warned me that you've accidentally put a
55
56 » {% if testcase_passnotes %}
kzar 2018/04/19 13:08:28 Nit: Git warned me that you've accidentally put a
57 <section class="site-panel">
58 <h2>Pass</h2>
59 {% for note in testcase_passnotes %}
60 <p>{{ note }}</p>
61 {% endfor %}
62 » </section>
kzar 2018/04/19 13:08:24 Nit: Git warned me that you've accidentally put a
63 » {% endif %}
kzar 2018/04/19 13:08:27 Nit: Git warned me that you've accidentally put a
64
65 » {% if testcase_moreinfo %}
kzar 2018/04/19 13:08:25 Nit: Git warned me that you've accidentally put a
66 » <section class="site-panel">
kzar 2018/04/19 13:08:26 Nit: Git warned me that you've accidentally put a
67 <h2>More information</h2>
68 <ul>
69 {% for link in testcase_moreinfo %}
70 <li><a href="{{link[1]}}">{{link[0]}}</a></li>
71 {%endfor %}
72 </ul>
73 » </section>
kzar 2018/04/19 13:08:28 Nit: Git warned me that you've accidentally put a
74 » {% endif %}
kzar 2018/04/19 13:08:26 Nit: Git warned me that you've accidentally put a
75
76
77 »
78
79
80 </div>
81
kzar 2018/04/19 13:08:25 Nit: Please could you remove these extra blank lin
82 »
83
84 »
21 85
22 <? include footer ?> 86 <? include footer ?>
kzar 2018/04/19 13:08:25 Nit: Please could you remove this tab character? I
23 87
24 </body> 88 </body>
25 </html> 89 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld