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