1 |
torben |
2042 |
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
2 |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
3 |
|
|
<html> |
4 |
|
|
<head> |
5 |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
6 |
|
|
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js"></script> |
7 |
|
|
<title>SpejdernetScraper</title> |
8 |
|
|
|
9 |
|
|
<script type="text/javascript"> |
10 |
|
|
|
11 |
|
|
$(document).ready( function() { |
12 |
|
|
$("#mainButton").click( function() { |
13 |
|
|
$.get("start", function(data) { |
14 |
|
|
alert(data); |
15 |
|
|
|
16 |
|
|
setInterval( function() { |
17 |
|
|
$("#output").load("log"); |
18 |
|
|
},1000); |
19 |
|
|
}); |
20 |
|
|
}); |
21 |
|
|
}); |
22 |
|
|
|
23 |
|
|
</script> |
24 |
|
|
|
25 |
|
|
</head> |
26 |
|
|
<body> |
27 |
|
|
|
28 |
|
|
<h2>SpejdernetScraper</h2> |
29 |
|
|
Værktøj til at kopiere data fra medlemssystemet til horsensspejder.t-hoerup.dk. |
30 |
|
|
|
31 |
|
|
<br><br><br> |
32 |
|
|
<button id="mainButton">Start flytning</button><br><br> |
33 |
|
|
|
34 |
|
|
<pre id="output"> |
35 |
|
|
[output] |
36 |
|
|
</pre> |
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
</body> |
41 |
|
|
</html> |