aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/background.html24
-rw-r--r--ext/bg/guide.html10
-rw-r--r--ext/bg/img/spinner.gifbin7358 -> 0 bytes
-rw-r--r--ext/bg/js/templates.js8
-rw-r--r--ext/bg/legal.html6
-rw-r--r--ext/bg/options.html22
-rw-r--r--ext/bg/popup.html18
-rw-r--r--ext/bg/search.html16
8 files changed, 52 insertions, 52 deletions
diff --git a/ext/bg/background.html b/ext/bg/background.html
index eecadf1e..3c7b0dd9 100644
--- a/ext/bg/background.html
+++ b/ext/bg/background.html
@@ -1,17 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<body>
- <script src="../lib/handlebars.min.js"></script>
- <script src="../lib/dexie.min.js"></script>
- <script src="../lib/wanakana.min.js"></script>
- <script src="js/templates.js"></script>
- <script src="js/gecko.js"></script>
- <script src="js/util.js"></script>
- <script src="js/anki-connect.js"></script>
- <script src="js/anki-null.js"></script>
- <script src="js/database.js"></script>
- <script src="js/deinflector.js"></script>
- <script src="js/translator.js"></script>
- <script src="js/yomichan.js"></script>
+ <script src="/mixed/lib/handlebars.min.js"></script>
+ <script src="/mixed/lib/dexie.min.js"></script>
+ <script src="/mixed/lib/wanakana.min.js"></script>
+ <script src="/bg/js/templates.js"></script>
+ <script src="/bg/js/gecko.js"></script>
+ <script src="/bg/js/util.js"></script>
+ <script src="/bg/js/anki-connect.js"></script>
+ <script src="/bg/js/anki-null.js"></script>
+ <script src="/bg/js/database.js"></script>
+ <script src="/bg/js/deinflector.js"></script>
+ <script src="/bg/js/translator.js"></script>
+ <script src="/bg/js/yomichan.js"></script>
</body>
</html>
diff --git a/ext/bg/guide.html b/ext/bg/guide.html
index 521cec19..2d8c6536 100644
--- a/ext/bg/guide.html
+++ b/ext/bg/guide.html
@@ -3,11 +3,11 @@
<head>
<meta charset="UTF-8">
<title>Welcome to Yomichan!</title>
- <link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
- <link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
+ <link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
+ <link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
</head>
<body>
- <div class="container">
+ <div class="container-fluid">
<div class="page-header">
<h1>Welcome to Yomichan!</h1>
</div>
@@ -23,10 +23,10 @@
</p>
<ol>
- <li>Click on the <img src="../img/icon16.png" alt> icon in the browser toolbar to open the Yomichan options page.</li>
+ <li>Click on the <img src="/mixed/img/icon16.png" alt> icon in the browser toolbar to open the Yomichan options page.</li>
<li>Import the dictionaries (bundled or custom) you wish to use for term and Kanji searches.</li>
<li>Hold down <kbd>Shift</kbd> (or the middle mouse button) as you hover over text to see term definitions.</li>
- <li>Click on the <img src="../fg/img/play_audio.png" alt> icon to hear the term pronounced by a native speaker (if audio is available).</li>
+ <li>Click on the <img src="/mixed/fg/img/play_audio.png" alt> icon to hear the term pronounced by a native speaker (if audio is available).</li>
<li>Click on Kanji in the definition window to view additional information about that character.</li>
</ol>
</div>
diff --git a/ext/bg/img/spinner.gif b/ext/bg/img/spinner.gif
deleted file mode 100644
index 8ed30cb6..00000000
--- a/ext/bg/img/spinner.gif
+++ /dev/null
Binary files differ
diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js
index f8306b1b..0fa41b36 100644
--- a/ext/bg/js/templates.js
+++ b/ext/bg/js/templates.js
@@ -302,7 +302,7 @@ templates['kanji.html'] = template({"1":function(container,depth0,helpers,partia
return " <a href=\"#\" title=\"Add Kanji\" class=\"action-add-note pending disabled\" data-mode=\"kanji\" data-index=\""
+ container.escapeExpression(((helper = (helper = helpers.index || (data && data.index)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"index","hash":{},"data":data}) : helper)))
- + "\"><img src=\"/fg/img/add_kanji.png\"></a>\n";
+ + "\"><img src=\"/mixed/img/add_kanji.png\"></a>\n";
},"4":function(container,depth0,helpers,partials,data) {
var stack1;
@@ -459,15 +459,15 @@ templates['terms.html'] = template({"1":function(container,depth0,helpers,partia
return " <a href=\"#\" title=\"Add term as expression\" class=\"action-add-note pending disabled\" data-mode=\"term_kanji\" data-index=\""
+ alias4(((helper = (helper = helpers.index || (data && data.index)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"index","hash":{},"data":data}) : helper)))
- + "\"><img src=\"/fg/img/add_term_kanji.png\"></a>\n <a href=\"#\" title=\"Add term as reading\" class=\"action-add-note pending disabled\" data-mode=\"term_kana\" data-index=\""
+ + "\"><img src=\"/mixed/img/add_term_kanji.png\"></a>\n <a href=\"#\" title=\"Add term as reading\" class=\"action-add-note pending disabled\" data-mode=\"term_kana\" data-index=\""
+ alias4(((helper = (helper = helpers.index || (data && data.index)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"index","hash":{},"data":data}) : helper)))
- + "\"><img src=\"/fg/img/add_term_kana.png\"></a>\n";
+ + "\"><img src=\"/mixed/img/add_term_kana.png\"></a>\n";
},"15":function(container,depth0,helpers,partials,data) {
var helper;
return " <a href=\"#\" title=\"Play audio\" class=\"action-play-audio\" data-index=\""
+ container.escapeExpression(((helper = (helper = helpers.index || (data && data.index)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"index","hash":{},"data":data}) : helper)))
- + "\"><img src=\"/fg/img/play_audio.png\"></a>\n";
+ + "\"><img src=\"/mixed/img/play_audio.png\"></a>\n";
},"17":function(container,depth0,helpers,partials,data) {
var stack1, helper, options, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, alias3="function", buffer =
" <div class=\"expression\"><ruby>";
diff --git a/ext/bg/legal.html b/ext/bg/legal.html
index 9be89f72..f3ca4e01 100644
--- a/ext/bg/legal.html
+++ b/ext/bg/legal.html
@@ -3,11 +3,11 @@
<head>
<meta charset="UTF-8">
<title>Yomichan Legal</title>
- <link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
- <link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
+ <link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
+ <link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
</head>
<body>
- <div class="container">
+ <div class="container-fluid">
<h3>Yomichan License</h3>
<pre>
Copyright (C) 2016 Alex Yatskov
diff --git a/ext/bg/options.html b/ext/bg/options.html
index 7739c540..7d95860b 100644
--- a/ext/bg/options.html
+++ b/ext/bg/options.html
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8">
<title>Yomichan Options</title>
- <link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
- <link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
+ <link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
+ <link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
<style>
#anki-spinner, #anki-general, #anki-error,
#dict-spinner, #dict-error, #dict-warning, #dict-purge-progress, #dict-import-progress,
@@ -75,7 +75,7 @@
<div>
<div>
- <img src="img/spinner.gif" class="pull-right" id="dict-spinner" alt>
+ <img src="/mixed/img/spinner.gif" class="pull-right" id="dict-spinner" alt>
<h3>Dictionaries</h3>
</div>
@@ -223,7 +223,7 @@
improve Yomichan!
</p>
<p>
- <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4DBTN9A3CUAFN"><img src="img/paypal.gif" alt></a>
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4DBTN9A3CUAFN"><img src="/bg/img/paypal.gif" alt></a>
</p>
</div>
</div>
@@ -233,12 +233,12 @@
</div>
</div>
- <script src="../lib/jquery-3.1.1.min.js"></script>
- <script src="../lib/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
- <script src="../lib/handlebars.min.js"></script>
- <script src="js/templates.js"></script>
- <script src="js/gecko.js"></script>
- <script src="js/util.js"></script>
- <script src="js/options.js"></script>
+ <script src="/mixed/lib/jquery-3.1.1.min.js"></script>
+ <script src="/mixed/lib/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
+ <script src="/mixed/lib/handlebars.min.js"></script>
+ <script src="/bg/js/templates.js"></script>
+ <script src="/bg/js/gecko.js"></script>
+ <script src="/bg/js/util.js"></script>
+ <script src="/bg/js/options.js"></script>
</body>
</html>
diff --git a/ext/bg/popup.html b/ext/bg/popup.html
index 35782b87..388cff9c 100644
--- a/ext/bg/popup.html
+++ b/ext/bg/popup.html
@@ -2,9 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8">
- <link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
- <link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
- <link rel="stylesheet" type="text/css" href="../lib/bootstrap-toggle/bootstrap-toggle.min.css">
+ <link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
+ <link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
+ <link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-toggle/bootstrap-toggle.min.css">
<style type="text/css">
body {
padding: 10px;
@@ -27,11 +27,11 @@
<button type="button" id="open-help" title="Help" class="btn btn-default btn-xs glyphicon glyphicon-question-sign"></button>
</div>
</p>
- <script src="../lib/jquery-3.1.1.min.js"></script>
- <script src="../lib/bootstrap-toggle/bootstrap-toggle.min.js"></script>
- <script src="js/gecko.js"></script>
- <script src="js/util.js"></script>
- <script src="js/options.js"></script>
- <script src="js/popup.js"></script>
+ <script src="/mixed/lib/jquery-3.1.1.min.js"></script>
+ <script src="/mixed/lib/bootstrap-toggle/bootstrap-toggle.min.js"></script>
+ <script src="/bg/js/gecko.js"></script>
+ <script src="/bg/js/util.js"></script>
+ <script src="/bg/js/options.js"></script>
+ <script src="/bg/js/popup.js"></script>
</body>
</html>
diff --git a/ext/bg/search.html b/ext/bg/search.html
index 0737f99c..7921501b 100644
--- a/ext/bg/search.html
+++ b/ext/bg/search.html
@@ -3,9 +3,9 @@
<head>
<meta charset="UTF-8">
<title>Yomichan Search</title>
- <link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
- <link rel="stylesheet" type="text/css" href="../lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
- <link rel="stylesheet" type="text/css" href="../fg/css/frame.css">
+ <link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
+ <link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
+ <link rel="stylesheet" type="text/css" href="/mixed/css/frame.css">
</head>
<body>
<div class="container-fluid">
@@ -19,14 +19,14 @@
</p>
<div id="spinner">
- <img src="img/spinner.gif">
+ <img src="/mixed/img/spinner.gif">
</div>
<div id="content"></div>
</div>
- <script src="../lib/jquery-3.1.1.min.js"></script>
- <script src="js/gecko.js"></script>
- <script src="js/util.js"></script>
- <script src="js/search.js"></script>
+ <script src="/mixed/lib/jquery-3.1.1.min.js"></script>
+ <script src="/bg/js/gecko.js"></script>
+ <script src="/bg/js/util.js"></script>
+ <script src="/bg/js/search.js"></script>
</body>
</html>