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