{% extends 'base.html' %} {% block body_content %}
{{launch}}
{% if board_info != None %} {% else %} {% endif %}
{% if board_info != None and root != None %}
{% else %}
{% endif %}
{% if board_info != None and root != None %} {% for vm in root.getchildren() %} {% endfor %}
{% for elem in vm.getchildren() %} {% if elem.getchildren() == [] and ('configurable' not in elem.attrib or elem.attrib['configurable'] != '0') %}
{% set elem_text = '' if elem.text == None else elem.text %} {% if ','.join(['uos', elem.tag]) not in launch_item_values %}
{% if 'readonly' in elem.attrib and elem.attrib['readonly'] == 'true' %} {% if elem.tag == 'kernel_cmdline' %} {% else %} {% endif %} {% else %} {% if elem.tag == 'kernel_cmdline' %} {% else %} {% endif %} {% endif %}
{% else %} {% endif %}

{% elif elem.getchildren() != [] %} {% if 'multiselect' not in elem.attrib or elem.attrib['multiselect'] != 'true' %} {% set first_child = [] %} {% for sub_elem in elem.getchildren() %} {% set sub_elem_text = '' if sub_elem.text == None else sub_elem.text %} {% if 'configurable' not in sub_elem.attrib or sub_elem.attrib['configurable'] != '0' %}
{% if 'id' not in elem.attrib %} {% if not first_child %} {% do first_child.append(1) %} {% else %} {% endif %} {% if ','.join(['uos', elem.tag, sub_elem.tag]) not in launch_item_values %}
{% if 'readonly' in sub_elem.attrib and sub_elem.attrib['readonly'] == 'true' %} {% else %} {% endif %}
{% else %} {% endif %}

{% else %} {% if not first_child %} {% do first_child.append(1) %} {% else %} {% endif %} {% if ','.join(['uos', elem.tag, sub_elem.tag]) not in launch_item_values %}
{% if 'readonly' in sub_elem.attrib and sub_elem.attrib['readonly'] == 'true' %} {% else %} {% endif %}
{% else %}

{% endif %} {% endif %}
{% endif %} {% endfor %} {% elif 'configurable' not in elem.attrib or elem.attrib['configurable'] != '0' %}

{% endif %} {% endif %} {% endfor %}
{% else %} No setting available. Select one board info and make sure the launch xml exists. {% endif %}
{% endblock %}