-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtrain.php
58 lines (55 loc) · 2.47 KB
/
train.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>S.E.A.N.N. - Training</title>
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="css/seann.css" rel="stylesheet" media="screen">
<link href="css/jquery.signaturepad.css" rel="stylesheet" media="screen">
</head>
<body>
<center>
<div class="form well train-form">
<a class="btn btn-success" href="./"><i class="icon-home icon-white"></i> Home</a>
<a class="btn btn-danger" href="./make_fresh.php"><i class="icon-repeat icon-white"></i> Make new brainfile!</a>
<form method="post" action="result.php" class="sigPad">
<canvas class="pad img-polaroid" width="100" height="150"></canvas>
<input type="hidden" name="output" class="output">
<div class="btn-toolbar">
<div class="btn-group train-button">
<button class="btn clearButton" href="#clear"><i class="icon-remove"></i> Clear</button>
</div>
<div class="btn-group train-button">
<button type="submit" class="btn btn-primary" name="number" value="0">0</button>
<button type="submit" class="btn btn-primary" name="number" value="1">1</button>
<button type="submit" class="btn btn-primary" name="number" value="2">2</button>
<button type="submit" class="btn btn-primary" name="number" value="3">3</button>
<button type="submit" class="btn btn-primary" name="number" value="4">4</button>
<button type="submit" class="btn btn-primary" name="number" value="5">5</button>
<button type="submit" class="btn btn-primary" name="number" value="6">6</button>
<button type="submit" class="btn btn-primary" name="number" value="7">7</button>
<button type="submit" class="btn btn-primary" name="number" value="8">8</button>
<button type="submit" class="btn btn-primary" name="number" value="9">9</button>
</div>
</div>
</form>
</div>
</center>
<!--[if lt IE 9]><script src="js/flashcanvas.js"></script><![endif]-->
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="js/jquery.signaturepad.min.js"></script>
<script>
$(document).ready(function() {
var options = {
penColour : '#000',
penCap : 'round',
lineColour : '#FFF',
lineTop : 200,
lineWidth : 0,
penWidth : 10,
drawOnly : true
};
$('.sigPad').signaturePad(options);
});
</script>
<script src="build/json2.min.js"></script>
</body>