Advertisement
Guest User

Untitled

a guest
Apr 19th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. {% load staticfiles %}
  2. <html>
  3. <head>
  4. <title>Détection anomalies</title>
  5. <link href="/static/js/nv.d3.css" rel="stylesheet" type="text/css">
  6. </head>
  7. <body>
  8. <form action="/upload/" method="POST" enctype="multipart/form-data" id="upload-form">
  9. {% csrf_token %}
  10. Fichier : <input type="file" name="file"/>
  11. <input type="submit" value="Ouvrir..."/>
  12. </form>
  13. <form action="/analyze/" method="POST" id="analyze-form">
  14. {% csrf_token %}
  15. K : <input type="number" name="K" id="K" min="1" value="1"/>
  16. N : <input type="number" name="N" min="1" max="100" value="1"/>
  17.  
  18. <input type="submit" value="Analyser"/>
  19. </form>
  20. <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
  21.  
  22. <script src="http://d3js.org/d3.v3.min.js" charset="utf-8" type="text/javascript"></script>
  23.  
  24.  
  25. <script src="{% static 'js/nv.d3.min.js' %}" type="text/javascript"></script>
  26. <script src="{% static 'js/upload_ajax.js' %}" type="text/javascript"></script>
  27.  
  28. </body>
  29. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement