layerindex-web/layerindex/submitlayer.html
Paul Eggleton 354e368aa2 Add support for handling multiple branches
Change the data structure to support multiple branches. At the top level
there is a set list of Branch objects, and then a LayerBranch object
between each layer and the maintainers, dependencies, recipes and
machines, so that the set of each can be different per branch. The
branch is a session option, and can be selected via a drop-down that is
shown for all pages.

Additionally, with this change we avoid the need to run the update
script within a build environment set up with oe-init-build-env - since
we need a specific version of BitBake per branch we now use our own copy
of BitBake which is fetched by the script itself. The update script will
need to be called multiple times however - once per branch.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-05 20:37:48 +00:00

37 lines
836 B
HTML

{% extends "layerindex/editlayer.html" %}
{% comment %}
layerindex-web - layer submission form page template
Copyright (C) 2013 Intel Corporation
Licensed under the MIT license, see COPYING.MIT for details
{% endcomment %}
<!--
{% block title %}OpenEmbedded metadata index - submit layer{% endblock %}
-->
{% block heading %}
<div class="page-header">
<h1>Submit layer</h1>
</div>
{% endblock %}
{% block branch_selector %}
<li class="disabled"><a href="#">Branch: <b>master</b></a></li>
{% endblock %}
{% block formtop %}
<div class="submitformintro">
<p>Please enter the details for the layer you wish to add to the index.</p>
</div>
{% endblock %}
{% block submitbuttons %}
<input type="submit" value="Submit layer" class="btn btn-primary btn-large" />
{% endblock %}