-
Notifications
You must be signed in to change notification settings - Fork 0
/
verbs.html
152 lines (132 loc) · 7.51 KB
/
verbs.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<html>
<head>
<title>Old English Strong Verbs</title>
<meta charset="utf-8">
<!-- Resolve 404 (Not Found) error failed to load favicon.ico -->
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<!-- mobile friendly -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- jquery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- Bootstrap css -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<!-- Local -->
<script src="assets/js/verbs.js"></script>
<script src="assets/js/verbs_JSON.js"></script>
<link rel="stylesheet" href="assets/css/verbs.css">
<link rel="stylesheet" href="assets/css/resources.css">
</head>
<body onload="initialize()">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="index.html">Old English</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link nav-link" href="index.html">home</a>
</li>
<li class="nav-item">
<a class="nav-item nav-link" href="news.html">news</a>
</li>
<li class="nav-item">
<a class="nav-item nav-link" href="request_form.html">suggest resource</a>
</li>
<li class="nav-item">
<a class="nav-item nav-link" href="about.html">about</a>
</li>
<li class="nav-item">
<a class="nav-link nav-link active" aria-current="page" href="verbs.html">verbs</a>
</li>
<li class="nav-item">
<a class="nav-link nav-link" href="wordl.html">wordl</a>
</li>
</ul>
</div>
</div>
</nav>
<p>ǣ ā ē ī ō ū ȳ ġ ċ æ þ ð</p>
<br />
<div class="container">
<form>
<h2><center><span id="verb-meaning"></span></center></h2>
<span id="verb-id" style="display:none"></span>
<div class="row">
<div id="infinitive-row" class="col-md-3 col-sm-12">
<label class="col-form-label" for="infinitive">
<button id="verb-class" type="button" class="btn btn-secondary" title="">
Infinitive
</button>
<span id="infinitive-res"></span>
</label>
<input id ="infinitive" type="text" class="form-control" aria-label="infinitive">
</div>
<div id="preterite-sg-row" class="col-md-3 col-sm-12">
<label class="col-form-label" for="preterite-sg">
<button id="preterite-sg-answer" type="button" class="btn btn-secondary" title="" onclick="fillPretSg()">
Preterite Sg.
</button>
<span id="preterite-sg-res"></span>
</label>
<input id="preterite-sg" type="text" class="form-control" aria-label="preterite-sg">
</div>
<div id="preterite-pl-row" class="col-md-3 col-sm-12">
<label class="col-form-label" for="preterite-pl">
<button id="preterite-pl-answer" type="button" class="btn btn-secondary" title="" onclick="fillPretPl()">
Preterite Pl.
</button>
<span id="preterite-pl-res"></span>
</label>
<input id="preterite-pl" type="text" class="form-control" aria-label="preterite-pl">
</div>
<div id="past-participle-row" class="col-md-3 col-sm-12">
<label class="col-form-label" for="past-participle">
<button id="past-participle-answer" type="button" class="btn btn-secondary" title="" onclick="fillPastPart()">
Past Participle
</button>
<span id="past-participle-res"></span>
</label>
<input id="past-participle" type="text" class="form-control" aria-label="past-participle">
</div>
</div>
<br />
<div class="row">
<div class="col-md-3 col-sm-12">
<input class="form-check-input" type="checkbox" value="" id="macronRequired" checked>
<label class="form-check-label" for="macronRequired">
Require macrons
</label>
</div>
<div class="col-md-2 col-sm-12">
<select id="verb-filter" class="form-select" multiple aria-label="multiple select" onChange="onFilterChange()">
<option selected value="0">All</option>
<option value="1">Strong 1</option>
<option value="2">Strong 2</option>
<option value="3">Strong 3</option>
<option value="4">Strong 4</option>
<option value="5">Strong 5</option>
<option value="6">Strong 6</option>
<option value="7">Strong 7</option>
<option value="pp">Preterite-Present</option>
<option value="i">Weak 1</option>
<option value="ii">Weak 2</option>
<option value="iii">Weak 3</option>
</select>
</div>
</div>
<br />
<div class="row">
<button type="button" class="btn btn-primary" onclick="check_answer()">Check Answer</button>
<button type="button" class="btn btn-secondary" onclick="set_random_verb()">Random verb</button>
<button type="button" class="btn btn-success" onclick="remove_verb()">Mark verb as known</button>
</div>
</form>
</div>
<div id="known-verbs">
</div>
</body>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous">
</script>
</html>