diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-10-03 18:03:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-30 13:39:37 +0000 |
commit | c6c7c05521daa9bf16c122d7d472330ca4c05e88 (patch) | |
tree | 3fb04524e572ef269787785c1ce517aea1d3752e /lib/toaster/toastergui/templates/landing.html | |
parent | 5b13eabdec1e8a052d343fd67654d7fe8974224f (diff) | |
download | bitbake-c6c7c05521daa9bf16c122d7d472330ca4c05e88.tar.gz |
toaster: changes to the landing page
This patch brings in a new landing page to be shown
when there are no builds and no projects available.
The builds page now displays only only the builds part,
without the landing page bits.
There is a new projects page that displays the All Projects
table as specified in the design.
[YOCTO #6682]
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib/toaster/toastergui/templates/landing.html')
-rw-r--r-- | lib/toaster/toastergui/templates/landing.html | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/templates/landing.html b/lib/toaster/toastergui/templates/landing.html new file mode 100644 index 000000000..071edf86e --- /dev/null +++ b/lib/toaster/toastergui/templates/landing.html @@ -0,0 +1,66 @@ +{% extends "base.html" %} + +{% load static %} +{% load projecttags %} +{% load humanize %} + +{% block pagecontent %} + + <div class="container-fluid"> + <div class="row-fluid"> + <!-- Empty - no data in database --> + <div class="hero-unit span12"> + <button class="close" data-dismiss="alert" type="button"> + × + </button> + <div class="row-fluid"> + <div class="span6"> + <h1> + This is Toaster + </h1> + <p> + A web interface to + <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> + <p class="hero-actions"> + <a class="btn btn-primary btn-large" href="https://www.yoctoproject.org/documentation/toaster-manual"> + Show me the manual + </a> + <a class="btn btn-large" href="https://wiki.yoctoproject.org/wiki/Contribute_to_Toaster"> + I want to contribute + </a> + </p> + </div> + <div class="span5"> + <a href="http://www.yoctoproject.org"> + <img alt="Yocto Project" class="thumbnail" src="/static/img/toaster.png"/> + </a> + </div> + </div> + </div> + <!-- Empty - no data in database --> + <div class="page-header top-air"> + <h1> + All builds + </h1> + </div> + <div class="alert alert-info lead"> + Toaster has not recorded any builds yet. Go build something with + <a href="http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html#test-run"> + Knotty + </a> + or + <a href="https://www.yoctoproject.org/documentation/hob-manual"> + Hob + </a> + </div> + </div> + +{% endblock %} |