diff options
author | Belen Barros Pena <belen.barros.pena@linux.intel.com> | 2016-04-12 15:56:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 08:35:03 +0100 |
commit | 443f7b39158c891015a791814b9b1fe2324edc41 (patch) | |
tree | 3f570a138594273bc7498225e066b7f9a99bf0c5 /bitbake/lib/toaster/toastergui/templates/baseprojectpage.html | |
parent | 79e0eb9e52e9b954aa3b6bc6dee15a75b5eb990c (diff) | |
download | poky-443f7b39158c891015a791814b9b1fe2324edc41.tar.gz |
bitbake: toaster: Migrate project configuration from bootstrap 2 to bootstrap 3
Convert all the HTML templates, JS and CSS in the project parts of
toaster to use bootstrap 3.
(Bitbake rev: 69527a731eada699d3f604ff8f3ae9410981ba9b)
Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.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/lib/toaster/toastergui/templates/baseprojectpage.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/baseprojectpage.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html b/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html index 8778305f3f..b3b6f1caf8 100644 --- a/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html +++ b/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html | |||
@@ -7,24 +7,24 @@ | |||
7 | 7 | ||
8 | {% block pagecontent %} | 8 | {% block pagecontent %} |
9 | 9 | ||
10 | {% include "projecttopbar.html" %} | 10 | <div class="row"> |
11 | <script type="text/javascript"> | 11 | {% include "projecttopbar.html" %} |
12 | $(document).ready(function(){ | 12 | <script type="text/javascript"> |
13 | $("#config-nav .nav li a").each(function(){ | 13 | $(document).ready(function(){ |
14 | if (window.location.pathname === $(this).attr('href')) | 14 | $("#config-nav .nav li a").each(function(){ |
15 | $(this).parent().addClass('active'); | 15 | if (window.location.pathname === $(this).attr('href')) |
16 | else | 16 | $(this).parent().addClass('active'); |
17 | $(this).parent().removeClass('active'); | 17 | else |
18 | }); | 18 | $(this).parent().removeClass('active'); |
19 | 19 | }); | |
20 | $("#topbar-configuration-tab").addClass("active") | 20 | |
21 | }); | 21 | $("#topbar-configuration-tab").addClass("active") |
22 | </script> | 22 | }); |
23 | 23 | </script> | |
24 | <div class="row-fluid"> | 24 | |
25 | <!-- only on config pages --> | 25 | <!-- only on config pages --> |
26 | <div id="config-nav" class="span2"> | 26 | <div id="config-nav" class="col-md-2"> |
27 | <ul class="nav nav-list well"> | 27 | <ul class="nav nav-pills nav-stacked"> |
28 | <li><a class="nav-parent" href="{% url 'project' project.id %}">Configuration</a></li> | 28 | <li><a class="nav-parent" href="{% url 'project' project.id %}">Configuration</a></li> |
29 | <li class="nav-header">Compatible metadata</li> | 29 | <li class="nav-header">Compatible metadata</li> |
30 | <li><a href="{% url 'projectcustomimages' project.id %}">Custom images</a></li> | 30 | <li><a href="{% url 'projectcustomimages' project.id %}">Custom images</a></li> |
@@ -36,10 +36,10 @@ | |||
36 | <li><a href="{% url 'projectconf' project.id %}">BitBake variables</a></li> | 36 | <li><a href="{% url 'projectconf' project.id %}">BitBake variables</a></li> |
37 | </ul> | 37 | </ul> |
38 | </div> | 38 | </div> |
39 | <div class="span10"> | 39 | <div class="col-md-10"> |
40 | {% block projectinfomain %}{% endblock %} | 40 | {% block projectinfomain %}{% endblock %} |
41 | </div> | 41 | </div> |
42 | </div> | ||
43 | 42 | ||
43 | </div> | ||
44 | {% endblock %} | 44 | {% endblock %} |
45 | 45 | ||