summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/baseprojectpage.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/baseprojectpage.html64
1 files changed, 30 insertions, 34 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html b/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html
index c8a7743b13..ac32deac2f 100644
--- a/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html
+++ b/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html
@@ -3,44 +3,40 @@
3{% load humanize %} 3{% load humanize %}
4{% block pagecontent %} 4{% block pagecontent %}
5 5
6{% include "projecttopbar.html" %}
7<script type="text/javascript">
8 $(document).ready(function(){
9 $("#config-nav .nav li a").each(function(){
10 if (window.location.pathname === $(this).attr('href'))
11 $(this).parent().addClass('active');
12 else
13 $(this).parent().removeClass('active');
14 });
6 15
7 <div class="row-fluid"> 16 $("#topbar-configuration-tab").addClass("active")
8<!-- Breadcrumbs --> 17 });
9 <div class="section"> 18</script>
10 <ul class="breadcrumb" id="breadcrumb">
11 <li><a href="{% url 'all-builds' %}">All builds</a></li>
12 {% block parentbreadcrumb %}
13 {% if project %}
14 {% if project_html %}
15 <li>
16 {{project.name}}
17 </li>
18 {% else %}
19 <li>
20 <a href="{%url 'project' project.id %}"><span id="project_name">{{project.name}}</span>
21 </a>
22 </li>
23 {% endif %}
24 {% endif %}
25 {% endblock %}
26 {% block localbreadcrumb %}{% endblock %}
27 </ul>
28 <script>
29 $( function () {
30 $('#breadcrumb > li').append("<span class=\"divider\">→</span>");
31 $('#breadcrumb > li:last').addClass("active");
32 $('#breadcrumb > li:last > span').remove();
33 });
34 </script>
35 </div>
36 19
37 <!-- Begin main page container --> 20<div class="row-fluid">
38 <div style="padding: 0px, margin: 0px, display: inline"> 21 <!-- only on config pages -->
22 <div id="config-nav" class="span2">
23 <ul class="nav nav-list well">
24 <li class="nav-header">Configuration</li>
25 <li><a href="{% url 'project' project.id %}">Basic configuration</a></li>
26 <li><a href="{% url 'projectconf' project.id %}">BitBake variables</a></li>
27 <li class="nav-header">Compatible metadata</li>
28<!-- <li><a href="all-image-recipes.html">Image recipes</a></li> -->
29 <li><a href="{% url 'projecttargets' project.id %}">Recipes</a></li>
30 <li><a href="{% url 'projectmachines' project.id %}">Machines</a></li>
31 <li><a href="{% url 'projectlayers' project.id %}">Layers</a></li>
32 <li class="nav-header">Actions</li>
33 <li><a href="{% url 'importlayer' project.id %}">Import layer</a></li>
34 </ul>
35 </div>
36 <div class="span10">
39 {% block projectinfomain %}{% endblock %} 37 {% block projectinfomain %}{% endblock %}
40 </div>
41 <!-- End main container -->
42 </div> 38 </div>
43 39</div>
44 40
45{% endblock %} 41{% endblock %}
46 42