summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-01-14 17:27:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-29 22:11:34 +0000
commit24979f5219bbda94609761418be0db03a3132a2b (patch)
tree59930356ac4717654c8490f1df343bf5650b7b1f
parenta11a34c60f2783063fbfe7be1712dde2006c3d76 (diff)
downloadast2050-yocto-poky-24979f5219bbda94609761418be0db03a3132a2b.zip
ast2050-yocto-poky-24979f5219bbda94609761418be0db03a3132a2b.tar.gz
bitbake: toaster: apply common styles to right hand column of detail pages
Layer, recipe and package details pages have a right column with additional information. This commit standardises the formatting of the content in that right column across all these pages by creating a new css class .item-info in default.css (Bitbake rev: aed92feac017c967834575344faa3bad7a905b18) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/toaster/toastergui/static/css/default.css3
-rw-r--r--bitbake/lib/toaster/toastergui/templates/layerdetails.html2
-rw-r--r--bitbake/lib/toaster/toastergui/templates/package_detail_base.html2
-rw-r--r--bitbake/lib/toaster/toastergui/templates/recipe.html6
4 files changed, 6 insertions, 7 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css
index a3fa0dd..5eeeea4 100644
--- a/bitbake/lib/toaster/toastergui/static/css/default.css
+++ b/bitbake/lib/toaster/toastergui/static/css/default.css
@@ -38,7 +38,7 @@ dd code, .alert code { white-space: pre-wrap; word-break: break-all; word-wrap:
dd ul { list-style-type: none; margin: 0px; }
dt, dd {line-height: 25px; }
dd li { line-height: 25px; }
-dd p { line-height: 20px; }
+.item-info dd { line-height: 20px; margin-bottom: 10px; }
/* Style the filter modal dialogs */
.modal { width: 800px; margin-left: -400px; }
@@ -200,7 +200,6 @@ dl textarea { resize: vertical; }
.lead .help-block { font-size: 14px; line-height: 20px; font-weight: normal; }
.button-place .btn { margin: 0 0 20px 0; }
.tooltip-inner { max-width: 250px; }
-dd > span { line-height: 20px; }
.new-build { padding: 20px; }
.new-build li { line-height: 30px; }
.new-build h6 { margin: 10px 0 0 0; color: #5a5a5a; }
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html
index 22e99e0..9286df6 100644
--- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html
+++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html
@@ -431,7 +431,7 @@
</div>
<div class="row-fluid span4 well">
<h2>About {{layerversion.layer.name}}</h2>
- <dl>
+ <dl class="item-info">
<dt>
Summary
diff --git a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html
index dfeba55..ad75454 100644
--- a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html
+++ b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html
@@ -54,7 +54,7 @@
<h2>Package information</h2>
<!-- info presented as definition list -->
- <dl>
+ <dl class="item-info">
<dt>
Size
<i class="icon-question-sign get-help" title="The size of the package"></i>
diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html b/bitbake/lib/toaster/toastergui/templates/recipe.html
index b20c65e..d91768d 100644
--- a/bitbake/lib/toaster/toastergui/templates/recipe.html
+++ b/bitbake/lib/toaster/toastergui/templates/recipe.html
@@ -250,14 +250,14 @@
<div class="row span4 well">
<h2>About {{object.name}}</h2>
- <dl>
+ <dl class="item-info">
{% if object.summary %}
<dt>Summary</dt>
- <dd><p>{{object.summary}}</p></dd>
+ <dd>{{object.summary}}</dd>
{% endif %}
{% if object.description %}
<dt>Description</dt>
- <dd><p>{{object.description}}</dd>
+ <dd>{{object.description}}</dd>
{% endif %}
{% if object.homepage %}
<dt>Homepage</dt>
OpenPOWER on IntegriCloud