From a11a34c60f2783063fbfe7be1712dde2006c3d76 Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Mon, 26 Jan 2015 12:17:18 +0000 Subject: bitbake: toaster: make layouts consistent The layer details page should have the same layout as all other detail pages (recipes, packages). For this to happen, the basebuilddetailpage.html and baseprojectpage.html templates should use the same layout, and so should the layerdetails.html and recipe.html templates. This patch also capitalises the string 'All layers' in the breadcrumb of layerdetails.html as all other breadcrumb elements. (Bitbake rev: 49d56fcbbf6b7d0c0c589b93182e4c73071b3fcf) Signed-off-by: Belen Barros Pena Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- .../toaster/toastergui/templates/baseprojectpage.html | 12 ++++-------- .../lib/toaster/toastergui/templates/layerdetails.html | 17 ++++------------- bitbake/lib/toaster/toastergui/templates/project.html | 4 ++-- 3 files changed, 10 insertions(+), 23 deletions(-) (limited to 'bitbake') diff --git a/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html b/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html index 95a9f470ba..e1409252eb 100644 --- a/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html +++ b/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html @@ -4,7 +4,7 @@ {% block pagecontent %} -
+
-
+ + {% block projectinfomain %}{% endblock %} + - - {% block projectinfomain %}{% endblock %} - - - -
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html index 5bed0f8f06..22e99e0ecc 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html @@ -3,7 +3,7 @@ {% load humanize %} {% load static %} {% block localbreadcrumb %} -
  • All Layers
  • +
  • All layers
  • {{layerversion.layer.name}} ({{layerversion.commit|truncatechars:13}})
  • @@ -63,18 +63,13 @@ {% endif %} {% include "layers_dep_modal.html" %} -
    -
    -
    +
    -
    -
    -
    -
    +
    {% if layer_in_project == 0 %} @@ -435,7 +429,7 @@
    -
    +

    About {{layerversion.layer.name}}

    @@ -480,7 +474,4 @@
    -
    -
    -
    {% endblock %} diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html index b8579e45a6..3b75d1934c 100644 --- a/bitbake/lib/toaster/toastergui/templates/project.html +++ b/bitbake/lib/toaster/toastergui/templates/project.html @@ -91,7 +91,7 @@ vim: expandtab tabstop=2
    - + @@ -337,7 +337,7 @@ vim: expandtab tabstop=2 +

    -- cgit v1.2.3-54-g00ecf