visual improvements to search page
This commit is contained in:
parent
0e8f00a68f
commit
ca778d30f7
@ -45,6 +45,7 @@ window.displayWindow = new class extends Display {
|
||||
|
||||
onSearch(e) {
|
||||
e.preventDefault();
|
||||
$('#intro').slideUp();
|
||||
instYomi().termsFind($('#query').val()).then(({length, definitions}) => {
|
||||
super.showTermDefs(definitions, instYomi().options);
|
||||
}).catch(this.handleError.bind(this));
|
||||
|
@ -9,6 +9,13 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-fluid">
|
||||
<div id="intro">
|
||||
<div class="page-header">
|
||||
<h1>Yomichan Search</h1>
|
||||
</div>
|
||||
<p>Search your installed dictionaries by entering a Japanese expression into the field below.</p>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<form class="input-group">
|
||||
<input type="text" class="form-control" placeholder="Search for..." id="query">
|
||||
|
Loading…
Reference in New Issue
Block a user