Merge lp:~cjohnston/qa-dashboard/custom-page-titles into lp:qa-dashboard

Proposed by Chris Johnston
Status: Superseded
Proposed branch: lp:~cjohnston/qa-dashboard/custom-page-titles
Merge into: lp:qa-dashboard
Prerequisite: lp:~cjohnston/qa-dashboard/dashboard-smoke-2-smoke
Diff against target: 304 lines (+43/-12) (has conflicts)
17 files modified
bootspeed/templates/bootspeed/arch_overview.html (+3/-1)
bootspeed/templates/bootspeed/image_chart.html (+2/-0)
bootspeed/templates/bootspeed/image_list.html (+3/-1)
bootspeed/templates/bootspeed/image_overview.html (+3/-1)
bootspeed/templates/bootspeed/machine_data.html (+3/-1)
bootspeed/templates/bootspeed/machine_raw_data.html (+3/-1)
bootspeed/templates/bootspeed/overview.html (+2/-0)
common/templates/404.html (+2/-0)
common/templates/500.html (+2/-0)
common/templates/layout.html (+1/-1)
smoke/templates/api_help.html (+3/-1)
smoke/templates/smoke/build_overview.html (+2/-1)
smoke/templates/smoke/overview.html (+2/-0)
smoke/templates/smoke/result_logs.html (+3/-1)
smoke/templates/smoke/results.html (+4/-2)
sru/templates/sru/overview.html (+3/-1)
sru/templates/sru/overview_kernel.html (+2/-0)
Conflict adding files to tests.  Created directory.
Conflict because tests is not versioned, but has versioned children.  Versioned directory.
Contents conflict in tests/test_bootspeed_api.py
To merge this branch: bzr merge lp:~cjohnston/qa-dashboard/custom-page-titles
Reviewer Review Type Date Requested Status
Joe Talbott Pending
Review via email: mp+141850@code.launchpad.net

This proposal supersedes a proposal from 2012-12-20.

This proposal has been superseded by a proposal from 2013-01-04.

Commit message

Adds custom page titles to each page in the dashboard.

To post a comment you must log in.
Revision history for this message
Joe Talbott (joetalbott) wrote : Posted in a previous version of this proposal

Looks good, thanks.

review: Approve
201. By Chris Johnston

[r=Joe Talbott] Removes old test stuff that is no longer needed. from Chris Johnston

202. By Chris Johnston

Updates copyright

203. By Chris Johnston

forgot something

204. By Chris Johnston

Makes bootspeed charts wider and makes background color easier to see against.

205. By Chris Johnston

Moves management common commands to common app

206. By Chris Johnston

Removes empty dashboard/templatetags

207. By Chris Johnston

Add SRU app

208. By Chris Johnston

Removes dashboard app, adds smoke app

209. By Chris Johnston

Fixes imports

210. By Chris Johnston

more cleanup

211. By Chris Johnston

testing

212. By Chris Johnston

Final cleanups

213. By Chris Johnston

Adds custom page titles for each page

214. By Chris Johnston

