@@ -17,72 +17,68 @@ <h1>Markov Wordsearch</h1>
1717 < button class ="mode-tab " data-mode ="play "> Play</ button >
1818 </ div >
1919
20- < fieldset >
21- < legend > Grid</ legend >
22- < div class ="row ">
23- < div >
24- < label for ="cfg-width "> Width</ label >
25- < input id ="cfg-width " type ="number " min ="5 " max ="40 " value ="15 " />
26- </ div >
27- < div >
28- < label for ="cfg-height "> Height</ label >
29- < input id ="cfg-height " type ="number " min ="5 " max ="40 " value ="15 " />
20+ < div id ="config-controls ">
21+ < fieldset >
22+ < legend > Grid</ legend >
23+ < div class ="row ">
24+ < div >
25+ < label for ="cfg-width "> Width</ label >
26+ < input id ="cfg-width " type ="number " min ="5 " max ="40 " value ="15 " />
27+ </ div >
28+ < div >
29+ < label for ="cfg-height "> Height</ label >
30+ < input id ="cfg-height " type ="number " min ="5 " max ="40 " value ="15 " />
31+ </ div >
3032 </ div >
31- </ div >
32- </ fieldset >
33+ </ fieldset >
3334
34- < fieldset >
35- < legend > Model</ legend >
36- < label for ="cfg-order "> Markov order (N)</ label >
37- < input id ="cfg-order " type ="number " min ="0 " max ="6 " value ="3 " />
38- < label for ="cfg-lattice "> Lattice</ label >
39- < select id ="cfg-lattice ">
40- < option value ="square " selected > square (8-dir)</ option >
41- < option value ="hex "> hexagonal (6-dir)</ option >
42- <!-- <option value="triangular">triangular (8-dir)</option>-->
43- </ select >
44- < label >
45- < input id ="cfg-no-backwards " type ="checkbox " />
46- Disable backwards-oriented directions
47- </ label >
35+ < fieldset >
36+ < legend > Model</ legend >
37+ < label for ="cfg-order "> Markov order (N)</ label >
38+ < input id ="cfg-order " type ="number " min ="0 " max ="6 " value ="3 " />
39+ < label for ="cfg-lattice "> Lattice</ label >
40+ < select id ="cfg-lattice ">
41+ < option value ="square " selected > square (8-dir)</ option >
42+ < option value ="hex "> hexagonal (6-dir)</ option >
43+ <!-- <option value="triangular">triangular (8-dir)</option>-->
44+ </ select >
45+ < label >
46+ < input id ="cfg-no-backwards " type ="checkbox " />
47+ Disable backwards-oriented directions
48+ </ label >
4849
49- < label for ="cfg-combiner "> Combiner</ label >
50- < select id ="cfg-combiner ">
51- < option value ="product " selected > product (AND)</ option >
52- < option value ="sum "> sum (OR)</ option >
53- < option value ="max "> max</ option >
54- < option value ="vote "> vote</ option >
55- </ select >
50+ < label for ="cfg-combiner "> Combiner</ label >
51+ < select id ="cfg-combiner ">
52+ < option value ="product " selected > product (AND)</ option >
53+ < option value ="sum "> sum (OR)</ option >
54+ < option value ="max "> max</ option >
55+ < option value ="vote "> vote</ option >
56+ </ select >
5657
57- < label for ="cfg-sampling "> Sampling</ label >
58- < select id ="cfg-sampling ">
59- < option value ="weighted " selected > weighted</ option >
60- < option value ="argmax "> argmax</ option >
61- </ select >
62- </ fieldset >
58+ < label for ="cfg-sampling "> Sampling</ label >
59+ < select id ="cfg-sampling ">
60+ < option value ="weighted " selected > weighted</ option >
61+ < option value ="argmax "> argmax</ option >
62+ </ select >
63+ </ fieldset >
6364
64- < fieldset >
65- < legend > Reference text</ legend >
66- < label for ="cfg-reffile " > Upload text file </ label >
67- < input id ="cfg-reffile " type =" file " accept =" .txt,text/plain " / >
68- < label for ="cfg-reftext " > Or paste text</ label >
69- < textarea id ="cfg-reftext " >
70- the quick brown fox jumps over the lazy dog while the sun rises slowly over the quiet little village where people gather to tell stories of old times and distant lands beyond the misty mountains that rise against the morning sky </ textarea
71- >
72- </ fieldset >
65+ < fieldset >
66+ < legend > Reference text</ legend >
67+ < label for ="cfg-preset " > Preset </ label >
68+ < select id ="cfg-preset " > </ select >
69+ < label for ="cfg-reffile " > Upload text file </ label >
70+ < input id ="cfg-reffile " type =" file " accept =" .txt,text/plain " / >
71+ < label for =" cfg-reftext " > Or paste text </ label >
72+ < textarea id =" cfg-reftext " > </ textarea >
73+ </ fieldset >
7374
74- < fieldset >
75- < legend > Target words</ legend >
76- < label for ="cfg-words "> One per line or comma-separated</ label >
77- < textarea id ="cfg-words ">
78- fox
79- village
80- mountain
81- story
82- sun</ textarea
83- >
84- < label > < input id ="cfg-debug " type ="checkbox " /> Highlight placed words</ label >
85- </ fieldset >
75+ < fieldset >
76+ < legend > Target words</ legend >
77+ < label for ="cfg-words "> One per line or comma-separated</ label >
78+ < textarea id ="cfg-words "> </ textarea >
79+ < label > < input id ="cfg-debug " type ="checkbox " /> Highlight placed words</ label >
80+ </ fieldset >
81+ </ div >
8682
8783 < div id ="panel-design ">
8884 < div class ="actions ">
0 commit comments