index.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initialscale=1.0">
  6. <title>IPERION-HS task 5.4 PARSER: CSV2RDF</title>
  7. <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
  8. <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
  9. <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
  10. </head>
  11. <body>
  12. <h1>IPERION-HS task 5.4 PARSER: CSV2RDF</h1>
  13. <form method="POST" enctype = "multipart/form-data">
  14. <div>
  15. Carica un file CSV:
  16. <fieldset>
  17. <input type="file" id="FILE" name="FILE"><br/><br/>
  18. </fieldset>
  19. <input id="submitted" type="submit" value="Activate Transformation" >
  20. </div>
  21. <div>
  22. ... or manually enter the data of a record:
  23. <fieldset>
  24. <legend>Record:</legend>
  25. {% for entry in data: %}
  26. <label for="nome">{{entry}}</label><br>
  27. <input type="text" id="{{entry}}" name="{{entry}}" placeholder="data"><br><br>
  28. {% endfor %}
  29. </fieldset>
  30. </div>
  31. </form>
  32. <p>When you activate this tool, a customized script transforms the input directly into RDF (TTL) via the parser!</p>
  33. <script>
  34. $("#submitted").click(function() {
  35. alert("transformation carried out successfully");
  36. });
  37. </script>
  38. </body>
  39. </html>