mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Display an upload form (upload is not yet ready)
This commit is contained in:
1 parent
210aa6f12a
commit
f7cd09d5fb
30 files changed
+234
-100
No files matched your search
@@ -1,20 +1,16 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<title>Upload Form for GNS3 server {{version}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<p><h1>Select & Upload (v{{version}})</h1></p>
|
||||
<form enctype="multipart/form-data" action="/upload" method="post">
|
||||
File: <input type="file" name="file" />
|
||||
<br />
|
||||
<br />
|
||||
<input type="submit" value="upload" />
|
||||
</form>
|
||||
{%if items%}
|
||||
<h3>Files on {{host}}</h3>
|
||||
{%for item in items%}
|
||||
<p>{{path}}/{{item}}</a></p>
|
||||
{%end%}
|
||||
{%end%}
|
||||
</body>
|
||||
{% extends "layout.html" %}
|
||||
{% 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" />
|
||||
<br />
|
||||
<br />
|
||||
<input type="submit" value="Upload" />
|
||||
</form>
|
||||
{%if items%}
|
||||
<h3>Files on {{host}}</h3>
|
||||
{%for item in items%}
|
||||
<p>{{path}}/{{item}}</a></p>
|
||||
{%endfor%}
|
||||
{%endif%}
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user