<spanclass="help-inline"style="vertical-align:middle;">To create a project, you need to enter a project name</span>
</div>
</form>
{% else %}
<br/>
<divclass="alert alert-warning row-fluid span6">
<h3>No releases configured</h3>
<p>
It looks like Toaster releases have not been configured properly. Contact the person who set up Toaster, and tell them about it.
</p>
<p>
If you are the Toaster administrator, we are sorry: setting up Toaster is not easy.
<ul>
<li><ahref="{% url 'admin:orm_release_changelist' %}">Log in to the Django administration interface</a> and check the "Releases" section.</li>
<li>Check out the <ahref="https://wiki.yoctoproject.org/wiki/Setting_up_a_hosted_managed_mode_for_Toaster#Releases">documentation about configuring releases</a></li>
</ul>
</p>
</div>
{% endif %}
</div>
<scripttype="text/javascript">
$(document).ready(function () {
// hide the new project button
$("#new-project-button").hide();
$('.btn-primary').attr('disabled', 'disabled');
// enable submit button when all required fields are populated
$("input#new-project-name").keyup(function() {
if ($("input#new-project-name").val().length > 0 ){
$('.btn-primary').removeAttr('disabled');
$(".help-inline").css('visibility','hidden');
}
else {
$('.btn-primary').attr('disabled', 'disabled');
$(".help-inline").css('visibility','visible');
}
});
// show relevant help text for the selected release