summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@linux.intel.com>2014-11-18 12:02:22 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-21 11:49:24 +0000
commit2066b9b47f42fce927a5bf4a993527f954906759 (patch)
tree726bc0ef46c3f8e30fff0e39f9a70dce8324f685 /bitbake
parent3530316f9b618cc4470dc37ff4e28b02d9d40dfe (diff)
downloadpoky-2066b9b47f42fce927a5bf4a993527f954906759.tar.gz
bitbake: toaster: Tiny refinements to the new build button dialog
* Get rid of the display:block attribute for the "View all projects" link, to stop it from firing when you click outside (but next to) the link * Give some margin to the incomplete configuration alert (Bitbake rev: 83af0db872ea28965cd6007ad72ff210f67a4f30) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.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.css3
-rw-r--r--bitbake/lib/toaster/toastergui/templates/base.html4
2 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css
index 6194c97a0f..902a2bd034 100644
--- a/bitbake/lib/toaster/toastergui/static/css/default.css
+++ b/bitbake/lib/toaster/toastergui/static/css/default.css
@@ -133,7 +133,8 @@ select { width: auto; }
133 133
134/* styles for the new build button */ 134/* styles for the new build button */
135.new-build .btn-primary { padding: 4px 30px; } 135.new-build .btn-primary { padding: 4px 30px; }
136#view-all-projects { display: block; } 136.new-build .alert { margin-top: 10px; }
137.new-build .alert p { margin-top: 10px; }
137 138
138/* Configuration styles */ 139/* Configuration styles */
139.icon-trash { color: #B94A48; font-size: 16px; padding-left: 2px; } 140.icon-trash { color: #B94A48; font-size: 16px; padding-left: 2px; }
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html
index 87746bfc8c..734d2ad8a2 100644
--- a/bitbake/lib/toaster/toastergui/templates/base.html
+++ b/bitbake/lib/toaster/toastergui/templates/base.html
@@ -81,12 +81,12 @@
81 <button id="save-project-button" class="btn" type="button">Save</button> 81 <button id="save-project-button" class="btn" type="button">Save</button>
82 <a href="#" id="cancel-change-project" class="btn btn-link">Cancel</a> 82 <a href="#" id="cancel-change-project" class="btn btn-link">Cancel</a>
83 </div> 83 </div>
84 <a id="view-all-projects" href="{% url 'all-projects' %}">View all projects</a> 84 <p><a id="view-all-projects" href="{% url 'all-projects' %}">View all projects</a></p>
85 </form> 85 </form>
86 </li> 86 </li>
87 <div class="alert" style="display:none"> 87 <div class="alert" style="display:none">
88 This project's configuration is incomplete,<br/>so you cannot run builds.<br/> 88 This project's configuration is incomplete,<br/>so you cannot run builds.<br/>
89 <a href="{% if project.id %}{% url 'project' project.id %}{% endif %}">View project configuration</a> 89 <p><a href="{% if project.id %}{% url 'project' project.id %}{% endif %}">View project configuration</a></p>
90 </div> 90 </div>
91 <li id="targets-form"> 91 <li id="targets-form">
92 <h6>Target(s):</h6> 92 <h6>Target(s):</h6>