summaryrefslogtreecommitdiffstats
path: root/bitbake
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
parent91e900f636771224623eb49fe66da071e69a639a (diff)
downloadpoky-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')
-rw-r--r--bitbake/lib/toaster/toastergui/static/css/default.css22
-rw-r--r--bitbake/lib/toaster/toastergui/templates/base.html13
2 files changed, 10 insertions, 25 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css
index 41b73cc826..86cf67ad53 100644
--- a/bitbake/lib/toaster/toastergui/static/css/default.css
+++ b/bitbake/lib/toaster/toastergui/static/css/default.css
@@ -2,24 +2,10 @@
2.logo img { height: 30px; width: auto !important; } 2.logo img { height: 30px; width: auto !important; }
3.logo { padding-top: 4px !important; padding-bottom:0px !important; } 3.logo { padding-top: 4px !important; padding-bottom:0px !important; }
4 4
5/* style the version text */ 5/* style the version information */
6.version-text { 6.brand > a { color: #777; }
7 color: #AAA; 7.brand > a:hover { color: #999; text-decoration: none; }
8 font-size: 0.6em; 8.icon-info-sign.get-help { color: #777; font-size: 16px; margin-left: 5px;}
9 display: table-footer-group;
10 padding: 0px;
11 margin: 1px 1px 1px 1px;
12}
13
14.version-brand, .version-brand:hover, a.version-brand:focus {
15 color: #777;
16 display: block;
17 float: left;
18 font-size: 20px;
19 font-weight: 200;
20 padding: 00px 0px;
21 text-shadow: 0 1px 0 #fff;
22}
23 9
24/* Style the breadcrumb */ 10/* Style the breadcrumb */
25.breadcrumb { display: inline-block; background-color: transparent; } 11.breadcrumb { display: inline-block; background-color: transparent; }
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html
index 6f249bcf2d..695ca5d2ca 100644
--- a/bitbake/lib/toaster/toastergui/templates/base.html
+++ b/bitbake/lib/toaster/toastergui/templates/base.html
@@ -58,13 +58,12 @@
58<div class="navbar navbar-static-top"> 58<div class="navbar navbar-static-top">
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 <span class="brand">
62 {% if DEBUG %} 62 <a href="/">Toaster</a>
63 <div style="display: inline;" class="version-brand"> 63 {% if DEBUG %}
64 <p class="version-text">version {{TOASTER_VERSION}}</p> 64 <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>
65 <p class="version-text">{%if MANAGED%}managed{%else%}interactive{%endif%} mode</p> 65 {% endif %}
66 </div> 66 </span>
67 {% endif %}
68 <a class="pull-right manual" target="_blank" href="http://www.yoctoproject.org/documentation/toaster-manual"> 67 <a class="pull-right manual" target="_blank" href="http://www.yoctoproject.org/documentation/toaster-manual">
69 <i class="icon-book"></i> 68 <i class="icon-book"></i>
70 Toaster manual 69 Toaster manual