1{% extends "base.html" %}
2
3{% load static %}
4{% load projecttags %}
5{% load humanize %}
6
7{% block title %} Welcome to Toaster {% endblock %}
8{% block pagecontent %}
9      <div class="row">
10        <div class="jumbotron well-transparent">
11
12            <div class="col-md-6">
13              <h1>This is Toaster</h1>
14
15              <p>A web interface to <a href="https://www.openembedded.org">OpenEmbedded</a> and <a href="https://docs.yoctoproject.org/bitbake.html">BitBake</a>, the <a href="https://www.yoctoproject.org">Yocto Project</a> build system.</p>
16
17		          <p class="top-air">
18		            <a class="btn btn-info btn-lg" href="http://docs.yoctoproject.org/toaster-manual/setup-and-use.html#setting-up-and-using-toaster" style="min-width: 460px;">
19			            Toaster is ready to capture your command line builds
20		            </a>
21		          </p>
22
23		          {% if lvs_nos %}
24                    {% if project_enable %}
25		            <p class="top-air">
26		              <a class="btn btn-primary btn-lg" href="{% url 'newproject' %}" style="min-width: 460px;">
27			              Create your first Toaster project to run manage builds
28		              </a>
29		            </p>
30                    {% endif %}
31		          {% else %}
32                <div class="alert alert-info lead top-air">
33                  Toaster has no layer information. Without layer information, you cannot run builds. To generate layer information you can:
34                  <ul>
35                    <li>
36                      <a href="http://docs.yoctoproject.org/toaster-manual/reference.html#layer-source">Configure a layer source</a>
37                    </li>
38                    <li>
39			                <a href="{% url 'newproject' %}">Create a project</a>, then import layers
40                    </li>
41                  </ul>
42                </div>
43              {% endif %}
44
45              <p class="top-air">
46		            <a class="btn btn-info btn-lg" href="{% url 'cmdlines' %}" style="min-width: 460px;">
47			            Import command line event logs from build directory
48		            </a>
49		          </p>
50
51              <ul class="list-unstyled lead">
52                <li>
53                  <a href="http://docs.yoctoproject.org/toaster-manual/index.html#toaster-user-manual">
54                    Read the Toaster manual
55                  </a>
56                </li>
57
58                <li>
59                  <a href="https://wiki.yoctoproject.org/wiki/Contribute_to_Toaster">
60                    Contribute to Toaster
61                  </a>
62                </li>
63              </ul>
64            </div>
65
66            <div class="col-md-6">
67              <img alt="Yocto Project Toaster" class="img-thumbnail" src="{% static 'img/toaster_bw.png' %}"/>
68            </div>
69
70        </div>
71      </div>
72
73{% endblock %}
74