summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-02-16 17:52:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-20 12:58:19 +0000
commit50f11b9d6dde65a78958fe45842fbbd40e36fb0f (patch)
tree313c2c60181a43a2fe9a1148b7c99e9a96351447 /bitbake/lib/toaster/toastergui/templates
parent91e900f636771224623eb49fe66da071e69a639a (diff)
downloadast2050-yocto-poky-50f11b9d6dde65a78958fe45842fbbd40e36fb0f.zip
ast2050-yocto-poky-50f11b9d6dde65a78958fe45842fbbd40e36fb0f.tar.gz
bitbake: toasterui: style the Toaster version information
In debug mode, we show the Toaster version and mode in the top bar. Display them inside a tooltip that appears when you hover over a nice info icon to make them less conspicuous. (Bitbake rev: 8365f19191d0ec5901c79b7afd5005f7a546fe74) Signed-off-by: Belen Barros Pena <belen.barros.pena@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.html13
1 files changed, 6 insertions, 7 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html
index 6f249bc..695ca5d 100644
--- a/bitbake/lib/toaster/toastergui/templates/base.html
+++ b/bitbake/lib/toaster/toastergui/templates/base.html
@@ -58,13 +58,12 @@
<div class="navbar navbar-static-top">
<div class="navbar-inner">
<a class="brand logo" href="#"><img src="{% static 'img/logo.png' %}" class="" alt="Yocto logo project"/></a>
- <a class="brand" href="/">Toaster</a>
- {% if DEBUG %}
- <div style="display: inline;" class="version-brand">
- <p class="version-text">version {{TOASTER_VERSION}}</p>
- <p class="version-text">{%if MANAGED%}managed{%else%}interactive{%endif%} mode</p>
- </div>
- {% endif %}
+ <span class="brand">
+ <a href="/">Toaster</a>
+ {% if DEBUG %}
+ <i class="icon-info-sign get-help heading-help" data-placement="bottom" title="Version: {{TOASTER_VERSION}} <br /> Mode: {%if MANAGED%}build{%else%}analysis{%endif%}"></i>
+ {% endif %}
+ </span>
<a class="pull-right manual" target="_blank" href="http://www.yoctoproject.org/documentation/toaster-manual">
<i class="icon-book"></i>
Toaster manual
OpenPOWER on IntegriCloud