blob: 668e0bf5ef52ffa05885aad988239661ebc020ec [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001{% extends "base.html" %}
2{% load projecttags %}
3{% load humanize %}
4{% block pagecontent %}
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 });
15
16 $("#topbar-configuration-tab").addClass("active")
17 });
18</script>
19
20<div class="row-fluid">
21 <!-- only on config pages -->
22 <div id="config-nav" class="span2">
23 <ul class="nav nav-list well">
24 <li><a class="nav-parent" href="{% url 'project' project.id %}">Configuration</a></li>
25 <li class="nav-header">Compatible metadata</li>
26<!-- <li><a href="all-image-recipes.html">Image recipes</a></li> -->
27 <li><a href="{% url 'projecttargets' project.id %}">Recipes</a></li>
28 <li><a href="{% url 'projectmachines' project.id %}">Machines</a></li>
29 <li><a href="{% url 'projectlayers' project.id %}">Layers</a></li>
30 <li class="nav-header">Extra configuration</li>
31 <li><a href="{% url 'projectconf' project.id %}">BitBake variables</a></li>
32 </ul>
33 </div>
34 <div class="span10">
35 {% block projectinfomain %}{% endblock %}
36 </div>
37</div>
38
39{% endblock %}
40