diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-06-26 15:21:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-14 14:10:03 +0100 |
commit | cff19351a8b9d6267177dc548d994e3f28590391 (patch) | |
tree | f8fba60b5b395035c534f2169b3f3ea1e08905f9 /bitbake/lib/toaster/toastergui/templates/base.html | |
parent | 6b62a0fd6eb9a609f71857f5793b0696f7a790b4 (diff) | |
download | poky-cff19351a8b9d6267177dc548d994e3f28590391.tar.gz |
bitbake: toaster: add project pages
We add the new project and project page skeletons.
In the process, we add an identifier in the settings.py
to detect whenever Toaster is running in managed mode,
and a context processor to make this value available
to the template processor.
(Bitbake rev: 927a27c68e24cfe13f62ca5f0e60878b04fa4e24)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/base.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/base.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html index 9ca9c9ac3b..1407d641d5 100644 --- a/bitbake/lib/toaster/toastergui/templates/base.html +++ b/bitbake/lib/toaster/toastergui/templates/base.html | |||
@@ -58,6 +58,19 @@ function reload_params(params) { | |||
58 | <div class="navbar-inner"> | 58 | <div class="navbar-inner"> |
59 | <a class="brand logo" href="#"><img src="{% static 'img/logo.png' %}" class="" alt="Yocto logo project"/></a> | 59 | <a class="brand logo" href="#"><img src="{% static 'img/logo.png' %}" class="" alt="Yocto logo project"/></a> |
60 | <a class="brand" href="/">Toaster</a> | 60 | <a class="brand" href="/">Toaster</a> |
61 | {%if MANAGED %} | ||
62 | <div class="btn-group pull-right"> | ||
63 | <a class="btn" href="{% url 'newproject' %}">New project</a> | ||
64 | <button class="btn dropdown-toggle" data-toggle="dropdown"> | ||
65 | <i class="icon-caret-down"></i> | ||
66 | </button> | ||
67 | <ul class="dropdown-menu"> | ||
68 | <li><a href="#">Clone project</a></li> | ||
69 | <li><a href="#">Export project</a></li> | ||
70 | <li><a href="#">Import project</a></li> | ||
71 | </ul> | ||
72 | </div> | ||
73 | {%endif%} | ||
61 | <a class="pull-right manual" target="_blank" href="http://www.yoctoproject.org/documentation/toaster-manual"> | 74 | <a class="pull-right manual" target="_blank" href="http://www.yoctoproject.org/documentation/toaster-manual"> |
62 | <i class="icon-book"></i> | 75 | <i class="icon-book"></i> |
63 | Toaster manual | 76 | Toaster manual |