settings: move main dictionary below Dictionaries, styling
This commit is contained in:
parent
e063a315d4
commit
ab1e2b3d5d
@ -122,7 +122,7 @@ async function formMainDictionaryOptionsPopulate(options) {
|
|||||||
options.general.mainDictionary = '';
|
options.general.mainDictionary = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
const notSelectedOptionHtml = `<option value=""${!mainDictionarySelected ? ' selected' : ''}>(Not selected)</option>`;
|
const notSelectedOptionHtml = `<option class="text-muted" value=""${!mainDictionarySelected ? ' selected' : ''}>Not selected</option>`;
|
||||||
|
|
||||||
select.append($([notSelectedOptionHtml].concat(formOptionsHtml).join('')));
|
select.append($([notSelectedOptionHtml].concat(formOptionsHtml).join('')));
|
||||||
}
|
}
|
||||||
|
@ -60,11 +60,6 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group options-merge">
|
|
||||||
<label for="main-dictionary">Main dictionary</label>
|
|
||||||
<select class="form-control" id="main-dictionary"></select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="audio-playback-source">Audio playback source</label>
|
<label for="audio-playback-source">Audio playback source</label>
|
||||||
<select class="form-control" id="audio-playback-source">
|
<select class="form-control" id="audio-playback-source">
|
||||||
@ -145,6 +140,11 @@
|
|||||||
<h3>Dictionaries</h3>
|
<h3>Dictionaries</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group options-merge">
|
||||||
|
<label for="main-dictionary">Main dictionary</label>
|
||||||
|
<select class="form-control" id="main-dictionary"></select>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p class="help-block">
|
<p class="help-block">
|
||||||
Yomichan can import and use a variety of dictionary formats. Unneeded dictionaries can be disabled,
|
Yomichan can import and use a variety of dictionary formats. Unneeded dictionaries can be disabled,
|
||||||
or you can simply <a href="#" id="dict-purge-link">purge the database</a> to delete everything.
|
or you can simply <a href="#" id="dict-purge-link">purge the database</a> to delete everything.
|
||||||
|
Loading…
Reference in New Issue
Block a user