1*1a4b7ee2SBrad Bishop{% extends "base_specific.html" %} 2*1a4b7ee2SBrad Bishop 3*1a4b7ee2SBrad Bishop{% load projecttags %} 4*1a4b7ee2SBrad Bishop{% load humanize %} 5*1a4b7ee2SBrad Bishop 6*1a4b7ee2SBrad Bishop{% block title %} {{title}} - {{project.name}} - Toaster {% endblock %} 7*1a4b7ee2SBrad Bishop 8*1a4b7ee2SBrad Bishop{% block pagecontent %} 9*1a4b7ee2SBrad Bishop 10*1a4b7ee2SBrad Bishop<div class="row"> 11*1a4b7ee2SBrad Bishop {% include "project_specific_topbar.html" %} 12*1a4b7ee2SBrad Bishop <script type="text/javascript"> 13*1a4b7ee2SBrad Bishop$(document).ready(function(){ 14*1a4b7ee2SBrad Bishop $("#config-nav .nav li a").each(function(){ 15*1a4b7ee2SBrad Bishop if (window.location.pathname === $(this).attr('href')) 16*1a4b7ee2SBrad Bishop $(this).parent().addClass('active'); 17*1a4b7ee2SBrad Bishop else 18*1a4b7ee2SBrad Bishop $(this).parent().removeClass('active'); 19*1a4b7ee2SBrad Bishop }); 20*1a4b7ee2SBrad Bishop 21*1a4b7ee2SBrad Bishop $("#topbar-configuration-tab").addClass("active") 22*1a4b7ee2SBrad Bishop }); 23*1a4b7ee2SBrad Bishop </script> 24*1a4b7ee2SBrad Bishop 25*1a4b7ee2SBrad Bishop <!-- only on config pages --> 26*1a4b7ee2SBrad Bishop <div id="config-nav" class="col-md-2"> 27*1a4b7ee2SBrad Bishop <ul class="nav nav-pills nav-stacked"> 28*1a4b7ee2SBrad Bishop <li><a class="nav-parent" href="{% url 'project' project.id %}">Configuration</a></li> 29*1a4b7ee2SBrad Bishop <li class="nav-header">Compatible metadata</li> 30*1a4b7ee2SBrad Bishop <li><a href="{% url 'projectcustomimages' project.id %}">Custom images</a></li> 31*1a4b7ee2SBrad Bishop <li><a href="{% url 'projectimagerecipes' project.id %}">Image recipes</a></li> 32*1a4b7ee2SBrad Bishop <li><a href="{% url 'projectsoftwarerecipes' project.id %}">Software recipes</a></li> 33*1a4b7ee2SBrad Bishop <li><a href="{% url 'projectmachines' project.id %}">Machines</a></li> 34*1a4b7ee2SBrad Bishop <li><a href="{% url 'projectlayers' project.id %}">Layers</a></li> 35*1a4b7ee2SBrad Bishop <li><a href="{% url 'projectdistros' project.id %}">Distros</a></li> 36*1a4b7ee2SBrad Bishop <li class="nav-header">Extra configuration</li> 37*1a4b7ee2SBrad Bishop <li><a href="{% url 'projectconf' project.id %}">BitBake variables</a></li> 38*1a4b7ee2SBrad Bishop 39*1a4b7ee2SBrad Bishop <li class="nav-header">Actions</li> 40*1a4b7ee2SBrad Bishop </ul> 41*1a4b7ee2SBrad Bishop </div> 42*1a4b7ee2SBrad Bishop <div class="col-md-10"> 43*1a4b7ee2SBrad Bishop {% block projectinfomain %}{% endblock %} 44*1a4b7ee2SBrad Bishop </div> 45*1a4b7ee2SBrad Bishop 46*1a4b7ee2SBrad Bishop</div> 47*1a4b7ee2SBrad Bishop{% endblock %} 48*1a4b7ee2SBrad Bishop 49