Skip to content
Snippets Groups Projects
Commit c8fb3b26 authored by carignani's avatar carignani
Browse files

details pages for the tools

parent bb8bb5f7
No related branches found
No related tags found
No related merge requests found
<!doctype html>
<html>
<head>
<title>ETSI CTI - doc2tosca details</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">
<meta name="viewport" content="width=device-width, initial-scale=1">
</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 %}
<center>
<h1>doc2tosca details</h1>
<h5 style="margin-bottom: 50px">v {{ VERSION }}</h5>
<p>
The tools available on this page are provided with NO GUARANTEES and shall be used ONLY for validation of ETSI Specifications.
<br/>
For any inquiry, contact <a href="mailto:cti_support@etsi.org">ETSI CTI</a></p>
<center>
<small>Copyright &copy; ETSI 2019. All rights reserved.</small>
</center>
</body>
</html>
\ No newline at end of file
......@@ -46,6 +46,9 @@ For any inquiry, contact <a href="mailto:cti_support@etsi.org">ETSI CTI</a></p>
</ul>
<li>Download a docx file containing all the definitions.</li>
</ol>
<center>
<a href="/doc2tosca-info">Details</a>
</center>
<form action="/tosca2doc" method="post" enctype="multipart/form-data">
Tosca YAML files:<br />
<input type="file" name="file" multiple=""/><br /><br />
......
<!doctype html>
<html>
<head>
<title>ETSI CTI - tosca2doc details</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">
<meta name="viewport" content="width=device-width, initial-scale=1">
</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 %}
<center>
<h1>tosca2doc details</h1>
<h5 style="margin-bottom: 50px">v {{ VERSION }}</h5>
<p>
The tools available on this page are provided with NO GUARANTEES and shall be used ONLY for validation of ETSI Specifications.
<br/>
For any inquiry, contact <a href="mailto:cti_support@etsi.org">ETSI CTI</a></p>
<center>
<small>Copyright &copy; ETSI 2019. All rights reserved.</small>
</center>
</body>
</html>
\ No newline at end of file
......@@ -41,6 +41,20 @@ def hello():
'''
return render_template("./home.html", VERSION=config.VERSION)
@app.route("/doc2tosca-info")
def doc2tosca_info():
'''
Render home page
'''
return render_template("./doc2tosca-details.html", VERSION=config.VERSION)
@app.route("/tosca2doc-info")
def tosca2doc_info():
'''
Render home page
'''
return render_template("./tosca2doc-details.html", VERSION=config.VERSION)
@app.route("/tosca2doc", methods=['POST'])
def mk_tosca2doc():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment