diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2015-01-14 17:27:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-29 22:11:34 +0000 |
commit | 24979f5219bbda94609761418be0db03a3132a2b (patch) | |
tree | 59930356ac4717654c8490f1df343bf5650b7b1f /bitbake/lib | |
parent | a11a34c60f2783063fbfe7be1712dde2006c3d76 (diff) | |
download | 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>
Diffstat (limited to 'bitbake/lib')
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 a3fa0ddf6a..5eeeea4832 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: | |||
38 | dd ul { list-style-type: none; margin: 0px; } | 38 | dd ul { list-style-type: none; margin: 0px; } |
39 | dt, dd {line-height: 25px; } | 39 | dt, dd {line-height: 25px; } |
40 | dd li { line-height: 25px; } | 40 | dd li { line-height: 25px; } |
41 | dd p { line-height: 20px; } | 41 | .item-info dd { line-height: 20px; margin-bottom: 10px; } |
42 | 42 | ||
43 | /* Style the filter modal dialogs */ | 43 | /* Style the filter modal dialogs */ |
44 | .modal { width: 800px; margin-left: -400px; } | 44 | .modal { width: 800px; margin-left: -400px; } |
@@ -200,7 +200,6 @@ dl textarea { resize: vertical; } | |||
200 | .lead .help-block { font-size: 14px; line-height: 20px; font-weight: normal; } | 200 | .lead .help-block { font-size: 14px; line-height: 20px; font-weight: normal; } |
201 | .button-place .btn { margin: 0 0 20px 0; } | 201 | .button-place .btn { margin: 0 0 20px 0; } |
202 | .tooltip-inner { max-width: 250px; } | 202 | .tooltip-inner { max-width: 250px; } |
203 | dd > span { line-height: 20px; } | ||
204 | .new-build { padding: 20px; } | 203 | .new-build { padding: 20px; } |
205 | .new-build li { line-height: 30px; } | 204 | .new-build li { line-height: 30px; } |
206 | .new-build h6 { margin: 10px 0 0 0; color: #5a5a5a; } | 205 | .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 22e99e0ecc..9286df656c 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html | |||
@@ -431,7 +431,7 @@ | |||
431 | </div> | 431 | </div> |
432 | <div class="row-fluid span4 well"> | 432 | <div class="row-fluid span4 well"> |
433 | <h2>About {{layerversion.layer.name}}</h2> | 433 | <h2>About {{layerversion.layer.name}}</h2> |
434 | <dl> | 434 | <dl class="item-info"> |
435 | 435 | ||
436 | <dt> | 436 | <dt> |
437 | Summary | 437 | Summary |
diff --git a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html index dfeba55058..ad75454310 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 @@ | |||
54 | <h2>Package information</h2> | 54 | <h2>Package information</h2> |
55 | 55 | ||
56 | <!-- info presented as definition list --> | 56 | <!-- info presented as definition list --> |
57 | <dl> | 57 | <dl class="item-info"> |
58 | <dt> | 58 | <dt> |
59 | Size | 59 | Size |
60 | <i class="icon-question-sign get-help" title="The size of the package"></i> | 60 | <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 b20c65e3c8..d91768df3b 100644 --- a/bitbake/lib/toaster/toastergui/templates/recipe.html +++ b/bitbake/lib/toaster/toastergui/templates/recipe.html | |||
@@ -250,14 +250,14 @@ | |||
250 | 250 | ||
251 | <div class="row span4 well"> | 251 | <div class="row span4 well"> |
252 | <h2>About {{object.name}}</h2> | 252 | <h2>About {{object.name}}</h2> |
253 | <dl> | 253 | <dl class="item-info"> |
254 | {% if object.summary %} | 254 | {% if object.summary %} |
255 | <dt>Summary</dt> | 255 | <dt>Summary</dt> |
256 | <dd><p>{{object.summary}}</p></dd> | 256 | <dd>{{object.summary}}</dd> |
257 | {% endif %} | 257 | {% endif %} |
258 | {% if object.description %} | 258 | {% if object.description %} |
259 | <dt>Description</dt> | 259 | <dt>Description</dt> |
260 | <dd><p>{{object.description}}</dd> | 260 | <dd>{{object.description}}</dd> |
261 | {% endif %} | 261 | {% endif %} |
262 | {% if object.homepage %} | 262 | {% if object.homepage %} |
263 | <dt>Homepage</dt> | 263 | <dt>Homepage</dt> |