diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/builddashboard.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/builddashboard.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html index 2aa7b6bcfb..e682094305 100644 --- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html +++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html | |||
@@ -39,6 +39,14 @@ | |||
39 | <span class="pull-right">Build time: <a href="{% url 'buildtime' build.pk %}">{{ build.timespent|sectohms }}</a></span> | 39 | <span class="pull-right">Build time: <a href="{% url 'buildtime' build.pk %}">{{ build.timespent|sectohms }}</a></span> |
40 | {%endif%} | 40 | {%endif%} |
41 | </div> | 41 | </div> |
42 | {% if build.toaster_exceptions.count > 0 %} | ||
43 | <div class="row"> | ||
44 | <small class="pull-right"> | ||
45 | <i class="icon-question-sign get-help get-help-blue" title="" data-original-title="Toaster exceptions do not affect your build: only the operation of Toaster"></i> | ||
46 | <a class="show-exceptions" href="#exceptions">Toaster threw {{build.toaster_exceptions.count}} exception{{build.toaster_exceptions.count|pluralize}}</a> | ||
47 | </small> | ||
48 | </div> | ||
49 | {% endif %} | ||
42 | </div> | 50 | </div> |
43 | </div> | 51 | </div> |
44 | 52 | ||
@@ -223,6 +231,33 @@ | |||
223 | </div> | 231 | </div> |
224 | {% endif %} | 232 | {% endif %} |
225 | 233 | ||
234 | |||
235 | {% if build.toaster_exceptions.count > 0 %} | ||
236 | <div class="accordion span10 pull-right" id="exceptions"> | ||
237 | <div class="accordion-group"> | ||
238 | <div class="accordion-heading"> | ||
239 | <a class="accordion-toggle exception toggle-exceptions"> | ||
240 | <h2 id="exception-toggle"> | ||
241 | <i class="icon-warning-sign"></i> | ||
242 | {{build.toaster_exceptions.count}} Toaster exception{{build.toaster_exceptions.count|pluralize}} | ||
243 | </h2> | ||
244 | </a> | ||
245 | </div> | ||
246 | <div class="accordion-body collapse" id="collapse-exceptions"> | ||
247 | <div class="accordion-inner"> | ||
248 | <div class="span10"> | ||
249 | {% for exception in build.toaster_exceptions %} | ||
250 | <div class="alert alert-exception"> | ||
251 | <pre>{{exception.message}}</pre> | ||
252 | </div> | ||
253 | {% endfor %} | ||
254 | </div> | ||
255 | </div> | ||
256 | </div> | ||
257 | </div> | ||
258 | </div> | ||
259 | {% endif %} | ||
260 | |||
226 | <script type="text/javascript"> | 261 | <script type="text/javascript"> |
227 | $(document).ready(function() { | 262 | $(document).ready(function() { |
228 | //show warnings section when requested from the previous page | 263 | //show warnings section when requested from the previous page |