-
Notifications
You must be signed in to change notification settings - Fork 0
/
kartuliflash.hbs
68 lines (57 loc) · 1.91 KB
/
kartuliflash.hbs
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
{{> header }}
<div class="container" id="kartuliflash">
<h1>Georgian Letter Flashcards</h1>
<div class="row">
<div class="col-xs-12 col-sm-8">
<div class="main">
<h2>Play</h2>
<form class="form-horizontal" id="flashcard">
<div class="row">
<div class="col-xs-12 col-sm-8">
<div class="row">
<div class="col-xs-4 col-sm-3">
<label>Georgian</label>
</div>
<div class="col-xs-8 col-sm-9">
<span id="georgian"></span>
</div>
</div>
<div class="row" id="guessrow">
<div class="col-xs-4 col-sm-3">
<label>English</label>
</div>
<div class="col-xs-8 col-sm-9">
<input class="form-control" type="text" id="guess" size="3" maxlength="3" />
<button class="btn btn-success" id="check">Check</button>
</div>
</div>
</div>
</div>
</form>
<div class="alert alert-warning" id="scoreboard">
Score: <span id="score" rol="alert">0 / 0</span>
</div>
<div id="solution"></div>
<div id="buttons">
<button class="btn btn-default" id="new">New Card</button>
<button class="btn btn-default" id="showtable">Show Table</button>
</div>
<table class="table table-striped table-bordered" id="letter-table">
<tbody>
</tbody>
</table>
</div><!-- main -->
</div>
<div class="col-xs-12 col-sm-4">
<div class="sidebar">
<h2>Hints</h2>
<p>Type in the english equivalent to the georgian character displayed</p>
<p>Test answer: <span class="btn btn-success">Check</span> or <kbd>Enter</kbd></p>
<p>Deal new card: <span class="btn btn-default">New Card</span> or <kbd>Alt-n</kbd></p>
<p>Reveal full character table via <span class="btn btn-default">Show Table</span></p>
</div>
</div>
</div>
<script src="/static/js/kartuliflash.js" type="text/javascript"></script>
</div><!-- kartuliflash -->
{{> footer }}