summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/landing.html
blob: cafaa1afad220718d309e07ee35a8a0894d0b6b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{% extends "base.html" %}

{% load static %}
{% load projecttags %}
{% load humanize %}

{% block title %} Welcome to Toaster {% endblock %}
{% block pagecontent %}

  {% if BUILD_MODE %}
    <!-- build mode -->
    <div class="container-fluid">
      <div class="row-fluid">
        <div class="hero-unit span12 well-transparent">
          <div class="row-fluid">

            <div class="span6">
              <h1>This is Toaster</h1>

              <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>

		          {% if lvs_nos %}
		            <p class="hero-actions">
		              <a class="btn btn-primary btn-large" href="{% url 'newproject' %}">
			              To start building, create your first Toaster project
		              </a>
		            </p>
		          {% else %}
                <div class="alert alert-info lead air">
                  Toaster has no layer information. Without layer information, you cannot run builds. To generate layer information you can:
                  <ul>
                    <li>
                      <a href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#layer-source">Configure a layer source</a>
                    </li>
                    <li>
			                <a href="{% url 'newproject' %}">Create a project</a>, then import layers
                    </li>
                  </ul>
                </div>
              {% endif %}

              <ul class="unstyled">
                <li>
                  <a href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html">
                    Read the Toaster manual
                  </a>
                </li>

                <li>
                  <a href="https://wiki.yoctoproject.org/wiki/Contribute_to_Toaster">
                    Contribute to Toaster
                  </a>
                </li>
              </ul>
            </div>

            <div class="span6">
              <img alt="Yocto Project" class="thumbnail" src="{% static 'img/toaster_bw.png' %}"/>
            </div>

          </div>
        </div>
      </div>
    </div>
  {% else %}
    <!-- analysis mode -->
    <div class="alert alert-info lead top-air">
      Toaster has not recorded any builds yet. Run a build from the command line to see it here.
    </div>
  {% endif %}

{% endblock %}