Loading src/templates/home.html +42 −17 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ <html> <head> <title>tosca2doc</title> <title>ETSI CTI - TOSCA Tools</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> Loading @@ -23,38 +23,63 @@ {% endif %} {% endwith %} <h1 style="text-align:center">TOSCA import/export</h1> <h5 style="text-align:center; margin-bottom: 50px">v {{ VERSION }}</h5> <center> <h1>TOSCA import/export</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> <div class="row"> <div class="col-sm" > <h2 style="text-align:center">tosca2doc</h2> <div class="jumbotron"> <h2 class="display-4" style="text-align:center;">tosca2doc</h2> <p class="lead">Generate a Docx document from the set of TOSCA definitions in YAML.</p> <hr class="my-4"> <ol> <li>Upload TOSCA definitions in YAML format.</li> <li>Upload TOSCA definitions in YAML format. Filenames expected are:</li> <ul> <li>etsi_nfv_sol001_vnfd_types.yaml</li> <li>etsi_nfv_sol001_nsd_types.yaml</li> <li>etsi_nfv_sol001_pnfd_types.yaml</li> </ul> <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" /> <input type="file" name="file" multiple=""/><br /><br /> <center> <input type="submit" class="btn btn-primary" value="Upload" /> </center> </form> </div> </div> <div class="col-sm"> <h2 style="text-align:center">doc2tosca</h2> <div class="jumbotron"> <h2 class="display-4" style="text-align:center;">doc2tosca</h2> <p class="lead">Uploade a Docx document to get the TOSCA definitions in YAML files.</p> <hr class="my-4"> <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" /> <input type="file" name="file" /><br /><br /> <center> <input type="submit" class="btn btn-primary" value="Upload" /> </center> </form> </div> </div> </div> <center> <small>Copyright © ETSI 2019. All rights reserved.</small> </center> </body> </html> No newline at end of file Loading
src/templates/home.html +42 −17 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ <html> <head> <title>tosca2doc</title> <title>ETSI CTI - TOSCA Tools</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> Loading @@ -23,38 +23,63 @@ {% endif %} {% endwith %} <h1 style="text-align:center">TOSCA import/export</h1> <h5 style="text-align:center; margin-bottom: 50px">v {{ VERSION }}</h5> <center> <h1>TOSCA import/export</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> <div class="row"> <div class="col-sm" > <h2 style="text-align:center">tosca2doc</h2> <div class="jumbotron"> <h2 class="display-4" style="text-align:center;">tosca2doc</h2> <p class="lead">Generate a Docx document from the set of TOSCA definitions in YAML.</p> <hr class="my-4"> <ol> <li>Upload TOSCA definitions in YAML format.</li> <li>Upload TOSCA definitions in YAML format. Filenames expected are:</li> <ul> <li>etsi_nfv_sol001_vnfd_types.yaml</li> <li>etsi_nfv_sol001_nsd_types.yaml</li> <li>etsi_nfv_sol001_pnfd_types.yaml</li> </ul> <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" /> <input type="file" name="file" multiple=""/><br /><br /> <center> <input type="submit" class="btn btn-primary" value="Upload" /> </center> </form> </div> </div> <div class="col-sm"> <h2 style="text-align:center">doc2tosca</h2> <div class="jumbotron"> <h2 class="display-4" style="text-align:center;">doc2tosca</h2> <p class="lead">Uploade a Docx document to get the TOSCA definitions in YAML files.</p> <hr class="my-4"> <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" /> <input type="file" name="file" /><br /><br /> <center> <input type="submit" class="btn btn-primary" value="Upload" /> </center> </form> </div> </div> </div> <center> <small>Copyright © ETSI 2019. All rights reserved.</small> </center> </body> </html> No newline at end of file