Makes spacing fix

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bootspeed/templates/bootspeed/arch_overview.html'
2--- bootspeed/templates/bootspeed/arch_overview.html 2012-12-14 15:11:57 +0000
3+++ bootspeed/templates/bootspeed/arch_overview.html 2013-01-04 14:44:23 +0000
4@@ -1,6 +1,8 @@
5 {% extends "layout.html" %}
6 {% load dashboard_extras staticfiles %}
7
8+{% block page_name %}Bootspeed for {{ arch }}{%endblock %}
9+
10 {% block extra_headers %}
11 <script type="text/javascript" src='{% static "js/dygraph-combined.js" %}'></script>
12 <script src="http://yui.yahooapis.com/3.6.0/build/yui/yui-min.js"></script>
13@@ -29,7 +31,7 @@
14 <script type="text/javascript">
15 draw_bootspeed_graph("{% url machine_results r.machine.id arch %}", "{{ r.machine.id }}");
16 </script>
17-<div><a href="{% url machine_data r.machine.id arch %}">Detailed View</a></div>
18+<div><a href="{% url machine_data r.machine.id arch %}">Detailed view</a></div>
19 {% endfor %}
20 </div>
21 {% endblock %}
22
23=== modified file 'bootspeed/templates/bootspeed/image_chart.html'
24--- bootspeed/templates/bootspeed/image_chart.html 2012-12-14 15:11:57 +0000
25+++ bootspeed/templates/bootspeed/image_chart.html 2013-01-04 14:44:23 +0000
26@@ -1,6 +1,8 @@
27 {% extends "layout.html" %}
28 {% load dashboard_extras %}
29
30+{% block page_name %}Bootspeed for {{ image.build_number }}{%endblock %}
31+
32 {% block extra_headers %}
33 {% include "bootspeed/dygraphs.html" %}
34 {% endblock extra_headers %}
35
36=== modified file 'bootspeed/templates/bootspeed/image_list.html'
37--- bootspeed/templates/bootspeed/image_list.html 2012-12-14 15:11:57 +0000
38+++ bootspeed/templates/bootspeed/image_list.html 2013-01-04 14:44:23 +0000
39@@ -1,6 +1,8 @@
40 {% extends "layout.html" %}
41 {% load dashboard_extras %}
42
43+{% block page_name %}Arch overview{%endblock %}
44+
45 {% block content %}
46 <script type='text/javascript'>
47 //<![CDATA[
48@@ -14,7 +16,7 @@
49 </script>
50 <div class='grid_15'>
51 <h2>
52- Arch Overview
53+ Arch overview
54 </h2>
55 </div>
56 {% include "bootspeed/nav.html" %}
57
58=== modified file 'bootspeed/templates/bootspeed/image_overview.html'
59--- bootspeed/templates/bootspeed/image_overview.html 2012-12-14 15:11:57 +0000
60+++ bootspeed/templates/bootspeed/image_overview.html 2013-01-04 14:44:23 +0000
61@@ -1,6 +1,8 @@
62 {% extends "layout.html" %}
63 {% load dashboard_extras %}
64
65+{% block page_name %}Image Overview{%endblock %}
66+
67 {% block content %}
68 <script type='text/javascript'>
69 //<![CDATA[
70@@ -14,7 +16,7 @@
71 </script>
72 <div class='grid_15'>
73 <h2>
74- Image Overview
75+ Image overview
76 </h2>
77 </div>
78 <div class='grid_13'>
79
80=== modified file 'bootspeed/templates/bootspeed/machine_data.html'
81--- bootspeed/templates/bootspeed/machine_data.html 2012-12-12 02:58:08 +0000
82+++ bootspeed/templates/bootspeed/machine_data.html 2013-01-04 14:44:23 +0000
83@@ -1,6 +1,8 @@
84 {% extends "layout.html" %}
85 {% load dashboard_extras staticfiles %}
86
87+{% block page_name %}{{ name }} - {{ arch }} bootspeed{%endblock %}
88+
89 {% block extra_headers %}
90 <script type="text/javascript" src='{% static "js/dygraph-combined.js" %}'></script>
91 <script src="http://yui.yahooapis.com/3.6.0/build/yui/yui-min.js"></script>
92@@ -22,7 +24,7 @@
93 <ul class='left_nav'>
94 <li>
95 <a href='{% url machine_raw_data id arch %}'>
96- Raw Data
97+ Raw data
98 </a>
99 </li>
100 </ul>
101
102=== modified file 'bootspeed/templates/bootspeed/machine_raw_data.html'
103--- bootspeed/templates/bootspeed/machine_raw_data.html 2012-11-30 04:25:28 +0000
104+++ bootspeed/templates/bootspeed/machine_raw_data.html 2013-01-04 14:44:23 +0000
105@@ -2,6 +2,8 @@
106 {% load dashboard_extras %}
107 {% load render_table from django_tables2 %}
108
109+{% block page_name %}{{ name }} - {{ arch }} - raw bootspeed data{%endblock %}
110+
111 {% block extra_headers %}
112 <style>
113 td {
114@@ -15,7 +17,7 @@
115
116 {% block content %}
117 <div class='grid_15'>
118-<h2>{{ name }} - {{ arch }} - Raw Data</h2>
119+<h2>{{ name }} - {{ arch }} - raw bootspeed data</h2>
120 {% render_table table %}
121 </div>
122 {% endblock %}
123
124=== modified file 'bootspeed/templates/bootspeed/overview.html'
125--- bootspeed/templates/bootspeed/overview.html 2012-12-14 15:11:57 +0000
126+++ bootspeed/templates/bootspeed/overview.html 2013-01-04 14:44:23 +0000
127@@ -1,6 +1,8 @@
128 {% extends "layout.html" %}
129 {% load dashboard_extras %}
130
131+{% block page_name %}Bootspeed{%endblock %}
132+
133 {% block content %}
134 <script type='text/javascript'>
135 //<![CDATA[
136
137=== modified file 'common/templates/404.html'
138--- common/templates/404.html 2012-11-14 23:03:41 +0000
139+++ common/templates/404.html 2013-01-04 14:44:23 +0000
140@@ -1,5 +1,7 @@
141 {% extends 'layout.html' %}
142
143+{% block page_name %}This page does not exist{%endblock %}
144+
145 {% block content %}
146 <div class="centered">
147 <h3>Page not found.</h3>
148
149=== modified file 'common/templates/500.html'
150--- common/templates/500.html 2012-11-14 23:03:41 +0000
151+++ common/templates/500.html 2013-01-04 14:44:23 +0000
152@@ -1,5 +1,7 @@
153 {% extends 'layout.html' %}
154
155+{% block page_name %}Oops...{%endblock %}
156+
157 {% block content %}
158 Server Error. The site administrators have been notified.
159 {% endblock content %}
160
161=== modified file 'common/templates/layout.html'
162--- common/templates/layout.html 2013-01-04 14:44:23 +0000
163+++ common/templates/layout.html 2013-01-04 14:44:23 +0000
164@@ -8,7 +8,7 @@
165 <link href='{% static "css/grid.css" %}' rel='stylesheet' type='text/css' />
166 <link href='{% static "css/jquery.dataTables.css" %}' rel='stylesheet' type='text/css' />
167 <link href='{% static "css/style.css" %}' rel='stylesheet' type='text/css' />
168- <title>Dashboard for Automated Testing - Ubuntu</title>
169+ <title>{% block page_name %}{%endblock %} | Ubuntu QA Dashboard</title>
170 <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
171 <script src='{% static "js/jquery.dataTables.min.js" %}'></script>
172 {% block extra_headers %}
173
174=== modified file 'smoke/templates/api_help.html'
175--- smoke/templates/api_help.html 2012-07-03 20:59:33 +0000
176+++ smoke/templates/api_help.html 2013-01-04 14:44:23 +0000
177@@ -1,8 +1,10 @@
178 {% extends 'layout.html' %}
179
180+{% block page_name %}API documentation{%endblock %}
181+
182 {% block content %}
183 <h3>
184- API Documentation
185+ API documentation
186 </h3>
187 <table>
188 <tr>
189
190=== modified file 'smoke/templates/smoke/build_overview.html'
191--- smoke/templates/smoke/build_overview.html 2012-12-14 19:23:53 +0000
192+++ smoke/templates/smoke/build_overview.html 2013-01-04 14:44:23 +0000
193@@ -1,8 +1,9 @@
194 {% extends "layout.html" %}
195 {% load dashboard_extras %}
196
197+{% block page_name %}Summary of smoke testing for Ubuntu image {{run.build_no}}{%endblock %}
198+
199 {% block content %}
200-
201 <script type='text/javascript'>
202 //<![CDATA[
203 $(document).ready(function() {
204
205=== modified file 'smoke/templates/smoke/overview.html'
206--- smoke/templates/smoke/overview.html 2012-12-14 18:31:08 +0000
207+++ smoke/templates/smoke/overview.html 2013-01-04 14:44:23 +0000
208@@ -1,6 +1,8 @@
209 {% extends "layout.html" %}
210 {% load dashboard_extras %}
211
212+{% block page_name %}{% if is_flat %}Flat{% else %}Combined{% endif %} view of smoke testing for {{ release|capfirst }}{%endblock %}
213+
214 {% block content %}
215 <script type='text/javascript'>
216 //<![CDATA[
217
218=== modified file 'smoke/templates/smoke/result_logs.html'
219--- smoke/templates/smoke/result_logs.html 2012-12-14 15:11:57 +0000
220+++ smoke/templates/smoke/result_logs.html 2013-01-04 14:44:23 +0000
221@@ -1,6 +1,8 @@
222 {% extends "layout.html" %}
223 {% load dashboard_extras %}
224
225+{% block page_name %}Result logs for {{image.run.flavor}}-{{image.variant}}-{{image.arch}} {{result.name}}{%endblock %}
226+
227 {% block content %}
228
229
230@@ -34,7 +36,7 @@
231 >>
232 </span>
233 <span class='crumb'>
234- Results for {{image.run.flavor}}-{{image.variant}}-{{image.arch}} {{result.name}}
235+ Result logs for {{image.run.flavor}}-{{image.variant}}-{{image.arch}} {{result.name}}
236 </span>
237 <span class='crumb-sep'>
238 Logs
239
240=== modified file 'smoke/templates/smoke/results.html'
241--- smoke/templates/smoke/results.html 2012-12-14 19:23:53 +0000
242+++ smoke/templates/smoke/results.html 2013-01-04 14:44:23 +0000
243@@ -1,6 +1,8 @@
244 {% extends "layout.html" %}
245 {% load dashboard_extras %}
246
247+{% block page_name %}Smoke testing results for {{image.run.build_no}} {{image.run.flavor}}-{{image.variant}}-{{image.arch}}{%endblock %}
248+
249 {% block content %}
250
251 <script type='text/javascript'>
252@@ -17,7 +19,7 @@
253 <div id='breadcrumb'>
254 <span class='crumb'>
255 <a href='{% url smoke_overview release %}flat/'>
256- Smoke Testing
257+ Smoke testing
258 {{ release|capfirst }}
259 </a>
260 </span>
261@@ -37,7 +39,7 @@
262 </span>
263 </div>
264 <h2>
265- Results
266+ Results for {{image.run.build_no}} {{image.run.flavor}}-{{image.variant}}-{{image.arch}}
267 </h2>
268 <table border='0'>
269 <tr>
270
271=== modified file 'sru/templates/sru/overview.html'
272--- sru/templates/sru/overview.html 2012-12-14 18:06:44 +0000
273+++ sru/templates/sru/overview.html 2013-01-04 14:44:23 +0000
274@@ -1,6 +1,8 @@
275 {% extends "layout.html" %}
276 {% load dashboard_extras %}
277
278+{% block page_name %}SRU testing{%endblock %}
279+
280 {% block content %}
281 <script type='text/javascript'>
282 //<![CDATA[
283@@ -14,7 +16,7 @@
284 </script>
285 <div class='grid_15'>
286 <h2>
287- SRU testing.
288+ SRU testing
289 <small>
290 {% if not show_unknown %}
291 <a href='?show_unknown=1'>Show Unknown</a>
292
293=== modified file 'sru/templates/sru/overview_kernel.html'
294--- sru/templates/sru/overview_kernel.html 2012-12-14 18:16:23 +0000
295+++ sru/templates/sru/overview_kernel.html 2013-01-04 14:44:23 +0000
296@@ -1,6 +1,8 @@
297 {% extends "layout.html" %}
298 {% load dashboard_extras %}
299
300+{% block page_name %}Summary of SRU testing for kernel {{kernel_version}}{%endblock %}
301+
302 {% block content %}
303
304 <script type='text/javascript'>

Subscribers

People subscribed via source and target branches