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>
This commit is contained in:
Belen Barros Pena 2014-11-18 12:02:22 +00:00 committed by Richard Purdie
parent 3530316f9b
commit 2066b9b47f
2 changed files with 4 additions and 3 deletions

View File

@ -133,7 +133,8 @@ select { width: auto; }
/* styles for the new build button */
.new-build .btn-primary { padding: 4px 30px; }
#view-all-projects { display: block; }
.new-build .alert { margin-top: 10px; }
.new-build .alert p { margin-top: 10px; }
/* Configuration styles */
.icon-trash { color: #B94A48; font-size: 16px; padding-left: 2px; }

View File

@ -81,12 +81,12 @@
<button id="save-project-button" class="btn" type="button">Save</button>
<a href="#" id="cancel-change-project" class="btn btn-link">Cancel</a>
</div>
<a id="view-all-projects" href="{% url 'all-projects' %}">View all projects</a>
<p><a id="view-all-projects" href="{% url 'all-projects' %}">View all projects</a></p>
</form>
</li>
<div class="alert" style="display:none">
This project's configuration is incomplete,<br/>so you cannot run builds.<br/>
<a href="{% if project.id %}{% url 'project' project.id %}{% endif %}">View project configuration</a>
<p><a href="{% if project.id %}{% url 'project' project.id %}{% endif %}">View project configuration</a></p>
</div>
<li id="targets-form">
<h6>Target(s):</h6>