diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-02-06 15:32:18 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-10 23:07:48 +0000 |
commit | d81e5141c10a97bf5764892f9b20933b751c1da3 (patch) | |
tree | 64a82acb15fe06a8a23e9618ff6a8eb18f604513 /bitbake/lib/toaster/toastergui/templates | |
parent | da8110a86ad8b57b8c41873d40aeac346ee66b88 (diff) | |
download | poky-d81e5141c10a97bf5764892f9b20933b751c1da3.tar.gz |
bitbake: toaster: display Toaster mode and version in debug mode
This patch displays the current running mode and checked-out git branch
as Toaster version when running in debug mode.
(Bitbake rev: 93e4f8c44273f4657c5be4c00b61db12aa875e31)
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')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/base.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html index e95b5e0cac..6f249bcf2d 100644 --- a/bitbake/lib/toaster/toastergui/templates/base.html +++ b/bitbake/lib/toaster/toastergui/templates/base.html | |||
@@ -59,6 +59,12 @@ | |||
59 | <div class="navbar-inner"> | 59 | <div class="navbar-inner"> |
60 | <a class="brand logo" href="#"><img src="{% static 'img/logo.png' %}" class="" alt="Yocto logo project"/></a> | 60 | <a class="brand logo" href="#"><img src="{% static 'img/logo.png' %}" class="" alt="Yocto logo project"/></a> |
61 | <a class="brand" href="/">Toaster</a> | 61 | <a class="brand" href="/">Toaster</a> |
62 | {% if DEBUG %} | ||
63 | <div style="display: inline;" class="version-brand"> | ||
64 | <p class="version-text">version {{TOASTER_VERSION}}</p> | ||
65 | <p class="version-text">{%if MANAGED%}managed{%else%}interactive{%endif%} mode</p> | ||
66 | </div> | ||
67 | {% endif %} | ||
62 | <a class="pull-right manual" target="_blank" href="http://www.yoctoproject.org/documentation/toaster-manual"> | 68 | <a class="pull-right manual" target="_blank" href="http://www.yoctoproject.org/documentation/toaster-manual"> |
63 | <i class="icon-book"></i> | 69 | <i class="icon-book"></i> |
64 | Toaster manual | 70 | Toaster manual |