blob: 1f45be462db742ff65faafbe8323c726183341cc [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001{% extends "base.html" %}
2{% load projecttags %}
3{% load humanize %}
Patrick Williamsf1e5d692016-03-30 15:21:19 -05004
5{% block title %} {{title}} - {{project.name}} - Toaster {% endblock %}
6
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007{% block pagecontent %}
8
9{% include "projecttopbar.html" %}
10<script type="text/javascript">
11 $(document).ready(function(){
12 $("#config-nav .nav li a").each(function(){
13 if (window.location.pathname === $(this).attr('href'))
14 $(this).parent().addClass('active');
15 else
16 $(this).parent().removeClass('active');
17 });
18
19 $("#topbar-configuration-tab").addClass("active")
20 });
21</script>
22
23<div class="row-fluid">
24 <!-- only on config pages -->
25 <div id="config-nav" class="span2">
26 <ul class="nav nav-list well">
27 <li><a class="nav-parent" href="{% url 'project' project.id %}">Configuration</a></li>
28 <li class="nav-header">Compatible metadata</li>
Patrick Williamsf1e5d692016-03-30 15:21:19 -050029 {% if CUSTOM_IMAGE %}
30 <li><a href="{% url 'projectcustomimages' project.id %}">Custom images</a></li>
31 {% endif %}
32 <li><a href="{% url 'projectimagerecipes' project.id %}">Image recipes</a></li>
33 <li><a href="{% url 'projectsoftwarerecipes' project.id %}">Software recipes</a></li>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050034 <li><a href="{% url 'projectmachines' project.id %}">Machines</a></li>
35 <li><a href="{% url 'projectlayers' project.id %}">Layers</a></li>
36 <li class="nav-header">Extra configuration</li>
37 <li><a href="{% url 'projectconf' project.id %}">BitBake variables</a></li>
38 </ul>
39 </div>
40 <div class="span10">
41 {% block projectinfomain %}{% endblock %}
42 </div>
43</div>
44
45{% endblock %}
46