2015-02-23 10:27:07 +00: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 17:46:02 +00:00
|
|
|
File path: <input type="file" name="file" /><br>
|
|
|
|
File type: <select name="type" />
|
2015-03-07 12:52:40 +00:00
|
|
|
<option value="IOU">IOU</option>
|
2015-03-13 17:46:02 +00:00
|
|
|
<option value="IOURC">IOU licence (iourc)</option>
|
2015-03-07 12:52:40 +00:00
|
|
|
<option value="IOS">IOS</option>
|
|
|
|
<option value="QEMU">Qemu</option>
|
2015-07-21 14:14:03 +00:00
|
|
|
<option value="IMAGES">GNS3 images backup (.tar)</option>
|
|
|
|
<option value="PROJECTS">GNS3 projects backup (.tar)</option>
|
2015-03-07 12:52:40 +00:00
|
|
|
</select>
|
2015-02-23 10:27:07 +00:00
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<input type="submit" value="Upload" />
|
|
|
|
</form>
|
2015-02-23 16:21:39 +00:00
|
|
|
{%if files%}
|
|
|
|
<h2>Files on {{gns3_host}}</h2>
|
|
|
|
{%for file in files%}
|
2015-02-23 22:49:05 +00:00
|
|
|
<p>{{file}}</a></p>
|
2015-02-23 10:27:07 +00:00
|
|
|
{%endfor%}
|
|
|
|
{%endif%}
|
|
|
|
{% endblock %}
|