-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
80 lines (79 loc) · 1.98 KB
/
index.html
File metadata and controls
80 lines (79 loc) · 1.98 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Underwater Network Experiment</title>
</head>
<body>
<h1>Underwater Network Experiment</h1>
<p>Use this form to send data across our network.
</p>
<form enctype='multipart/form-data' method='post' action='submit.php'>
<table>
<tr>
<th>Parameter</th>
<th>Value</th>
</tr>
<tr>
<td>max power</td>
<td><input name='mpwr' type='text'></td>
</tr>
<tr>
<td>min power</td>
<td><input name='lpwr' type='text'></td>
</tr>
<tr>
<td>step power</td>
<td><input name='ppwr' type='text'></td>
</tr>
<tr>
<td>max mode</td>
<td><input name='mmod' type='text'></td>
</tr>
<tr>
<td>min mode</td>
<td><input name='lmod' type='text'></td>
</tr>
<tr>
<td>step mode</td>
<td><input name='pmod' type='text'></td>
</tr>
<tr>
<td>max blocks/packet</td>
<td><input name='mbkn' type='text'></td>
</tr>
<tr>
<td>min blocks/packet</td>
<td><input name='lbkn' type='text'></td>
</tr>
<tr>
<td>step blocks/packet</td>
<td><input name='pbkn' type='text'></td>
</tr>
<!-- TODO: pass this to post -->
<tr>
<td>number of repetitions</td>
<td><input name='rptt' type='text'></td>
</tr>
<!--
<tr>
<td>file type</td>
<td><input name='fileType' type='radio' value='text'>text<br><input name='fileType' type='radio' value='image'>image</td>
</tr>
-->
<tr>
<td>file path</td>
<!-- read number from php.ini, or use default if read error -->
<td><input type="hidden" name="MAX_FILE_SIZE" value="2000000"><input name="filePath" type="file"></td>
</tr>
<tr>
<td>your email</td>
<td><input name='email' type='text'></td>
</tr>
</table>
<input type='submit' value='submit'>
</form>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src='main.js'></script>
</body>
</html>