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: Addressed Dave's feedback Created June 4, 2018, 1:21 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« pages/filters/ping.tmpl ('K') | « templates/default.tmpl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>{{ title }}</title> 4 <title>{{ title }} - ABP Test Pages</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"> 6 <link rel="icon" type="image/png" sizes="32x32" href="/images/abp-32.png">
7 <meta name="viewport" content="width=device-width, initial-scale=1">
7 </head> 8 </head>
8 <body> 9 <body>
9 <? include header ?> 10 <? include header ?>
10 <div class="site-container"> 11 <div class="site-container">
11 12
12 <section class="site-panel site-breadcrumbs"> 13 <section class="site-panel site-breadcrumbs">
13 » <a href="/" target="_top">Home</a> 14 <a href="/" target="_top">Home</a>
14 » > <a href="testcases" target="_top">Test cases</a> 15 > <a href="testcases" target="_top">Test cases</a>
15 {{ breadcrumb|safe }} 16 {{ breadcrumb|safe }}
16 » </section> 17 </section>
17 18
18 {{ body|safe }} 19 {{ body|safe }}
19 20
20 {% if testcase_howtotest_steps or testcase_howtotest_notes %} 21 {% if testcase_howtotest_steps or testcase_howtotest_notes %}
21 <section class="site-panel"> 22 <section class="site-panel">
22 <h2>How to test</h2> 23 <h2>How to test</h2>
23 {% if testcase_howtotest_steps %} 24 {% if testcase_howtotest_steps %}
24 <h3>Steps</h3> 25 <h3>Steps</h3>
25 <ul> 26 <ul>
26 {% for step in testcase_howtotest_steps %} 27 {% for step in testcase_howtotest_steps %}
27 <li>{{ step }}</li> 28 <li>{{ step }}</li>
28 {% endfor %} 29 {% endfor %}
29 </ul> 30 </ul>
30 {% endif %} 31 {% endif %}
31 {% if testcase_howtotest_notes %} 32 {% if testcase_howtotest_notes %}
32 <h3>Notes</h3> 33 <h3>Notes</h3>
33 <ul> 34 <ul>
34 {% for note in testcase_howtotest_notes %} 35 {% for note in testcase_howtotest_notes %}
35 <li>{{ note }}</li> 36 <li>{{ note }}</li>
36 {% endfor %} 37 {% endfor %}
37 </ul> 38 </ul>
38 {% endif %} 39 {% endif %}
39 » </section> 40 </section>
40 » {% endif %} 41 {% endif %}
41
42 42
43 {% if testcase_filters %} 43 {% if testcase_filters %}
44 » <section class="site-panel"> 44 <section class="site-panel">
45 <h2>Example filters</h2> 45 <h2>Example filters</h2>
46 <p>Example filters that can be used when testing this page.</p> 46 <p>Example filters that can be used when testing this page.</p>
47 {% for filter in testcase_filters %} 47 {% for filter in testcase_filters %}
48 <div class="testcase-filter"> 48 <div class="testcase-filter">
49 <p class="filter">{{filter[0]}}</p> 49 <p class="filter">{{filter[0]}}</p>
50 <p class="description">{{filter[1]}}</p> 50 <p class="description">{{filter[1]}}</p>
51 </div> 51 </div>
52 {%endfor %} 52 {% endfor %}
53 » </section> 53 </section>
54 » {% endif %} 54 {% endif %}
55 55
56 » {% if testcase_passnotes %} 56 {% if testcase_passnotes %}
57 <section class="site-panel"> 57 <section class="site-panel">
58 <h2>Pass</h2> 58 <h2>Pass</h2>
59 {% for note in testcase_passnotes %} 59 {% for note in testcase_passnotes %}
60 <p>{{ note }}</p> 60 <p>{{ note }}</p>
61 {% endfor %} 61 {% endfor %}
62 » </section> 62 </section>
63 » {% endif %} 63 {% endif %}
64 64
65 » {% if testcase_moreinfo %} 65 {% if testcase_moreinfo %}
66 » <section class="site-panel"> 66 <section class="site-panel">
67 <h2>More information</h2> 67 <h2>More information</h2>
68 <ul> 68 <ul>
69 {% for link in testcase_moreinfo %} 69 {% for link in testcase_moreinfo %}
70 <li><a href="{{link[1]}}">{{link[0]}}</a></li> 70 <li><a href="{{link[1]}}">{{link[0]}}</a></li>
71 {%endfor %} 71 {% endfor %}
72 </ul> 72 </ul>
73 » </section> 73 </section>
74 » {% endif %} 74 {% endif %}
75
76
77 »
78
79 75
80 </div> 76 </div>
81 77
82 » 78 <? include footer ?>
83
84 »
85
86 » <? include footer ?>
87 79
88 </body> 80 </body>
89 </html> 81 </html>
OLDNEW
« pages/filters/ping.tmpl ('K') | « templates/default.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld