From d5964ee4d45c95526ad95df300609d6095fc570d Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 12 Feb 2021 23:23:26 -0500 Subject: Rename html files (#1377) * Rename context.html to action-popup.html * Rename float.html to popup.html --- ext/action-popup.html | 97 +++++++++++++++++++++++++++++++++++++ ext/context.html | 97 ------------------------------------- ext/fg/js/popup.js | 2 +- ext/float.html | 132 -------------------------------------------------- ext/manifest.json | 4 +- ext/popup.html | 132 ++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 232 insertions(+), 232 deletions(-) create mode 100644 ext/action-popup.html delete mode 100644 ext/context.html delete mode 100644 ext/float.html create mode 100644 ext/popup.html (limited to 'ext') diff --git a/ext/action-popup.html b/ext/action-popup.html new file mode 100644 index 00000000..1b0072a6 --- /dev/null +++ b/ext/action-popup.html @@ -0,0 +1,97 @@ + + + + + + Yomichan Action Popup + + + + + + + + + + + +
+ + +
+ +
+

Yomichan

+ + + + Settings + + + + + + + Search + + + Help + +
+ + + + + + + + + + + + + + + diff --git a/ext/context.html b/ext/context.html deleted file mode 100644 index 1b0072a6..00000000 --- a/ext/context.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - Yomichan Action Popup - - - - - - - - - - - -
- - -
- -
-

Yomichan

- - - - Settings - - - - - - - Search - - - Help - -
- - - - - - - - - - - - - - - diff --git a/ext/fg/js/popup.js b/ext/fg/js/popup.js index b920caf7..75b74257 100644 --- a/ext/fg/js/popup.js +++ b/ext/fg/js/popup.js @@ -256,7 +256,7 @@ class Popup extends EventDispatcher { frame.removeAttribute('srcdoc'); this._observeFullscreen(true); this._onFullscreenChanged(); - const url = chrome.runtime.getURL('/float.html'); + const url = chrome.runtime.getURL('/popup.html'); if (useSecurePopupFrameUrl) { frame.contentDocument.location.href = url; } else { diff --git a/ext/float.html b/ext/float.html deleted file mode 100644 index 0203043a..00000000 --- a/ext/float.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - Yomichan Search - - - - - - - - - - - - -
-
-
-
-
-
- - - - - -
- - - - - -
-
-
- -
- -
-
- -
- -
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ext/manifest.json b/ext/manifest.json index 233df081..c8178143 100644 --- a/ext/manifest.json +++ b/ext/manifest.json @@ -24,7 +24,7 @@ "128": "images/icon128.png" }, "default_title": "Yomichan", - "default_popup": "context.html" + "default_popup": "action-popup.html" }, "background": { "page": "background.html", @@ -110,7 +110,7 @@ } }, "web_accessible_resources": [ - "float.html", + "popup.html", "template-renderer.html" ], "content_security_policy": "default-src 'self'; style-src 'self' 'unsafe-inline'; media-src *; connect-src *" diff --git a/ext/popup.html b/ext/popup.html new file mode 100644 index 00000000..0203043a --- /dev/null +++ b/ext/popup.html @@ -0,0 +1,132 @@ + + + + + + Yomichan Search + + + + + + + + + + + + +
+
+
+
+
+
+ + + + + +
+ + + + + +
+
+
+ +
+ +
+
+ +
+ +
+
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3