aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/display-window.js1
-rw-r--r--ext/bg/search.html7
2 files changed, 8 insertions, 0 deletions
diff --git a/ext/bg/js/display-window.js b/ext/bg/js/display-window.js
index 568c5526..f0d920e5 100644
--- a/ext/bg/js/display-window.js
+++ b/ext/bg/js/display-window.js
@@ -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));
diff --git a/ext/bg/search.html b/ext/bg/search.html
index 937cc602..f158306d 100644
--- a/ext/bg/search.html
+++ b/ext/bg/search.html
@@ -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">