From: Alexandru DAMIAN Date: Fri, 6 Feb 2015 15:32:18 +0000 (+0000) Subject: toaster: display Toaster mode and version in debug mode X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93e4f8c44273f4657c5be4c00b61db12aa875e31;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Alexandru DAMIAN --- diff --git a/lib/toaster/toastergui/static/css/default.css b/lib/toaster/toastergui/static/css/default.css index 10952547b4b..a866773af6d 100644 --- a/lib/toaster/toastergui/static/css/default.css +++ b/lib/toaster/toastergui/static/css/default.css @@ -2,6 +2,25 @@ .logo img { height: 30px; width: auto !important; } .logo { padding-top: 4px !important; padding-bottom:0px !important; } +/* style the version text */ +.version-text { + color: #AAA; + font-size: 0.6em; + display: table-footer-group; + padding: 0px; + margin: 1px 1px 1px 1px; +} + +.version-brand, .version-brand:hover, a.version-brand:focus { + color: #777; + display: block; + float: left; + font-size: 20px; + font-weight: 200; + padding: 00px 0px; + text-shadow: 0 1px 0 #fff; +} + /* Style the breadcrumb */ .breadcrumb { display: inline-block; background-color: transparent; } .section { margin: 20px 0; } diff --git a/lib/toaster/toastergui/templates/base.html b/lib/toaster/toastergui/templates/base.html index e95b5e0cac8..6f249bcf2d5 100644 --- a/lib/toaster/toastergui/templates/base.html +++ b/lib/toaster/toastergui/templates/base.html @@ -59,6 +59,12 @@