The upload interfaces allow user to choose an image type

This commit is contained in:
Julien Duponchelle
2015-03-07 13:52:40 +01:00
parent 1b68a54234
commit d126db1fe9
2 changed files with 12 additions and 3 deletions

View File

@ -2,7 +2,12 @@
{% block body %}
<h1>Select & Upload an image for GNS3</h1>
<form enctype="multipart/form-data" action="/upload" method="post">
File: <input type="file" name="file" />
File: <input type="file" name="file" /><br>
Image type: <select name="type" />
<option value="IOU">IOU</option>
<option value="IOS">IOS</option>
<option value="QEMU">Qemu</option>
</select>
<br />
<br />
<input type="submit" value="Upload" />