-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
executable file
·1976 lines (1774 loc) · 93 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
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Use the .htaccess and remove these lines to avoid edge case issues.
More info: h5bp.com/i/378 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Cabra Flashcards for Mobile - the ultimate studying app</title>
<meta name="description" content="Cabra is an award-winning flashcard app for students. Study for free on your phone, tablet, or computer!">
<!-- Mobile viewport optimized: h5bp.com/viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- stupid google forcing me to put this in -->
<meta name="google-site-verification" content="s_XTz4hGrhkZXXn0al1uR7HDDcx2_B2jrbTxdfF-nqw" />
<!-- Primary language - so that Chrome etc will auto-translate for foreigners -->
<meta http-equiv="content-language" content="en" />
<!-- Google Translate's Website customization -->
<meta name="google-translate-customization" content="c9507c64da0e9619-0eb0b8b57e066734-gd4f6ec47e9b3ab46-17" />
<!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->
<!--<link rel="stylesheet" href="css/bootstrap.min.css">-->
<link rel="stylesheet" href="css/bootstrap-cerulean.min.css">
<!--<link rel="stylesheet" href="css/bootstrap-2-theme.min.css">-->
<link rel="stylesheet" href="css/chevre-base.css">
<link rel="stylesheet" href="js/libs/jqplot/jquery.jqplot.min.css">
<link rel="stylesheet" href="css/fonts/open-sans/stylesheet.css">
<link rel="stylesheet" href="css/fonts/raleway/stylesheet.css">
<!--<link rel="stylesheet" href="css/fonts/lobster/stylesheet.css">
<link rel="stylesheet" href="css/fonts/lobster-two/stylesheet.css">-->
<link rel="stylesheet" href="fonts/bootstrap-glyphicons.css">
<link rel="stylesheet" href="fonts/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="js/libs/snapjs/snap.css">
<link rel="shortcut icon" type="image/x-icon" href="img/icons/icon16.png">
<!-- apple touch icons -->
<link rel="apple-touch-icon" href="apple-touch-icon-114x114-precomposed.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- remove url bar on ios -->
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-startup-image" href="img/splash.png">
<link href='http://fonts.googleapis.com/css?family=Raleway:400,700' rel='stylesheet' type='text/css'>
<!-- More ideas for your <head> here: h5bp.com/d/head-Tips -->
</head>
<body>
<!--<div id="top-drawer">
<div class="well">
<div class="list-group">
<a class="list-group-item" href="#">Deck 1</a>
<a class="list-group-item" href="#">Deck 1</a>
<a class="list-group-item" href="#">Deck 1</a>
<a class="list-group-item" href="#">Deck 1</a>
</div>
</div>
</div>-->
<div id="main-container" class="snap-content">
<!-- Fixed navbar -->
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<!--<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>-->
<div class="navbar-collapse collapse navbar-left" id="navbar-menu-button-holder">
<ul class="nav navbar-nav">
<li>
<a href="#" id="navbar-menu-button">
<!--<span class="glyphicon glyphicon-th"></span>-->
<i class="fa fa-bars"></i>
</a>
</li>
</ul>
</div>
<a class="navbar-brand" href="#" data-href="_home">
Cabra
</a>
<div class="navbar-collapse collapse navbar-left">
<ul class="nav navbar-nav">
<li class="hidden-lg hidden-md hidden-sm hidden-xs" id="breadcrumbs"></li>
</ul>
</div>
<div class="navbar-collapse collapse navbar-right">
<ul class="nav navbar-nav">
<li id="nav-button-back">
<a href="#" data-href="_back"> <span class="glyphicon glyphicon-chevron-left"></span></a>
</li>
<li id="nav-button-home">
<a href="#" data-href="_home"> <span class="glyphicon glyphicon-home"></span></a>
</li>
<li id="nav-button-forward">
<a href="#" data-href="_forward"> <span class="glyphicon glyphicon-chevron-right"></span></a>
</li>
</ul>
<div style="display: none;" id="triggers">
<a href="#home" data-toggle="tab" id="trigger-home"></a>
</div>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<!--<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">
<span class="hidden-xs">
Projects <b class="caret"></b>
</span>
<span class="visible-xs">
<b class="caret"></b>
</span>
</a>-->
<ul class="dropdown-menu" role="menu">
<li><a href="#" data-href="deck-home">P1</a></li>
<li><a href="#" data-href="deck-home">P1</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="tab-content" id="main-tab-content">
<section id="home" class="tab-pane active" data-name="Home" data-description="" data-icon="home">
<div class="row">
<div class="col-lg-12">
<div id="welcome-message"></div>
<div id="project-list">
<div class="alert alert-info lead">
<span class="glyphicon glyphicon-refresh"></span>
Loading your flashcards...
</div>
</div>
<div class="btn-group btn-group-justified">
<a href="#dialog-deck-create" data-toggle="modal" class="btn btn-primary" type="button">
<span class="glyphicon glyphicon-plus"></span> Create deck
</a>
<a href="#" data-href="deck-import" class="btn btn-primary" type="button">
<span class="glyphicon glyphicon-import"></span> Import deck
</a>
<!--<button class="btn btn-primary btn-lg dropdown-toggle" type="button" data-toggle="dropdown">
<span class="glyphicon glyphicon-plus"></span> Add deck <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li>
<a href="#deck-add" data-toggle="tab">Create from scratch</a>
</li>
<li>
<a href="#deck-import" data-toggle="tab">Import</a>
</li>
</ul>-->
</div>
</div>
<!--<div class="col-lg-3 well">
<ul class="nav nav-pills nav-stacked">
<li>
<a href="#" data-href="organize" data-toggle="tab"> <span class="glyphicon glyphicon-folder-open"></span> Organize</a>
</li>
<li>
<a href="#" data-href="sync" data-toggle="tab"><span class="glyphicon glyphicon-refresh"></span> Sync</a>
</li>
<li>
<a href="#" data-href="options" data-toggle="tab"><span class="glyphicon glyphicon-cog"></span> Options</a>
</li>
<li>
<a href="#" data-href="help" data-toggle="tab"><span class="glyphicon glyphicon-question-sign"></span> Help</a>
</li>
</ul>
</div>-->
</div>
</section>
<section id="deck-home" class="tab-pane fade" data-name="Deck home" data-description="SAFE AT HOME" data-icon="home">
<div class="page-header">
<h2>
<span id="deck-title-holder"></span>
</h2>
</div>
<div class="row">
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
<div id="deck-home-card-chart"></div>
</div>
<div class="col-lg-9 col-md-8 col-sm-8 col-xs-12">
<div class="row" id="project-page-list">
</div>
<hr>
<div class="btn-group pull-right">
<a href="#" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="glyphicon glyphicon-cog"></span> Tools <span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li><a href="#" id="deck-btn-shuffle">Shuffle flashcards</a></li>
<li><a href="#" id="deck-btn-reset">Reset flashcard grades</a></li>
<li><a href="#" id="deck-btn-swap">Swap questions and answers</a></li>
</ul>
</div>
</div>
</div>
</section>
<section id="study" class="tab-pane" data-name="Study" data-description="Review your flashcards" data-icon="check">
<h2>Studying Setup</h2>
<div class="form-horizontal">
<div class="form-group">
<span class="col-lg-2 label-control">Which cards to study</span>
<span class="col-lg-10">
<select class="form-control" id="study-input-mode">
<option value="normal">Cabra chooses (default)</option>
<option value="cram">All cards in deck</option>
<option value="perfection" id="study-option-wrong-cards">Cards I didn't know last time</option>
<option value="customize">Customize</option>
</select>
<div class="collapse well" id="study-input-customize-options">
<p>Choose which grades of flashcard you will study (you are least familiar with 1 star cards and most familiar with 5 star cards.) Use the Control key to select multiple items on computers.</p>
<select multiple id="study-input-customize-grades" class="form-control" size="5">
<option value="A" selected>1 star</option>
<option value="B">2 stars</option>
<option value="C">3 stars</option>
<option value="D">4 stars</option>
<option value="E">5 stars</option>
</select>
</div>
</span>
</div>
<div class="form-group">
<span class="col-lg-2 label-control">Response style</span>
<span class="col-lg-10">
<select class="form-control" id="study-input-style">
<option value="normal"><strong>Classic</strong> – show front of card</option>
<option value="jeopardy"><strong>Jeopardy</strong> – show back of card</option>
</select>
</span>
</div>
</div>
<a data-href="study-main" class="btn btn-primary btn-lg btn-block" type="button">
<span class="glyphicon glyphicon-play"></span> Start
</a>
</section>
<section id="study-main" class="tab-pane" data-name="Study" data-description="Review your flashcards" data-icon="check" data-childof="study">
<div class="row">
<div id="study-card-area"></div>
<div class="col-lg-3 col-md-3 col-sm-4 col-xs-12 well" id="study-sidebar">
<div class="row">
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
<button class="btn btn-default btn-card-prev"><span class="glyphicon glyphicon-chevron-left"></span></button>
</div>
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-8 text-center">
<span class="btn-card-current"></span>
<div id="study-sidebar-stars">
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
</div>
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="glyphicon glyphicon-cog"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li>
<a href="#" class="btn-quit">Quit</a>
</li>
<li>
<a href="#" class="btn-edit">Edit</a>
</li>
</ul>
</div>
</div>
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
<button class="btn btn-default btn-card-next"><span class="glyphicon glyphicon-chevron-right"></span></button>
<!--<button class="btn btn-default btn-quit-next btn-quit"><span class="glyphicon glyphicon-log-out"></span></button>-->
</div>
</div>
<!--
<ul class="pagination">
<li class="btn-card-prev"><a href="#">«</a></li>
<li class="btn-card-current"><a href="#"></a></li>
<li class="btn-card-next"><a href="#">»</a></li>
</ul>
<div id="study-sidebar-stars">
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
</div>
-->
</div>
</div>
</section>
<section id="study-end" class="tab-pane" data-name="Studying Results" data-description="" data-icon="" data-childof="study">
<h2>Finished Studying</h2>
<div id="study-result-chart"></div>
<a href="#" data-href="deck-home" class="btn btn-primary btn-lg">
<span class="glyphicon glyphicon-ok"></span> Done</a>
<a href="#" data-href="study" class="btn btn-default btn-lg">
<span class="glyphicon glyphicon-refresh"></span> Study again</a>
</section>
<section class="tab-pane fade" id="create" data-name="Create" data-description="Make a new flashcard" data-icon="plus">
<ul id="create-tabs-type" class="nav nav-pills nav-justified" style="margin-bottom: 20px;">
<li class="active" id="create-nav-tab-fr">
<a href="#create-tab-fr" data-toggle="tab">Free Response</a>
</li>
<li id="create-nav-tab-mc">
<a href="#create-tab-mc" data-toggle="tab">Multiple Choice</a>
</li>
</ul>
<form class="form-horizontal" role="form">
<div class="form-group">
<span class="col-lg-2 col-md-2 col-sm-2 col-xs-2 label-control">Question</span>
<span class="col-lg-10 col-md-10 col-sm-10 col-xs-10"><textarea class="form-control" id="create-input-question"></textarea> </span>
</div>
<div class="form-group">
<div class="tab-content">
<div class="tab-pane nopadding active" id="create-tab-fr">
<span class="col-lg-2 col-md-2 col-sm-2 col-xs-2 label-control">Answer</span>
<span class="col-lg-10 col-md-10 col-sm-10 col-xs-10"><textarea class="form-control" id="create-input-answer"></textarea> </span>
</div>
<div class="tab-pane nopadding" id="create-tab-mc">
<span class="col-lg-2 col-md-2 col-sm-2 hidden-xs label-control">Answer choices</span>
<span class="col-lg-10 col-md-10 col-sm-10">
<div id="create-input-answer" class="well">
<div id="create-mc-template-output"></div>
<button class="btn btn-primary btn-block" id="create-mc-button-add" type="button">
<span class="glyphicon glyphicon-plus"></span> Add choice
</button>
<br>
</div> </span>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" href="#create-collapsible-image">
<span class="glyphicon glyphicon-picture"></span> Add an image
</a>
</h4>
</div>
<div id="create-collapsible-image" class="panel-collapse collapse">
<div class="panel-body">
<div id="create-image-if-none">
<p>Choose an image to upload (PNG, JPG, and GIF supported).</p>
<!--<label for="exampleInputFile">File input</label>-->
<!-- TODO class="form-control" looks a bit weird but has that nice border... what to do?-->
<input type="file" id="create-image-input-file" accept="image/jpeg,image/png,image/gif,image/bmp">
</div>
<div id="create-image-if-present">
<p>Your image is below. To insert a different image, remove this one first.</p>
<div id="create-image-preview-holder">
<img id="create-image-preview" src="" class="img-responsive img-preview img-thumbnail img-lightbox">
<button id="create-image-button-remove" class="btn btn-danger" type="button">
<span class="glyphicon glyphicon-remove"></span> Remove image
</button>
</div>
</div>
</div>
</div>
</div>
<button id="create-button-add" class="btn btn-primary btn-block" type="button">
<span class="glyphicon glyphicon-plus"></span> Add flashcard
</button>
<a data-href="_back" id="create-button-save" class="btn btn-primary btn-block" type="button">
<span class="glyphicon glyphicon-saved"></span> Save flashcard
</a>
<a data-href="_back" id="create-button-cancel" class="btn btn-default btn-block" type="button">
<span class="glyphicon glyphicon-remove"></span> Cancel
</a>
<!--<button id="create-button-delete" class="btn btn-danger btn-block" type="button">
<span class="glyphicon glyphicon-trash"></span> Delete flashcard
</button>-->
</form>
</section>
<section class="tab-pane" id="batch" data-name="Batch create" data-description="Create many flashcards at once" data-icon="list">
<div class="row">
<div class="col-lg-9 col-md-9">
<p>Use this tool to <strong>create many flashcards at once</strong>. On each line, enter a question and answer separated by some character (this is the <em>entry style</em>). Each line will be converted into a flashcard.</p>
<p> To make a <strong>multiple-choice flashcard</strong>, separate each answer choice with "|" and put a "*" in front of the right choice. You can have as many choices as you want, but only one can be right.</p>
<div class="form-group">
<span class="col-lg-2 control-label">Entry style</span>
<span class="col-lg-10">
<select class="form-control" id="batch-input-style">
<option value=":">Question: Answer</option>
<option value="/">Question / Answer</option>
<option value="-">Question - Answer</option>
<option value=",">Question, Answer</option>
</select>
</span>
</div>
<br>
<textarea class="form-control" id="batch-textarea" placeholder="Enter text here"></textarea>
<br>
<button class="btn btn-primary btn-block" id="batch-button-create" type="button">
<span class="glyphicon glyphicon-plus"></span>
Add flashcards
</button>
<br>
</div>
<div class="col-lg-3 col-md-3 well">
<h4>Free-response examples</h4>
<ul>
<li>2+2: 4</li>
<li>Color of the sky - Blue</li>
</ul>
<h4>Multiple-choice examples</h4>
<ul>
<li>3+3 / 4|5|*6|7</li>
<li>Color of the sun - *Yellow|Pink|Green</li>
</ul>
</div>
</div>
</section>
<section class="tab-pane" id="manage" data-name="Manager" data-description="View, edit, and delete flashcards" data-icon="edit">
<div class="well">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default active">
<input type="radio" name="manage-radio-mode" id="manage-radio-mode-edit"> Edit mode
</label>
<label class="btn btn-default">
<input type="radio" name="manage-radio-mode" id="manage-radio-mode-delete"> Delete mode
</label>
</div>
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="glyphicon glyphicon-sort"></span> Sort <span class="caret"></span>
</button>
<ul class="dropdown-menu" id="manage-sort-menu" role="menu">
<li>
<a href="#" data-sorton="question" data-desc="false"><span class="glyphicon glyphicon-sort-by-alphabet"></span> Question A-Z</a>
</li>
<li>
<a href="#" data-sorton="question" data-desc="true"><span class="glyphicon glyphicon-sort-by-alphabet-alt"></span> Question Z-A</a>
</li>
<li class="divider"></li>
<li>
<a href="#" data-sorton="answer" data-desc="false"><span class="glyphicon glyphicon-sort-by-alphabet"></span> Answer A-Z</a>
</li>
<li>
<a href="#" data-sorton="answer" data-desc="true"><span class="glyphicon glyphicon-sort-by-alphabet-alt"></span> Answer Z-A</a>
</li>
<li class="divider"></li>
<li>
<a href="#" data-sorton="stars" data-desc="false"><span class="glyphicon glyphicon-sort-by-attributes"></span> Stars 1-5</a>
</li>
<li>
<a href="#" data-sorton="stars" data-desc="true"><span class="glyphicon glyphicon-sort-by-attributes-alt"></span> Stars 5-1</a>
</li>
</ul>
</div>
</div>
<div class="input-group">
<span class="input-group-addon">
<span class="glyphicon glyphicon-filter"></span>
Filter
</span>
<input type="text" id="manage-input-filter" class="form-control">
<!--<span class="input-group-btn">
<button class="btn btn-default" id="manage-button-filter" type="button">
<span class="glyphicon glyphicon-filter"></span>
Filter
</button> </span>-->
<span class="input-group-btn">
<button class="btn btn-default" id="manage-button-filter-clear" type="button">
<span class="glyphicon glyphicon-remove"></span>
</button> </span>
</div>
<br>
<div class="list-group" id="manage-card-list">
<table class="table table-striped table-hover" id="manage-card-table">
</table>
</div>
</section>
<section class="tab-pane" id="print" data-name="Print" data-description="Put your flashcards on paper" data-icon="print">
<form class="form-horizontal" role="form">
<div class="form-group">
<span class="col-lg-2 control-label">Card grades</span>
<span class="col-lg-10">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default active" id="print-input-stars-1">
<input type="checkbox" checked>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star-empty"></span>
<span class="glyphicon glyphicon-star-empty"></span>
<span class="glyphicon glyphicon-star-empty"></span>
<span class="glyphicon glyphicon-star-empty"></span>
</label>
<label class="btn btn-default active" id="print-input-stars-2">
<input type="checkbox" checked>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star-empty"></span>
<span class="glyphicon glyphicon-star-empty"></span>
<span class="glyphicon glyphicon-star-empty"></span>
</label>
<label class="btn btn-default active" id="print-input-stars-3">
<input type="checkbox" checked>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star-empty"></span>
<span class="glyphicon glyphicon-star-empty"></span>
</label>
<label class="btn btn-default active" id="print-input-stars-4">
<input type="checkbox" checked>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star-empty"></span>
</label>
<label class="btn btn-default active" id="print-input-stars-5">
<input type="checkbox" checked>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
<span class="glyphicon glyphicon-star"></span>
</label>
</div> </span>
</div>
<div class="form-group">
<span class="col-lg-2 control-label">Options</span>
<span class="col-lg-10">
<label>
<input type="checkbox" checked id="print-input-images"> Print images
</label>
</span>
</div>
</form>
<a data-href="print-output" class="btn btn-lg btn-block btn-primary" type="button"> <span class="glyphicon glyphicon-print"></span> Print Preview </a>
</section>
<section id="print-output" class="tab-pane" data-name="Print Output" data-description="" data-icon="" data-childof="print">
<div class="page-header">
<h2>
<span class="stylized">
<span class="univ-deck-name stylized"></span>
<!--<small class="stylized"> Made with Cabra Flashcards</small>-->
</span>
<button class="btn btn-lg btn-primary hidden-print" id="print-output-button-print" type="button">
<span class="glyphicon glyphicon-print"></span> Print
</button>
<a data-href="print" class="btn btn-sm btn-default hidden-print" id="print-output-button-back" type="button">
<span class="glyphicon glyphicon-chevron-left"></span> Back to settings
</a>
</h2>
</div>
<div id="print-output-table-area"></div>
</section>
<section class="tab-pane" id="export" data-name="Export" data-description="Download your flashcards offline" data-icon="export">
<p>You can export these flashcards to your device as a backup or so you can use them with other apps.</p>
<p>First you'll need to choose a format. <strong>Comma/slash/enter-separated are good for storing your flashcards, while other apps may use XML or JSON.</strong></p>
<br>
<div class="form-group">
<span class="col-lg-2 control-label">Format</span>
<span class="col-lg-10">
<select class="form-control" id="export-input-format">
<option value="commaSep">Comma-separated (CSV)</option>
<option value="slashSep">Slash-separated</option>
<option value="enterSep">Enter-separated</option>
<option value="xml">XML</option>
<option value="json">JSON</option>
</select> </span>
</div>
<div class="form-group">
<span class="col-lg-2 control-label">Live preview</span>
<span class="col-lg-10">
<div class="well">
<span id="export-live-preview"></span>
</div> </span>
</div>
<button class="btn btn-primary btn-block" id="export-button-run">
<span class="glyphicon glyphicon-download-alt"></span> Export
</button>
<br>
<div id="export-output" class="well">
<p>
Your code is below. Copy and save it into [some filename].<span id="export-output-extension"></span>.
</p>
<textarea class="form-control" id="export-output-text"></textarea>
</div>
</section>
<section id="organize" class="tab-pane" data-name="Organize" data-description="" data-icon="">
<p class="lead">Here, you can organize your decks into groups. To move a deck to a group, drag the deck name underneath the group name. Your changes are automatically saved.</p>
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-6 col-xs-12">
<ul id="organize-group-list"></ul>
</div>
<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="input-group">
<input type="text" id="organize-input-group-name" class="form-control">
<span class="input-group-btn">
<button class="btn btn-primary" type="button" id="organize-button-add">
<span class="glyphicon glyphicon-plus"></span> Add group
</button>
</span>
</div>
<br>
<a data-href="home" class="btn btn-block btn-lg btn-success" id="organize-button-save" type="button">
<span class="glyphicon glyphicon-ok"></span> Done
</a>
</div>
</div>
</section>
<section class="tab-pane" id="sync" data-name="Sync">
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-8">
<div id="sync-show-setup">
<p class="lead">
Sync's already set up on this device - your passcode is <strong id="sync-passcode-reminder"></strong>.
<ul class="lead">
<li>If you want to manually send your flashcards from this device to your other devices, press Upload. <small>(Your flashcards are also automatically uploaded whenever you make changes.)</small></li>
<li>If you have flashcards on your other devices and want to get them on this device too, press Download.</li>
</ul>
</p>
<div class="btn-group btn-group-justified">
<a href="#" class="btn btn-default btn-lg" id="sync-button-upload" data-loading-text="Uploading...">
<span class="glyphicon glyphicon-cloud-upload"></span> Upload</a>
<a href="#" class="btn btn-default btn-lg" id="sync-button-download" data-loading-text="Downloading...">
<span class="glyphicon glyphicon-cloud-download"></span> Download</a>
</div>
<br /><br />
<button class="btn btn-danger" id="sync-button-stop">
<span class="glyphicon glyphicon-ban-circle"></span> Stop syncing
</button>
<br>
</div>
<div id="sync-show-new">
<p class="lead">
You haven't set up sync yet on this device.
<ul class="lead">
<li>If you have flashcards on another device, enter your passcode below.</li>
<li>If you have never synced before or have no cards on your other devices, create a unique, 3- or 4-word passcode and enter it below.</li>
</ul>
</p>
<div class="input-group">
<span class="input-group-addon">Passcode</span>
<input type="text" id="sync-input-passcode" class="form-control">
<span class="input-group-btn">
<button class="btn btn-primary" type="button" id="sync-button-start">
<span class="glyphicon glyphicon-ok"></span> Start
</button> </span>
</div>
<br><br>
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Passcode hints</h3>
</div>
<div class="panel-body">
Think of a memorable, unique passcode that's about 3-4 words long. Favorite book/movie names, pet names, and crazy phrases work. Some examples (don't use these!):
<ul>
<li><em>twenty thousand leagues</em></li>
<li><em>philadelphia phillies phan</em></li>
<li><em>swashbuckling penguin ghosts</em></li>
</ul>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-4 well">
<h3>Privacy</h3>
<p>
All your data is stored securely in the cloud. It's totally anonymous - the only identifying information we store is your passcode.
</p>
<p>
We'll never give your information to someone else unless you approve it.
</p>
</div>
</div>
</section>
<section class="tab-pane fade" id="share" data-name="Share">
<ul class="nav nav-pills nav-justified">
<li class="active"><a href="#share-tab-upload" data-toggle="tab">Upload</a></li>
<li><a href="#share-tab-download" data-toggle="tab">Download</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="share-tab-upload">
<div class="form-horizontal slight-padding">
<div class="form-group">
<label for="share-upload-deck-select" class="col-lg-3 col-md-3 control-label">Deck to upload</label>
<span class="col-lg-9 col-md-9">
<select id="share-upload-deck-select" class="form-control">
<option value="SMALL">Small</option>
<option value="MEDIUM">Medium</option>
<option value="LARGE">Large</option>
<option value="XLARGE">Extra Large</option>
<option value="XXLARGE">Huge (Projector)</option>
</select>
</span>
</div>
<div class="form-group">
<label for="share-upload-password" class="col-lg-3 col-md-3 control-label">Protect with password</label>
<span class="col-lg-9 col-md-9">
<span class="help-block">If you set a password, only people who know the password will be able to download this deck.</span>
<div class="checkbox">
<label>
<input id="share-upload-password-checkbox" type="checkbox">
Password-protect this deck
</label>
</div>
<br>
<input id="share-upload-password" type="text" class="form-control" placeholder="Password">
</span>
</div>
<div class="form-group">
<label for="share-upload-creator" class="col-lg-3 col-md-3 control-label">Your name</label>
<span class="col-lg-9 col-md-9">
<span class="help-block">People who search for or download your deck will be able to see your name.</span>
<input id="share-upload-creator" type="text" class="form-control" placeholder="Anonymous">
</span>
</div>
<button class="btn btn-lg btn-success" id="share-upload-button-send">
<span class="glyphicon glyphicon-cloud-upload"></span> Upload deck
</button>
</div>
<br>
<div class="alert alert-success" id="share-upload-result">
<button type="button" class="close" data-dismiss="alert">×</button>
<p>Congrats - your deck was uploaded to Cabra's servers! Share this URL with your friends so that they can also get it:</p>
<p class="slight-padding"><strong id="share-upload-result-url"></strong></p>
<p class="share-if-password">Remind your friends to use the password <strong id="share-upload-result-password"></strong>!</p>
</div>
</div>
<div class="tab-pane" id="share-tab-download">
<div class="row">
<div class="col-lg-3 col-md-4 col-sm-12 col-xs-12 well">
<!--<h3>Search for decks</h3>
<form class="form-horizontal" id="share-download-form-search">
<div class="form-group">
<label for="search-download-searchby" class="col-sm-3 col-xs-4 control-label">Search by</label>
<span class="col-sm-9 col-xs-8">
<select class="form-control" id="search-download-searchby">
<option>Name</option>
<option>Creator</option>
</select>
</span>
</div>
<div class="form-group">
<label for="search-download-searchfor" class="col-sm-3 col-xs-4 control-label">Search for</label>
<span class="col-sm-9 col-xs-8">
<input type="text" id="search-download-searchfor" class="form-control" placeholder="Deck name or creator name">
</span>
</div>
</form>
<button class="btn btn-primary btn-block" id="share-download-button-search" type="button">
<span class="glyphicon glyphicon-search"></span> Search
</button>
<hr>-->
<h3>Choose decks to view</h3>
<p>Use these buttons to look for decks you can download. Your internet connection must be enabled.</p>
<div class="btn-group">
<button class="btn btn-primary" id="share-download-all">
<span class="glyphicon glyphicon-list"></span> All</button>
<button class="btn btn-default" id="share-download-most-downloaded">
<span class="glyphicon glyphicon-heart"></span> Most downloaded
</button>
<!--<button class="btn btn-default" id="share-download-newest">
<span class="glyphicon glyphicon-time"></span> Newest
</button>-->
<button class="btn btn-default" id="share-download-random">
<span class="glyphicon glyphicon-random"></span> Random
</button>
</div>
</div>
<div class="col-lg-9 col-md-8 col-sm-12 col-xs-12">
<div id="share-download-deck-output">
<div class="alert alert-info">
Use the buttons (All, Most downloaded, etc.) to find decks to import!
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="tab-pane fade" id="options" data-name="Settings">
<div class="form-horizontal slight-padding">
<div class="form-group">
<label for="option-max-cards" class="col-lg-2 control-label">Max. cards per studying session</label>
<span class="col-lg-10">
<input id="option-max-cards" type="number" class="form-control" value="25" min="5" max="100" step="5">
</span>
</div>
<div class="form-group">
<label for="option-font-size" class="col-lg-2 control-label">Flashcard font size</label>
<span class="col-lg-10">
<select id="option-font-size" class="form-control">
<option value="SMALL">Small</option>
<option value="MEDIUM">Medium</option>
<option value="LARGE">Large</option>
<option value="XLARGE">Extra Large</option>
<option value="XXLARGE">Huge (Projector)</option>
</select>
</span>
</div>
<!--<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<div class="checkbox">
<label>
<input type="checkbox" id="option-swipe-skip"> Swipe to skip a flashcard when studying
</label>
</div>
</div>
</div>-->
<hr>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<div class="checkbox">
<label>
<input type="checkbox" id="option-collapse-groups"> Automatically collapse deck groups on the home page
</label>
</div>
</div>
</div>
<hr>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<div class="checkbox">
<label>
<input type="checkbox" id="option-ask-feedback"> Ask for my feedback occasionally
</label>
</div>
</div>
</div>
<hr>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-danger" id="option-delete-all">
<span class="glyphicon glyphicon-exclamation-sign"></span> Delete ALL my data
</button>
</div>
</div>
</div>
<br>
<br>
<div class="slight-padding">
<button type="button" class="btn btn-lg btn-success" id="option-save">
<span class="glyphicon glyphicon-saved"></span>
Save
</button>
</div>
</section>
<section class="tab-pane" id="contact" data-name="Contact">
<p class="lead">
I'm always eager to hear from you, the user, to improve Cabra. Feel free to email me with questions, comments, or suggestions at <span id="contact-email" class="text-primary"></span>. Or try one of these social networks:
</p>
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
<a href="https://twitter.com/hathix" class="btn btn-default btn-block">Twitter</a>
</div>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
<a href="https://facebook.com/hathix" class="btn btn-default btn-block">Facebook</a>
</div>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
<a href="https://github.com/hathix/cabra-mobile" class="btn btn-default btn-block">GitHub</a>
</div>
</div>
</section>
<section class="tab-pane" id="about" data-name="About">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-4 col-xs-12">
<img src="img/icons/icon512.png" class="about-image">
</div>
<div class="col-lg-9 col-md-9 col-sm-8 col-xs-12">
<div class="text-center">
<h2 class="stylized about-app-name">Cabra Flashcards</h2>
<p class="lead text-muted">
Version <span class="about-version"></span> "<span class="about-codename"></span>"<br>
Released <span class="about-released"></span><br>
Copyright © <a href="http://hathix.com">Neel Mehta</a> 2011-<span class="about-copyright-year"></span>.
</p>
</div>
</div>
</div>
<div class="add-padding">
<p>Cabra is a free, open-source studying app designed to help anyone, anywhere improve their education.</p>
<p>This app is officially called Cabra Mobile and is the web/mobile/phone/tablet edition of the studying platform Cabra (that's Spanish for goat, if you're wondering). For advertising purposes, it is known as Cabra Flashcards. Internally, it is called Chevre (that's French for goat).</p>
<p>Thanks to the following software that Cabra uses:
<a href="http://jquery.com">jQuery</a>,
<a href="http://getbootstrap.com">Bootstrap</a>,
<a href="http://html5boilerplate.com">HTML5 Boilerplate</a>
<a href="http://phonegap.com">PhoneGap</a>,
<a href="http://sugarjs.com">SugarJS</a>,
<a href="http://justintulloss.github.com/cobra/">Cobra</a>,
<a href="http://jqplot.com">jqPlot</a>,
<a href="http://glyphicons.com">Glyphicons</a>,
<a href="http://aptana.com">Aptana Studio</a>,
<a href="http://firefox.com">Mozilla Firefox</a>, and
<a href="http://quizlet.com">Quizlet</a>.
<!--
Super awesome shoutout to my girl Anisha Reddy <3
-->
</p>
<hr>
<p>Changes in this version:</p>
<p class="about-changes" style="margin-left:2em;"></p>
</div>
<div class="btn-group btn-group-justified">
<a href="http://www.gnu.org/licenses/gpl-3.0-standalone.html" class="btn btn-link">License (GPL v3)</a>
<a href="https://github.com/hathix/cabra-mobile" class="btn btn-link">Get involved</a>
</div>
</section>
<section class="tab-pane" id="addons">
<ul class="list-group">