2015-02-23 12:27:07 +02:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block body %}
|
|
|
|
<h1>Select & Upload an image for GNS3</h1>
|
|
|
|
<form enctype="multipart/form-data" action="/upload" method="post">
|
2015-03-13 19:46:02 +02:00
|
|
|
File path: <input type="file" name="file" /><br>
|
|
|
|
File type: <select name="type" />
|
2015-03-07 14:52:40 +02:00
|
|
|
<option value="IOU">IOU</option>
|
2015-03-13 19:46:02 +02:00
|
|
|
<option value="IOURC">IOU licence (iourc)</option>
|
2015-03-07 14:52:40 +02:00
|
|
|
<option value="IOS">IOS</option>
|
|
|
|
<option value="QEMU">Qemu</option>
|
|
|
|
</select>
|
2015-02-23 12:27:07 +02:00
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<input type="submit" value="Upload" />
|
|
|
|
</form>
|
2015-02-23 18:21:39 +02:00
|
|
|
{%if files%}
|
|
|
|
<h2>Files on {{gns3_host}}</h2>
|
|
|
|
{%for file in files%}
|
2015-02-24 00:49:05 +02:00
|
|
|
<p>{{file}}</a></p>
|
2015-02-23 12:27:07 +02:00
|
|
|
{%endfor%}
|
|
|
|
{%endif%}
|
|
|
|
{% endblock %}
|