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-07 14:52:40 +02:00
|
|
|
File: <input type="file" name="file" /><br>
|
|
|
|
Image type: <select name="type" />
|
|
|
|
<option value="IOU">IOU</option>
|
2015-03-07 15:38:38 +02:00
|
|
|
<option value="IOURC">IOU licence</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 %}
|