Fixed some styling for the edit form.
This commit is contained in:
parent
621c4bbf8f
commit
f2b9d01d3b
|
@ -93,7 +93,7 @@ input[type=checkbox] {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#longDefinition {
|
.longDefinition {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
min-width: 260px;
|
min-width: 260px;
|
||||||
height: 150px;
|
height: 150px;
|
||||||
|
|
|
@ -175,7 +175,7 @@ if ($display_mode != "build") {
|
||||||
<input type="text" id="simpleDefinition" onkeydown="SubmitWordOnCtrlEnter(this)" />
|
<input type="text" id="simpleDefinition" onkeydown="SubmitWordOnCtrlEnter(this)" />
|
||||||
</label>
|
</label>
|
||||||
<label><span>Explanation/Long Definition <span id="showFullScreenTextbox" class="clickable inline-button" onclick="ShowFullScreenTextbox('longDefinition', 'Explanation/Long Definition')">Maximize</span></span>
|
<label><span>Explanation/Long Definition <span id="showFullScreenTextbox" class="clickable inline-button" onclick="ShowFullScreenTextbox('longDefinition', 'Explanation/Long Definition')">Maximize</span></span>
|
||||||
<textarea id="longDefinition" onkeydown="SubmitWordOnCtrlEnter(this)"></textarea>
|
<textarea id="longDefinition" class="longDefinition" onkeydown="SubmitWordOnCtrlEnter(this)"></textarea>
|
||||||
</label>
|
</label>
|
||||||
<input type="hidden" id="editIndex" />
|
<input type="hidden" id="editIndex" />
|
||||||
<span id="errorMessage"></span>
|
<span id="errorMessage"></span>
|
||||||
|
|
|
@ -99,7 +99,7 @@ function ShowWordEditForm(index) {
|
||||||
<label><span>Word</span>\
|
<label><span>Word</span>\
|
||||||
<input type="text" id="word' + indexString + '" value="' + htmlEntitiesParse(word.name) + '" onkeydown="SubmitWordOnCtrlEnter(this)" />\
|
<input type="text" id="word' + indexString + '" value="' + htmlEntitiesParse(word.name) + '" onkeydown="SubmitWordOnCtrlEnter(this)" />\
|
||||||
</label>\
|
</label>\
|
||||||
<label><span>Pronunciation <a class="helperlink" href="/ipa_character_picker/" target="_blank" title="IPA Character Picker backed up from http://r12a.github.io/pickers/ipa/">IPA Characters</a></span>\
|
<label><span>Pronunciation <a class="clickable inline-button" href="/ipa_character_picker/" target="_blank" title="IPA Character Picker backed up from http://r12a.github.io/pickers/ipa/">IPA Characters</a></span>\
|
||||||
<input type="text" id="pronunciation' + indexString + '" value="' + htmlEntitiesParse(word.pronunciation) + '" onkeydown="SubmitWordOnCtrlEnter(this)" />\
|
<input type="text" id="pronunciation' + indexString + '" value="' + htmlEntitiesParse(word.pronunciation) + '" onkeydown="SubmitWordOnCtrlEnter(this)" />\
|
||||||
</label>\
|
</label>\
|
||||||
<label><span>Part of Speech</span>\
|
<label><span>Part of Speech</span>\
|
||||||
|
@ -108,8 +108,8 @@ function ShowWordEditForm(index) {
|
||||||
<label><span>Equivalent Word(s)</span>\
|
<label><span>Equivalent Word(s)</span>\
|
||||||
<input type="text" id="simpleDefinition' + indexString + '" value="' + htmlEntitiesParse(word.simpleDefinition) + '" onkeydown="SubmitWordOnCtrlEnter(this)" />\
|
<input type="text" id="simpleDefinition' + indexString + '" value="' + htmlEntitiesParse(word.simpleDefinition) + '" onkeydown="SubmitWordOnCtrlEnter(this)" />\
|
||||||
</label>\
|
</label>\
|
||||||
<label><span>Explanation/Long Definition <span id="showFullScreenTextbox" class="clickable" onclick="ShowFullScreenTextbox(\'longDefinition' + indexString + '\', \'Explanation/Long Definition\')">Maximize</span></span>\
|
<label><span>Explanation/Long Definition <span id="showFullScreenTextbox" class="clickable inline-button" onclick="ShowFullScreenTextbox(\'longDefinition' + indexString + '\', \'Explanation/Long Definition\')">Maximize</span></span>\
|
||||||
<textarea id="longDefinition' + indexString + '" onkeydown="SubmitWordOnCtrlEnter(this)">' + htmlEntitiesParse(word.longDefinition) + '</textarea>\
|
<textarea id="longDefinition' + indexString + '" class="longDefinition" onkeydown="SubmitWordOnCtrlEnter(this)">' + htmlEntitiesParse(word.longDefinition) + '</textarea>\
|
||||||
</label>\
|
</label>\
|
||||||
<span id="errorMessage' + indexString + '"></span>\
|
<span id="errorMessage' + indexString + '"></span>\
|
||||||
<div id="editWordButtonArea' + indexString + '" style="display: block;">\
|
<div id="editWordButtonArea' + indexString + '" style="display: block;">\
|
||||||
|
|
Loading…
Reference in New Issue