-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
114 lines (105 loc) · 4.64 KB
/
index.html
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>WebElicit</title>
<script type="text/javascript" src="script.js"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="navbar">
<table id="headerTable">
<tr><td><h1>
<span id="hour">00</span> :
<span id="min">00</span> :
<span id="sec">00</span>
</h1>
</td>
<td>
<button onclick="startStop()" id="start">Start</button>
<button onclick="reset()">Reset</button>
<button onmousedown="assign()" onmouseup="assign()" id="assign_button">Assign time</button>
<p>
<button onclick="addRow()">Add Row</button>
<button onclick="deleteRow()">Delete row</button>
<button onclick="exportFiles()">Export</button>
</p>
</td>
<td>
<div>
<label for="input-file">Import CSV:</label><br>
<input type="file" id="input-file">
</div>
<script>
document.getElementById("input-file").addEventListener('change', getFile);
window.mobileAndTabletCheck();
</script>
</td>
</table>
</p>
</div>
<div class="main">
Session Title:<form><input type="text" name="Title" value="" id="doc_title"></form>
<table id="myTable">
<tr><th>Translation<br><form><input type="text" id="translation_lg" placeholder="ISO 639-1"></form></th>
<th>Transcription<br><form><input type="text" id="transcription_lg" placeholder="ISO 639-1"></form></th>
<th>Notes<br><form><input type="text" id="notes_lg" placeholder="ISO 639-1"></form></th>
<th>Start Time</th>
<th>End Time</th>
</tr>
<tr>
<td><form><input type="text" name="Translation" value="" id="1_translation"></form></td>
<td><form><input type="text" name="Transcription" value="" id="1_transcription"></form></td>
<td><form><input type="text" name="Notes" value="" id="1_notes"></form></td>
<td><form><input type="radio" id="radio_0" onclick="radioClick(0)"></form>
<span id="0_hour">00</span> :
<span id="0_min">00</span> :
<span id="0_sec">00</span> :
<span id="0_milisec">00</span>
</td>
<td><form><input type="radio" id="radio_1" onclick="radioClick(1)"></form>
<span id="1_hour">00</span> :
<span id="1_min">00</span> :
<span id="1_sec">00</span> :
<span id="1_milisec">00</span>
</td>
</tr>
<tr>
<td><form><input type="text" name="Translation" value="" id="2_translation"></form></td>
<td><form><input type="text" name="Transcription" value="" id="2_transcription"></form></td>
<td><form><input type="text" name="Notes" value="" id="2_notes"></form></td>
<td><form><input type="radio" id="radio_2" onclick="radioClick(2)"></form>
<span id="2_hour">00</span> :
<span id="2_min">00</span> :
<span id="2_sec">00</span> :
<span id="2_milisec">00</span>
</td>
<td><form><input type="radio" id="radio_3" onclick="radioClick(3)"></form>
<span id="3_hour">00</span> :
<span id="3_min">00</span> :
<span id="3_sec">00</span> :
<span id="3_milisec">00</span>
</td>
</tr>
<tr>
<td><form><input type="text" name="Translation" value="" id="3_translation"></form></td>
<td><form><input type="text" name="Transcription" value="" id="3_transcription"></form></td>
<td><form><input type="text" name="Notes" value="" id="3_notes"></form></td>
<td><form><input type="radio" id="radio_4" onclick="radioClick(4)"></form>
<span id="4_hour">00</span> :
<span id="4_min">00</span> :
<span id="4_sec">00</span> :
<span id="4_milisec">00</span>
</td>
<td><form><input type="radio" id="radio_5" onclick="radioClick(5)"></form>
<span id="5_hour">00</span> :
<span id="5_min">00</span> :
<span id="5_sec">00</span> :
<span id="5_milisec">00</span>
</td>
</tr>
</table><br>
</div>
</body>
</html>