Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | {% extends "base.html" %} |
| 2 | |
| 3 | {% load static %} |
| 4 | {% load projecttags %} |
| 5 | {% load humanize %} |
| 6 | |
| 7 | {% block pagecontent %} |
| 8 | |
| 9 | <div class="container-fluid"> |
| 10 | <div class="row-fluid"> |
| 11 | <!-- Empty - no data in database --> |
| 12 | <div class="hero-unit span12 well-transparent"> |
| 13 | <div class="row-fluid"> |
| 14 | <div class="span6"> |
| 15 | <h1> |
| 16 | This is Toaster |
| 17 | </h1> |
| 18 | <p>A web interface to <a href="http://www.openembedded.org">OpenEmbedded</a> and <a href="http://www.yoctoproject.org/tools-resources/projects/bitbake">BitBake</a>, the <a href="http://www.yoctoproject.org">Yocto Project</a> build system.</p> |
| 19 | |
| 20 | |
| 21 | {% if lvs_nos %} |
| 22 | <p class="hero-actions"> |
| 23 | <a class="btn btn-primary btn-large" href="{% url 'newproject' %}"> |
| 24 | To start building, create your first Toaster project |
| 25 | </a> |
| 26 | </p> |
| 27 | {% else %} |
| 28 | <div class="alert alert-info lead air"> |
| 29 | Toaster has no layer information. Without layer information, you cannot run builds. To generate layer information you can: |
| 30 | <ul> |
| 31 | <li> |
| 32 | <a href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#layer-source">Configure a layer source</a> |
| 33 | </li> |
| 34 | <li> |
| 35 | <a href="{% url 'newproject' %}">Create a project</a>, then import layers |
| 36 | </li> |
| 37 | </ul> |
| 38 | </div> |
| 39 | {% endif %} |
| 40 | |
| 41 | <ul class="unstyled"> |
| 42 | <li> |
| 43 | <a href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html">Read the Toaster manual</a> |
| 44 | </li> |
| 45 | <li> |
| 46 | <a href="https://wiki.yoctoproject.org/wiki/Contribute_to_Toaster">Contribute to Toaster</a> |
| 47 | </li> |
| 48 | </ul> |
| 49 | |
| 50 | </div> |
| 51 | <div class="span6"> |
| 52 | <img alt="Yocto Project" class="thumbnail" src="{% static 'img/toaster_bw.png' %}"/> |
| 53 | </div> |
| 54 | </div> |
| 55 | </div> |
| 56 | </div> |
| 57 | |
| 58 | {% endblock %} |