summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-09-03 15:43:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-03 16:52:47 +0100
commit24d6d3fda83b129dd481c25376dc401b0e258ac7 (patch)
tree20979818ed6dc784cbd18ea28c04e3790727eb6e /bitbake
parent249f36660fea425e7f3cb7327061bfc74f50bb96 (diff)
downloadpoky-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.css1
-rw-r--r--bitbake/lib/toaster/toastergui/templates/base.html8
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; }
216.tooltip-inner { max-width: 250px; } 216.tooltip-inner { max-width: 250px; }
217.new-build { padding: 20px; } 217.new-build { padding: 20px; }
218.new-build li { line-height: 30px; } 218.new-build li { line-height: 30px; }
219.new-build li .alert { line-height: 20px; width: 200px; white-space: normal; }
219.new-build h6 { margin: 10px 0 0 0; color: #5a5a5a; } 220.new-build h6 { margin: 10px 0 0 0; color: #5a5a5a; }
220.new-build h3 { margin: 0; color: #5a5a5a; } 221.new-build h3 { margin: 0; color: #5a5a5a; }
221.new-build form { margin: 5px 0 0; } 222.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 @@
148 <p><a id="view-all-projects" href="{% url 'all-projects' %}">View all projects</a></p> 148 <p><a id="view-all-projects" href="{% url 'all-projects' %}">View all projects</a></p>
149 </form> 149 </form>
150 </li> 150 </li>
151 <li style="display: none"> 151 <li>
152 This project's configuration is incomplete,<br/>so you cannot run builds.<br/> 152 <div class="alert" style="display:none;">
153 <p><a href="{% if project.id %}{% url 'project' project.id %}{% endif %}">View project configuration</a></p> 153 <p>This project configuration is incomplete, so you cannot run builds.</p>
154 <p><a href="{% if project.id %}{% url 'project' project.id %}{% endif %}">View project configuration</a></p>
155 </div>
154 </li> 156 </li>
155 <li id="targets-form"> 157 <li id="targets-form">
156 <h6>Recipe(s):</h6> 158 <h6>Recipe(s):</h6>