-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGrammatica.html
62 lines (58 loc) · 1.8 KB
/
Grammatica.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
<head>
<title>Grammatica</title>
</head>
<body>
<div class="wrap">
<h1>French Grammatica</h1>
<div id="sidebar">
{{> menu}}
</div>
<div id="main">
{{> main}}
</div>
<div>
{{> instructions}}
</div>
</div>
</body>
<template name="main">
<div id="content">
<h3 id="pronoun">{{userPronoun}}</h3>
<h3 id="verb">{{userVerb.verb}}</h3>
<input autofucos type="text" id="userInput"><br>
<a id="submit">Submit</a>
<p>{{userCorrect}}</p>
<p><b>{{theActualAnswer}}</b></p>
<!-- See http://stackoverflow.com/questions/170986/what-is-the-best-way-to-add-options-to-a-select-from-an-array-with-jquery -->
</div>
</template>
<template name="menu">
<div class="menu-wrapper">
<label id="verbTypesTitle">Prompt With:<br>
<select id="VTypeSelector" size="9" multiple="multiple">
<option value="All" selected="selected">All Verb Types</option>
{{#each verbtypes}}
<option value="{{this}}">{{this}}</option>
{{/each}}
</select>
</label>
</div>
</template>
<template name="instructions">
<p id="notice" class="wrap"><u>Instructions:</u><br>
When prompted, enter the pronoun and conjugated verb.
(Hint: click "submit" to see the proper format.)
If correct, you will be re-prompted.
If incorrect, you must correct yourself to proceed.<br>
<br>
<!-- <u>Accented Characters:</u><br> -->
<!-- On a Mac:<br> -->
<!-- <br> -->
<u>Development Notices:</u><br>
This is a <b>beta site</b> still under development!<br>
The menu at the left is currently under construction.<br>
Check out the <a href="https://github.com/michaelsilver/Grammatica" target="_blank">source code</a>, available under <a href="https://github.com/michaelsilver/Grammatica/blob/master/LICENSE" target="_blank">this license</a>.<br>
<br>
Copyright © 2014 Michael Silver
</p>
</template>