home.html 1.15 KB
Newer Older
<!doctype html>

<html>

<head>
<title>tosca2doc</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">

</head>
<body>

<div class="container-fluid">

{% with messages = get_flashed_messages() %}
  {% if messages %}
   <div class="alert alert-warning" role="alert">
    <ul class=flashes>
    {% for message in messages %}
      <li>{{ message }}</li>
    {% endfor %}
    </ul>
   </div>
  {% endif %}
{% endwith %}


<h1 style="text-align:center">TOSCA export</h1>
<div class="row">
	<div class="col-sm">
		<h2>tosca2doc</h2>
		<form action="/tosca2doc" method="post" enctype="multipart/form-data">
			Tosca YAML files:<br />
			<input type="file" name="file" multiple=""/><br />
			<input type="submit" value="Upload" />
		</form>
	</div>

	<div class="col-sm">
		<h2>doc2tosca</h2>
			<form action="/doc2tosca" method="post" enctype="multipart/form-data">
			Docx file:<br />
			<input type="file" name="file" /><br />
			<input type="submit" value="Upload" />
		</form>
	</div>
</div>

</div>
</body>

</html>