Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% load staticfiles %}
- <html>
- <head>
- <title>Détection anomalies</title>
- <link href="/static/js/nv.d3.css" rel="stylesheet" type="text/css">
- </head>
- <body>
- <form action="/upload/" method="POST" enctype="multipart/form-data" id="upload-form">
- {% csrf_token %}
- Fichier : <input type="file" name="file"/>
- <input type="submit" value="Ouvrir..."/>
- </form>
- <form action="/analyze/" method="POST" id="analyze-form">
- {% csrf_token %}
- K : <input type="number" name="K" id="K" min="1" value="1"/>
- N : <input type="number" name="N" min="1" max="100" value="1"/>
- <input type="submit" value="Analyser"/>
- </form>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
- <script src="http://d3js.org/d3.v3.min.js" charset="utf-8" type="text/javascript"></script>
- <script src="{% static 'js/nv.d3.min.js' %}" type="text/javascript"></script>
- <script src="{% static 'js/upload_ajax.js' %}" type="text/javascript"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement