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/basebuilddetailpage.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/basebuilddetailpage.html')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html index a62e0b1cb8..3a4c38347d 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html | |||
| @@ -3,30 +3,27 @@ | |||
| 3 | {% load humanize %} | 3 | {% load humanize %} |
| 4 | {% block pagecontent %} | 4 | {% block pagecontent %} |
| 5 | 5 | ||
| 6 | <div class="row-fluid"> | 6 | <div class="row"> |
| 7 | <!-- Breadcrumbs --> | 7 | <!-- Breadcrumbs --> |
| 8 | <div class="section"> | 8 | <ul class="breadcrumb" id="breadcrumb"> |
| 9 | <ul class="breadcrumb" id="breadcrumb"> | 9 | <li><a href="{% project_url build.project %}">{{build.project.name}}</a></li> |
| 10 | <li><a href="{% project_url build.project %}">{{build.project.name}}</a></li> | 10 | {% if not build.project.is_default %} |
| 11 | {% if not build.project.is_default %} | 11 | <li><a href="{% url 'projectbuilds' build.project.id %}">Builds</a></li> |
| 12 | <li><a href="{% url 'projectbuilds' build.project.id %}">Builds</a></li> | 12 | {% endif %} |
| 13 | {% endif %} | 13 | <li><a href="{%url 'builddashboard' build.pk%}">{{build.get_sorted_target_list.0.target}} {%if build.target_set.all.count > 1%}(+{{build.target_set.all.count|add:"-1"}}){%endif%} {{build.machine}} ({{build.completed_on|date:"d/m/y H:i"}})</a></li> |
| 14 | <li><a href="{%url 'builddashboard' build.pk%}">{{build.get_sorted_target_list.0.target}} {%if build.target_set.all.count > 1%}(+{{build.target_set.all.count|add:"-1"}}){%endif%} {{build.machine}} ({{build.completed_on|date:"d/m/y H:i"}})</a></li> | 14 | {% block localbreadcrumb %}{% endblock %} |
| 15 | {% block localbreadcrumb %}{% endblock %} | 15 | </ul> |
| 16 | </ul> | 16 | <script> |
| 17 | <script> | 17 | $( function () { |
| 18 | $( function () { | 18 | $('#breadcrumb > li').append('<span class="divider">→</span>'); |
| 19 | $('#breadcrumb > li').append('<span class="divider">→</span>'); | 19 | $('#breadcrumb > li:last').addClass("active"); |
| 20 | $('#breadcrumb > li:last').addClass("active"); | 20 | $('#breadcrumb > li:last > span').remove(); |
| 21 | $('#breadcrumb > li:last > span').remove(); | 21 | }); |
| 22 | }); | 22 | </script> |
| 23 | </script> | ||
| 24 | </div> <!--section--> | ||
| 25 | |||
| 26 | <!-- Begin container --> | ||
| 27 | {% block pagedetailinfomain %}{% endblock %} | ||
| 28 | <!-- End container --> | ||
| 29 | |||
| 30 | </div> | 23 | </div> |
| 31 | 24 | ||
| 25 | <!-- Begin container --> | ||
| 26 | {% block pagedetailinfomain %}{% endblock %} | ||
| 27 | <!-- End container --> | ||
| 28 | |||
| 32 | {% endblock %} | 29 | {% endblock %} |
