-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (48 loc) · 2.05 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
<!DOCTYPE HTML>
<html>
<head>
<title>Flash Cards</title>
<meta charset='UTF-8'>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script src="http://code.jquery.com/jquery-2.0.3.min.js" type="text/javascript"></script>
<script src="/js/flashcard.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="css/flashcard.css">
<!-- keyboard courtesy of http://www.greywyvern.com/code/javascript/keyboard -->
<script type="text/javascript" src="keyboard/keyboard.js"></script>
<link rel="stylesheet" type="text/css" href="keyboard/keyboard.css">
</head>
<body class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h1>English - Farsi Flash Cards</h1>
<p>Use the new card widget on the right to add news cards (make sure to include both English and Farsi on each card).</p>
<p>Click on a card, or press the up or down arrow keys to see the other side. Cycle through the cards by clicking the arrow buttons, or by using the arrow keys.</p>
</div>
</div>
<div class="row">
<div class="card col-md-3" id="card_maker">
<div id="error_text">Please input English and Farsi words</div>
<form method="post" >
<input type="text" id="english_word" name="english" placeholder="English...">
<input type="text" id="farsi_word" name="farsi" placeholder="فارسی..." class="farsi keyboardInput">
<a id="submit_button">Add card</a>
</form>
<div id="result"></div>
</div>
<div class="card-container col-md-3 col-md-offset-3">
<div class='panel hover'>
<div class="card front"></div>
<div class="card back"></div>
</div>
<div class="card" id="next_card"></div>
<button class='btn btn-primary' id='last'><-</button>
<button class='btn btn-primary' id='next'>-></button>
<button class='btn btn-danger' id='delete' title='delete current card'>X</button>
</div>
</div>
<div class="row">
<div class="card col-md-3" id="new_card"></div>
</div>
</body>
</html>