options overhaul

This commit is contained in:
wareya committed 2018-01-22 15:47:17 -05:00
1 parent 3638d0f0b4
commit b7891bd65e
3 files changed
+384 -150

No files matched your search

+5 -40
View File
@@ -9,46 +9,11 @@
<body>
<div class=panel>
<form name=optform>
<div class="panel-section panel-section-formElements browser-style">
<input id="enabled" type="checkbox" name=enabled/>
<label for=enabled class=panel-formElements-item>Enabled</label><br>
<input id="compact" type="checkbox" name=compact/>
<label for=compact class=panel-formElements-item>Compact</label><br>
<input id="showoriginal" type="checkbox" name=showoriginal/>
<label for=showoriginal class=panel-formElements-item>Show original text</label><br>
<input id="superborder" type="checkbox" name=superborder/>
<label for=superborder class=panel-formElements-item>Super border</label><br>
<input id="fixedwidth" type="checkbox" name=fixedwidth/>
<label for=fixedwidth class=panel-formElements-item>Fixed width</label><br>
<input id="fixedwidthpositioning" type="checkbox" name=fixedwidthpositioning/>
<label for=fixedwidthpositioning class=panel-formElements-item>Position as though fixed width</label><br>
<input id="length" type="number" min="6" max="100" value="25" name=length/>
<label for=length class=panel-formElements-item>Search length (characters) (default 25, sane values are from 25 to 50)</label><br>
<select id="alternatives_mode" type="checkbox" name=alternatives_mode>
<option value=0>Longest match only</option>
<option value=1>Longest and shortest match</option>
<option value=2>Longest and second longest match</option>
<option value=3>All matches</option>
</select>
<label for=alternatives_mode class=panel-formElements-item>Matching mode</label><br>
<input id="strict_alternatives" type="checkbox" name=strict_alternatives/>
<label for=strict_alternatives class=panel-formElements-item>Strict matching for alternative matches</label><br>
<input id="scale" type="number" min="0.1" max="64" value="1" name=scale step="0.1"/>
<label for=scale class=panel-formElements-item>Lookup popup scale</label><br>
<input id="width" type="number" min="100" max="10000" value="600" name=width/>
<label for=width class=panel-formElements-item>Lookup popup width (before scaling)</label><br>
<input id="lookuprate" type="number" min="1" max="1000" value="8" name=lookuprate/>
<label for=lookuprate class=panel-formElements-item>Lookup throttle (milliseconds)</label><br>
<input id="bgcolor" name=bgcolor type="color" value="#111111"/>
<label for=bgcolor class=panel-formElements-item>Background color</label>
<input id="fgcolor" name=fgcolor type="color" value="#CCCCCC"/>
<label for=fgcolor class=panel-formElements-item>Foreground color</label>
<input id="hlcolor" name=hlcolor type="color" value="#99DDFF"/>
<label for=hlcolor class=panel-formElements-item>Highlight color</label>
<input id="font" name=font type="text" value=""/>
<label for=font class=panel-formElements-item>Font override (without trailing comma)</label>
<input id="hlfont" name=hlfont type="text" value=""/>
<label for=hlfont class=panel-formElements-item>Font override (highlighted text only) (without trailing comma)</label>
<div id=optionsection>
</div>
<div class=dictstuff>
<p>This extension uses JMdict, which is Copyright © 2017 The Electronic Dictionary Research and Development Group and licensed under the <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA 3.0</a> license.</p>
<p>This extension is otherwise licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, version 2.0</a>.</p>
<div><p>Meanings of abbreviations follow. From JMdict. Some may be unused. Unsorted.<p>