diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2015-09-03 15:43:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-03 16:52:47 +0100 |
commit | 24d6d3fda83b129dd481c25376dc401b0e258ac7 (patch) | |
tree | 20979818ed6dc784cbd18ea28c04e3790727eb6e /bitbake | |
parent | 249f36660fea425e7f3cb7327061bfc74f50bb96 (diff) | |
download | openembedded-core-contrib-24d6d3fda83b129dd481c25376dc401b0e258ac7.tar.gz |
bitbake: toaster: show incomplete configuration warning
In the new build button form, make sure we show a
warning when you select a project with an incomplete
configuration that cannot be built.
(Bitbake rev: 9e970bd7a3e8a7d6ec26265b2e5863624db8a77f)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/css/default.css | 1 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/base.html | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css index e252dc1006..9723db36d0 100644 --- a/bitbake/lib/toaster/toastergui/static/css/default.css +++ b/bitbake/lib/toaster/toastergui/static/css/default.css @@ -216,6 +216,7 @@ dl textarea { resize: vertical; } .tooltip-inner { max-width: 250px; } .new-build { padding: 20px; } .new-build li { line-height: 30px; } +.new-build li .alert { line-height: 20px; width: 200px; white-space: normal; } .new-build h6 { margin: 10px 0 0 0; color: #5a5a5a; } .new-build h3 { margin: 0; color: #5a5a5a; } .new-build form { margin: 5px 0 0; } diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html index 0b93bb3dde..640bc47bcc 100644 --- a/bitbake/lib/toaster/toastergui/templates/base.html +++ b/bitbake/lib/toaster/toastergui/templates/base.html @@ -148,9 +148,11 @@ <p><a id="view-all-projects" href="{% url 'all-projects' %}">View all projects</a></p> </form> </li> - <li style="display: none"> - This project's configuration is incomplete,<br/>so you cannot run builds.<br/> - <p><a href="{% if project.id %}{% url 'project' project.id %}{% endif %}">View project configuration</a></p> + <li> + <div class="alert" style="display:none;"> + <p>This project configuration is incomplete, so you cannot run builds.</p> + <p><a href="{% if project.id %}{% url 'project' project.id %}{% endif %}">View project configuration</a></p> + </div> </li> <li id="targets-form"> <h6>Recipe(s):</h6> |