blob: cafaa1afad220718d309e07ee35a8a0894d0b6b6 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001{% extends "base.html" %}
2
3{% load static %}
4{% load projecttags %}
5{% load humanize %}
6
Patrick Williamsf1e5d692016-03-30 15:21:19 -05007{% block title %} Welcome to Toaster {% endblock %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008{% block pagecontent %}
9
Patrick Williamsf1e5d692016-03-30 15:21:19 -050010 {% 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 Williamsc124f4f2015-09-15 14:41:29 -050016
Patrick Williamsf1e5d692016-03-30 15:21:19 -050017 <div class="span6">
18 <h1>This is Toaster</h1>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019
Patrick Williamsf1e5d692016-03-30 15:21:19 -050020 <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 Williamsc124f4f2015-09-15 14:41:29 -050021
Patrick Williamsf1e5d692016-03-30 15:21:19 -050022 {% 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 Williamsc124f4f2015-09-15 14:41:29 -050041
Patrick Williamsf1e5d692016-03-30 15:21:19 -050042 <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 Williamsc124f4f2015-09-15 14:41:29 -050063 </div>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050064 </div>
Patrick Williamsf1e5d692016-03-30 15:21:19 -050065 {% 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 Williamsc124f4f2015-09-15 14:41:29 -050071
72{% endblock %}