{%- extends "base.html" -%} {%- import 'macros.html' as macros -%} {%- set active_page = "Upload" -%} {%- set is_reanalysis = True if firmware else False -%} {%- block styles -%} {%- endblock -%} {%- block body -%}
{%- if is_reanalysis %}

{{ title }} of {{ firmware.uid | replace_uid_with_hid }}

{%- else %}

Upload Firmware

{%- endif %}
{# File #} {%- if not is_reanalysis %} {% call macros.upload_input("file", "File", error) %} {% endcall %} {%- else %} {%- endif %} {# Device Class #} {%- call macros.upload_input("device_class", "Device Class", error) %} {%- endcall %} {# Vendor #} {%- call macros.upload_input("vendor", "Vendor", error) %} {%- endcall %} {# Device Name #} {%- call macros.upload_input("device_name", "Device Name", error) %} {%- endcall %} {# Device Part #} {%- call macros.upload_input("device_part", "Device Part", error) %} {%- endcall %} {# Version #} {%- call macros.upload_input("version", "Version", error) %} {%- endcall %} {# Release Date #} {%- call macros.upload_input("release_date", "Release Date", error, additional_classes='input-group') %}
{%- endcall %} {# Tags #}
Optional: Comma separated list (e.g: flashdump,partial)
{# Analysis Preset #}
{%- if not is_reanalysis %}
{%- endif %}
{% for system in analysis_plugin_dict.keys() | sort %} {% if not analysis_plugin_dict[system][1] %} {# show if plug-in is not mandatory #}
{%- endif %} {%- endfor %}
{%- endblock -%}