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