blob: bfaaf6fc83be46fe28d3f6d616fb26458d2be8ee [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 %}
Patrick Williamsc0f7c042017-02-23 20:41:17 -06009 <div class="row">
10 <div class="jumbotron well-transparent">
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011
Patrick Williamsc0f7c042017-02-23 20:41:17 -060012 <div class="col-md-6">
Patrick Williamsf1e5d692016-03-30 15:21:19 -050013 <h1>This is Toaster</h1>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014
Andrew Geissler4c19ea12020-10-27 13:52:24 -050015 <p>A web interface to <a href="https://www.openembedded.org">OpenEmbedded</a> and <a href="https://www.yoctoproject.org/tools-resources/projects/bitbake">BitBake</a>, the <a href="https://www.yoctoproject.org">Yocto Project</a> build system.</p>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016
Brad Bishopd7bf8c12018-02-25 22:55:05 -050017 <p class="top-air">
Andrew Geissler4c19ea12020-10-27 13:52:24 -050018 <a class="btn btn-info btn-lg" href="https://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#toaster-manual-setup-and-use">
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019 Toaster is ready to capture your command line builds
20 </a>
21 </p>
22
Patrick Williamsf1e5d692016-03-30 15:21:19 -050023 {% if lvs_nos %}
Brad Bishopd7bf8c12018-02-25 22:55:05 -050024 {% if project_enable %}
Patrick Williamsc0f7c042017-02-23 20:41:17 -060025 <p class="top-air">
26 <a class="btn btn-primary btn-lg" href="{% url 'newproject' %}">
Brad Bishopd7bf8c12018-02-25 22:55:05 -050027 Create your first Toaster project to run manage builds
Patrick Williamsf1e5d692016-03-30 15:21:19 -050028 </a>
29 </p>
Brad Bishopd7bf8c12018-02-25 22:55:05 -050030 {% endif %}
Patrick Williamsf1e5d692016-03-30 15:21:19 -050031 {% else %}
Patrick Williamsc0f7c042017-02-23 20:41:17 -060032 <div class="alert alert-info lead top-air">
Patrick Williamsf1e5d692016-03-30 15:21:19 -050033 Toaster has no layer information. Without layer information, you cannot run builds. To generate layer information you can:
34 <ul>
35 <li>
Andrew Geissler4c19ea12020-10-27 13:52:24 -050036 <a href="https://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#layer-source">Configure a layer source</a>
Patrick Williamsf1e5d692016-03-30 15:21:19 -050037 </li>
38 <li>
39 <a href="{% url 'newproject' %}">Create a project</a>, then import layers
40 </li>
41 </ul>
42 </div>
43 {% endif %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -050044
Patrick Williamsc0f7c042017-02-23 20:41:17 -060045 <ul class="list-unstyled lead">
Patrick Williamsf1e5d692016-03-30 15:21:19 -050046 <li>
Andrew Geissler4c19ea12020-10-27 13:52:24 -050047 <a href="https://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html">
Patrick Williamsf1e5d692016-03-30 15:21:19 -050048 Read the Toaster manual
49 </a>
50 </li>
51
52 <li>
53 <a href="https://wiki.yoctoproject.org/wiki/Contribute_to_Toaster">
54 Contribute to Toaster
55 </a>
56 </li>
57 </ul>
58 </div>
59
Patrick Williamsc0f7c042017-02-23 20:41:17 -060060 <div class="col-md-6">
61 <img alt="Yocto Project Toaster" class="img-thumbnail" src="{% static 'img/toaster_bw.png' %}"/>
Patrick Williamsf1e5d692016-03-30 15:21:19 -050062 </div>
63
Patrick Williamsf1e5d692016-03-30 15:21:19 -050064 </div>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050065 </div>
Patrick Williamsc0f7c042017-02-23 20:41:17 -060066
Patrick Williamsc124f4f2015-09-15 14:41:29 -050067{% endblock %}