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