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 import/export</h1>
<h5 style="text-align:center; margin-bottom: 50px">v {{ VERSION }}</h5>
<div class="col-sm" >
<h2 style="text-align:center">tosca2doc</h2>
<ol>
<li>Upload TOSCA definitions in YAML format.</li>
<li>Download a docx file containing all the definitions.</li>
</ol>
<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 style="text-align:center">doc2tosca</h2>
<ol>
<li>Load SOL 001 specification in docx format. </li>
<li>Download a zip file containing TOSCA definitions in YAML.</li>
</ol>
<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>