diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-03-28 20:09:30 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-03-28 20:09:30 -0700 |
commit | 002e0091683390fff78b1738a382940311a73c9b (patch) | |
tree | 68b31eec2601240b4baec3a9404d8b631f454835 | |
parent | 98170a71ed1e6ab937cc1a6958d5651d90a9483c (diff) |
Reorg and add stub options page
-rw-r--r-- | ext/background.html | 12 | ||||
-rw-r--r-- | ext/bg/background.html | 12 | ||||
-rw-r--r-- | ext/bg/options.html | 10 | ||||
-rw-r--r-- | ext/manifest.json | 3 |
4 files changed, 24 insertions, 13 deletions
diff --git a/ext/background.html b/ext/background.html deleted file mode 100644 index e44c4b59..00000000 --- a/ext/background.html +++ /dev/null @@ -1,12 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<body> - <script src="lib/handlebars.min.js"></script> - <script src="lib/jquery-2.2.2.min.js"></script> - <script src="bg/templates.js"></script> - <script src="bg/dictionary.js"></script> - <script src="bg/deinflector.js"></script> - <script src="bg/translator.js"></script> - <script src="bg/yomichan.js"></script> -</body> -</html> diff --git a/ext/bg/background.html b/ext/bg/background.html new file mode 100644 index 00000000..f214a209 --- /dev/null +++ b/ext/bg/background.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html lang="en"> +<body> + <script src="../lib/handlebars.min.js"></script> + <script src="../lib/jquery-2.2.2.min.js"></script> + <script src="templates.js"></script> + <script src="dictionary.js"></script> + <script src="deinflector.js"></script> + <script src="translator.js"></script> + <script src="yomichan.js"></script> +</body> +</html> diff --git a/ext/bg/options.html b/ext/bg/options.html new file mode 100644 index 00000000..5da40480 --- /dev/null +++ b/ext/bg/options.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>Here go options</title> +</head> +<body> + Options! +</body> +</html> diff --git a/ext/manifest.json b/ext/manifest.json index 9b244b16..9c113649 100644 --- a/ext/manifest.json +++ b/ext/manifest.json @@ -5,7 +5,8 @@ "version": "0.0.1", "browser_action": {"default_icon": "icon.png"}, - "background": {"page": "background.html"}, + "background": {"page": "bg/background.html"}, + "options_page": "bg/options.html", "content_scripts": [{ "matches": ["*://*/*"], |