summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2014-02-13 16:23:12 +0200
committerFilipp Lepalaan <f@230.to>2014-02-13 16:23:12 +0200
commitde7e367e1c74940317a1188f44c72547f6dec837 (patch)
tree47cca14bac9eae7c634f170b0114b50201587bb2 /index.html
parentb512e81120bb79bb60e8fad116ffbfac3d268acc (diff)
downloadintercheck-de7e367e1c74940317a1188f44c72547f6dec837.tar.gz
intercheck-de7e367e1c74940317a1188f44c72547f6dec837.tar.bz2
intercheck-de7e367e1c74940317a1188f44c72547f6dec837.zip
Switching workstations
Diffstat (limited to 'index.html')
-rw-r--r--index.html40
1 files changed, 24 insertions, 16 deletions
diff --git a/index.html b/index.html
index 89cb1f5..134bbf2 100644
--- a/index.html
+++ b/index.html
@@ -1,19 +1,27 @@
<!DOCTYPE html>
<html>
-<head>
- <title>intercheck 0.001</title>
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.12/angular.min.js"></script>
- <style type="text/css">
- body {
-
- }
- </style>
-</head>
-<body>
-{% block main %}
- <form method="post" action="/scan/">
- <button type="submit">Go!</button>
- </form>
-{% end %}
-</body>
+ <head>
+ <title>intercheck 0.001</title>
+ <script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
+ <style type="text/css">
+ button {
+ width: 100px;
+ height: 50px;
+ }
+ </style>
+ <script type="text/javascript">
+ $(function(){
+ $('button').click(function(){
+ console.log('SCANNING!!!');
+ $.getJSON('/scan/', function(r){
+ console.log(r);
+ });
+ });
+ });
+ </script>
+ </head>
+ <body>
+ <button type="button">Go!</button>
+ <blockquote id="results"></blockquote>
+ </body>
</html>