settings: move main dictionary below Dictionaries, styling

This commit is contained in:
siikamiika 2017-10-26 10:31:59 +03:00
parent e063a315d4
commit ab1e2b3d5d
2 changed files with 6 additions and 6 deletions

View File

@ -122,7 +122,7 @@ async function formMainDictionaryOptionsPopulate(options) {
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('')));
}

View File

@ -60,11 +60,6 @@
</select>
</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">
<label for="audio-playback-source">Audio playback source</label>
<select class="form-control" id="audio-playback-source">
@ -145,6 +140,11 @@
<h3>Dictionaries</h3>
</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">
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.