aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-08-04 16:07:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-06 16:04:40 -0500
commitd47358fc952800e0115cea25d7cb4c07c49eaaf9 (patch)
treecd0e6dda9f6ed9a7c87b58b5e3e4f5677bfe997e /bitbake
parenta8b723498c9a7106210db140452886894494b4d6 (diff)
downloadopenembedded-core-contrib-d47358fc952800e0115cea25d7cb4c07c49eaaf9.tar.gz
bitbake: toastergui: spacing and top nav style change
Remove the margin for the .section class and the .row-fluid class in the page header div to reduce the vertical white space a little bit in the project pages. Also, change the style of the Toaster manual link to make it look like the main navigation. (Bitbake rev: 7b539bbf25786d313fd8092dc96b186388df58aa) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Michael Wood <michael.g.wood@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.css1
-rw-r--r--bitbake/lib/toaster/toastergui/templates/base.html16
-rw-r--r--bitbake/lib/toaster/toastergui/templates/projecttopbar.html2
3 files changed, 12 insertions, 7 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css
index 638c6dda82..dbe2307dc8 100644
--- a/bitbake/lib/toaster/toastergui/static/css/default.css
+++ b/bitbake/lib/toaster/toastergui/static/css/default.css
@@ -10,7 +10,6 @@
/* Style the breadcrumb */
.breadcrumb { display: inline-block; background-color: transparent; }
-.section { margin: 20px 0; }
/* Styles for the help information */
.get-help { color: #CCCCCC; }
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html
index c16fd65899..65367e20dd 100644
--- a/bitbake/lib/toaster/toastergui/templates/base.html
+++ b/bitbake/lib/toaster/toastergui/templates/base.html
@@ -102,11 +102,17 @@
<i class="icon-folder-open"></i>
All projects
</a>
- </li> </ul>
- <a class="pull-right manual" target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html">
- <i class="icon-book"></i>
- Toaster manual
- </a>
+ </li>
+ </ul>
+ <ul class="nav pull-right">
+ <li>
+ <a target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html">
+ <i class="icon-book"></i>
+ Manual
+ </a>
+ </li>
+ </ul>
+ <span class="pull-right divider-vertical"></span>
<div class="btn-group pull-right">
<a class="btn" id="new-project-button" href="{% url 'newproject' %}">New project</a>
</div>
diff --git a/bitbake/lib/toaster/toastergui/templates/projecttopbar.html b/bitbake/lib/toaster/toastergui/templates/projecttopbar.html
index 79f6d1e346..220ca7202b 100644
--- a/bitbake/lib/toaster/toastergui/templates/projecttopbar.html
+++ b/bitbake/lib/toaster/toastergui/templates/projecttopbar.html
@@ -4,7 +4,7 @@
</div>
<!-- project name -->
-<div class="row-fluid page-header">
+<div class="page-header">
<h1><span id="project-name">{{project.name}}</span>
<i class="icon-pencil" data-original-title="" id="project-change-form-toggle" title=""></i>
</h1>