diff options
-rw-r--r-- | public/js/hebrewparsetrainer.js | 3 | ||||
-rw-r--r-- | resources/views/trainer.php | 20 |
2 files changed, 13 insertions, 10 deletions
diff --git a/public/js/hebrewparsetrainer.js b/public/js/hebrewparsetrainer.js index 6dc43a0..b453458 100644 --- a/public/js/hebrewparsetrainer.js +++ b/public/js/hebrewparsetrainer.js @@ -42,7 +42,7 @@ $(document).ready(function(){ <div class='col-md-8'>\ <div class='form-group'>\ <label for='trainer-input-"+input_count+"'>Parse:</label>\ - <input type='text' class='form-control' id='trainer-input-"+input_count+"' placeholder='Q pf 3 m s' spellcheck='false'/>\ + <input type='text' class='form-control' id='trainer-input-"+input_count+"' placeholder='Q pf 3ms' spellcheck='false'/>\ </div>\ </div>\ <div class='col-md-4'>\ @@ -230,7 +230,6 @@ $(document).ready(function(){ correct_answers.splice(i,1); if (correct_answers.length > 0) { - console.log(correct_answers); addInput(); return false; } else { diff --git a/resources/views/trainer.php b/resources/views/trainer.php index 69ed8b5..cec745d 100644 --- a/resources/views/trainer.php +++ b/resources/views/trainer.php @@ -76,13 +76,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. <p class="lead"><span class="hebrew hebrew-large" id="trainer-verb"></span><span id="trainer-answer"></span></p> </div> <div class="col-md-10 col-xs-8 text-muted"> - <p id="trainer-input-help"> - <strong>Stems</strong>: either use the full name or a significant beginning (i.e. <code>Q</code> for Qal but <code>Pi</code> for Piel rather than <code>P</code>).<br/> - <strong>Tenses</strong>: use the abbreviations <code>pf</code>, <code>ipf</code>, <code>coh</code>, <code>imp</code>, <code>jus</code>, <code>infcs</code>, <code>infabs</code>, <code>pta</code> and <code>ptp</code>.<br/> - <strong>Person</strong>: <code>1</code>, <code>2</code>, <code>3</code> or none (infinitives and participles).<br/> - <strong>Gender</strong>: <code>m</code>, <code>f</code> or none (infinitives).<br/> - <strong>Number</strong>: <code>s</code>, <code>p</code> or none (infinitives). - </p> + <div id="trainer-input-help"> + <p>Parse the verb and enter the answer as described below. Press return. If your answer was correct and there are multiple possible parsings, an extra input field will appear. After the first incorrect answer or after entering all possible answers, you can continue to the next verb by pressing return once more.</p> + <p> + <strong>Stems</strong>: either use the full name or a significant beginning (i.e. <code>Q</code> for Qal but <code>Pi</code> for Piel rather than <code>P</code>).<br/> + <strong>Tenses</strong>: use the abbreviations <code>pf</code>, <code>ipf</code>, <code>coh</code>, <code>imp</code>, <code>jus</code>, <code>infcs</code>, <code>infabs</code>, <code>pta</code> and <code>ptp</code>.<br/> + <strong>Person</strong>: <code>1</code>, <code>2</code>, <code>3</code> or none (infinitives and participles).<br/> + <strong>Gender</strong>: <code>m</code>, <code>f</code> or none (infinitives).<br/> + <strong>Number</strong>: <code>s</code>, <code>p</code> or none (infinitives). + </p> + <p><strong>Examples</strong>: <code>Q pf 3ms</code>, <code>ni pta fp</code>, <code>pi infabs</code>.</p> + </div> <button type="button" class="btn btn-default btn-xs" id="show-hide-help">Show help</button> </div> </div> @@ -92,4 +96,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. <script src="vendor/twbs/bootstrap/dist/js/bootstrap.min.js"></script> <script src="public/js/hebrewparsetrainer.js"></script> </body> -</html>
\ No newline at end of file +</html> |