diff options
Diffstat (limited to 'resources/views/trainer.blade.php')
-rw-r--r-- | resources/views/trainer.blade.php | 70 |
1 files changed, 25 insertions, 45 deletions
diff --git a/resources/views/trainer.blade.php b/resources/views/trainer.blade.php index ea0c141..c73dcd3 100644 --- a/resources/views/trainer.blade.php +++ b/resources/views/trainer.blade.php @@ -1,26 +1,17 @@ <?php use HebrewParseTrainer\Root; -use HebrewParseTrainer\Stem; +use HebrewParseTrainer\Mode; use HebrewParseTrainer\Tense; ?> @extends('layouts.with_sidebar') @section('sidebar') -<form id="hebrewparsetrainer-settings"> +<form id="luoparsetrainer-settings"> <input type="hidden" id="csrf" value="{{ csrf_token() }}"/> <div class="form-group"> - <h3>Stems</h3> - @foreach (Stem::all() as $stem) - <div class="checkbox"> - <label><input class="reload-verb" type="checkbox" name="stem" value="{{{ $stem->name }}}" checked="checked"/> {{{ $stem->name }}}</label> - </div> - @endforeach - </div> - - <div class="form-group"> - <h3>Tenses</h3> + <h3>Tempora</h3> @foreach (Tense::all() as $tense) <div class="checkbox"> <label><input class="reload-verb" type="checkbox" name="tense" value="{{{ $tense->name }}}" checked="checked"/> {{{ $tense->name }}}</label> @@ -29,14 +20,12 @@ use HebrewParseTrainer\Tense; </div> <div class="form-group"> - <h3>Roots</h3> - <select name="root" class="reload-verb form-control hebrew ltr" multiple="multiple"> - @foreach (Root::orderBy('root_kind_id')->orderBy('root')->get() as $root) - @if ($root->verbs()->where('active', 1)->count() > 0) - <option value="{{{ $root->root }}}" selected="selected">{{{ $root->root }}} ({{{ $root->kind->name }}})</option> - @endif + <h3>Modi</h3> + @foreach (Mode::all() as $mode) + <div class="checkbox"> + <label><input class="reload-verb" type="checkbox" name="mode" value="{{{ $mode->name }}}" checked="checked"/> {{{ $mode->name }}}</label> + </div> @endforeach - </select> </div> <div class="form-group"> @@ -52,39 +41,30 @@ use HebrewParseTrainer\Tense; <div id="trainer"> <div id="trainer-input-container"> <p class="bg-danger" id="trainer-404">There are no verbs matching the criteria in our database.</p> - <p class="lead"><span class="hebrew hebrew-large" id="trainer-verb"></span><span id="trainer-answer"></span></p> + <p class="lead"><span class="greek greek-large" id="trainer-verb"></span><span id="trainer-answer"></span></p> </div> <div id="trainer-input-fancy"></div> <div class="text-muted"> <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). + Parseer de werkwoordsvorm en vul het antwoord in, gevolgd door <code>Enter</code>. + Als het antwoord correct is en er meerdere mogelijke antwoorden zijn, verschijnt er een extra invoerveld. + Na het eerste incorrecte antwoord, of als alle mogelijkheden zijn gegeven, kun je door naar de volgende vorm met <code>Enter</code>. </p> - <p><strong>Examples</strong>: <code>Q pf 3ms</code>, <code>ni pta fp</code>, <code>pi infabs</code>.</p> - <p>You can also use the buttons to enter your answer. This is an experimental feature.</p> - </div> - <button type="button" class="btn btn-default btn-xs" id="show-hide-help">Show help</button> - </div> -</div> - -<hr/> - -<div class="row"> - <div class="col-md-12"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h3 class="panel-title">About</h3> - </div> - <div class="panel-body"> - <p>© 2015–{!! date('y') !!} <a href="https://camilstaps.nl">Camil Staps</a>. Licensed under <a href="http://www.gnu.org/licenses/gpl-3.0.en.html">GPL 3.0</a>. Source is on <a href="https://github.com/HebrewTools/ParseTrainer">GitHub</a>.</p> - <p>Please report any mistakes to <a href="mailto:info@camilstaps.nl">info@camilstaps.nl</a>.</p> - </div> + <p> + <strong>Tempora</strong> (tijden): gebruik de afkortingen pr(aesens), imp(er)f(ectum), aor(istus), fut(urum), p(er)f(ectum) en p(lus)q(uam)p(er)f(ectum).<br/> + <strong>Modi</strong> (wijzen): ind(icativus), conj(unctivus), opt(ativus), imp!(erativus), p(ar)t(i)c(ipium), inf(initivus).<br/> + <strong>Genera</strong>: A(ctivum), M(edium), P(assivum), M(edio-)P(assivum).<br/> + <strong>Persoon</strong> (indien van toepassing): 1, 2 of 3.<br/> + <strong>Geslacht</strong> (indien van toepassing): M(asculinum), F(eminimum), N(eutrum).<br/> + <strong>Naamval</strong> (indien van toepassing): nom(inativus), gen(itivus), dat(ivus), acc(usativus).<br/> + <strong>Getal</strong> (indien van toepassing): e(nkel)v(oud) of m(eer)v(oud). + </p> + <p><strong>Voorbeelden</strong>: <code>pr ind A 1 ev</code>, <code>fut inf M</code>, <code>pqpf ptc P M nom ev</code>.</p> + <p>Je kunt ook de knoppen gebruiken om een vorm te parseren.</p> + <p>© 2015–{!! date('y') !!} <a href="https://camilstaps.nl">Camil Staps</a>. Gelicenseerd onder <a href="http://www.gnu.org/licenses/gpl-3.0.en.html">GPL 3.0</a>. De broncode staat op <a href="https://git.camilstaps.nl/luo-parsetrainer.git">git.camilstaps.nl/luo-parsetrainer.git</a>.</p> </div> + <button type="button" class="btn btn-default btn-xs" id="show-hide-help">Meer informatie</button> </div> </div> |