bitbake: toaster: Fix spacing and layout in no image files notification
authorBelen Barros <belen.barros.pena@intel.com>
Wed, 11 Jun 2014 09:58:55 +0000 (10:58 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Jun 2014 13:03:58 +0000 (14:03 +0100)
Close the definition list before adding the notification, and
restrict the notification width to avoid uncomfortable line
lenghts.

(Bitbake rev: b82f724c271c43218dc28440219adcea968e2a26)

Signed-off-by: Belen Barros <belen.barros.pena@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/toaster/toastergui/templates/builddashboard.html

index f83ae08..acf4d0a 100644 (file)
                        <dt>Total package size</dt>
                        <dd>{{target.pkgsz|filtered_filesizeformat}}</dd>
                         {% if target.targetHasNoImages %}
-                        <div class="alert alert-info">
-                          <p>
-                            <b>This build did not create any image files</b>
-                          </p>
-                          <p>
-                            This is probably because valid image and license manifest
-                            files from a previous build already exist in your
-                            .../poky/build/tmp/deploy directory. You can also <b>view the
-                              license manifest information</b> in Toaster.
-                          </p>
-                        </div>
+                               </dl>
+                               <div class="row-fluid">
+                                       <div class="alert alert-info span7">
+                    <p>
+                                    <b>This build did not create any image files</b>
+                                  </p>
+                                  <p>
+                                    This is probably because valid image and license manifest
+                                    files from a previous build already exist in your
+                                    <code>.../poky/build/tmp/deploy</code>
+                                    directory. You can
+                                    also <a href="{% url 'targetpkg' build.pk target.target.pk %}">view the
+                                      license manifest information</a> in Toaster.
+                                  </p>
+                    </div>
+                               </div>
                         {% else %}
                        <dt>
                                <i class="icon-question-sign get-help" title="The location in disk of the license manifest, a document listing all packages installed in your image and their licenses"></i>
                                   {% endfor %}
                                </ul>
                        </dd>
-                        {% endif %}
                </dl>
+                        {% endif %}
        </div>
         {% endif %}
        {% endfor %}