diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-03-22 22:15:55 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-03-22 22:15:55 +0300 |
| commit | 6be6afe6792a0eceddb9e6e28a384289dd0f473b (patch) | |
| tree | 07e0c9dc6d823e3dac4ccbf4a3a473100bff289f /read.html | |
| parent | 2b76d1c8e24eee5b2c712392f40e6213a33b5f19 (diff) | |
| download | the-epube-6be6afe6792a0eceddb9e6e28a384289dd0f473b.tar.gz the-epube-6be6afe6792a0eceddb9e6e28a384289dd0f473b.tar.xz | |
add wip custom word lookup
Diffstat (limited to 'read.html')
| -rw-r--r-- | read.html | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/read.html b/read.html index 628008f..5fdf1f6 100644 --- a/read.html +++ b/read.html @@ -174,9 +174,20 @@ <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title">Dictionary Lookup</h4> </div> - <input type="hidden" class="dict_query" value=""/> <div class="modal-body"> - <div class="dict_result"> </div> + + <form class="form-horizontal" onsubmit="return false;"> + <div class="form-group"> + <label class="col-sm-4 control-label">Lookup word:</label> + <div class="col-sm-8"> + <input type="search" class="form-control dict_query" onchange="Reader.lookupWord(null, null, '.dict_query')"> + </div> + </div> + + <div class="dict_result"> </div> + + </form> + </div> <div class="modal-footer"> <button type="button" class="dict_search_btn btn-default btn">Web search</button> |
