aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/info.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-12-12 14:57:24 -0500
committerGitHub <noreply@github.com>2020-12-12 14:57:24 -0500
commit5948229176d9a23f1a8fe9f7125c32bece34f100 (patch)
tree23b24b78bd5427680fd0ffca2a509f44eb2f6bfb /ext/bg/info.html
parent92cfd31c0faf333c3affb2c9a7b14c4960cf156a (diff)
Add info page (#1102)
* Add api.getAnkiConnectVersion * Enable basic functionality when certain features/elements aren't present * Add info page * Update information links * Update info link on the settings v2 page
Diffstat (limited to 'ext/bg/info.html')
-rw-r--r--ext/bg/info.html71
1 files changed, 71 insertions, 0 deletions
diff --git a/ext/bg/info.html b/ext/bg/info.html
new file mode 100644
index 00000000..41999b1b
--- /dev/null
+++ b/ext/bg/info.html
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width,initial-scale=1">
+ <title>Yomichan Info</title>
+ <link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16">
+ <link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19">
+ <link rel="icon" type="image/png" href="/mixed/img/icon32.png" sizes="32x32">
+ <link rel="icon" type="image/png" href="/mixed/img/icon38.png" sizes="38x38">
+ <link rel="icon" type="image/png" href="/mixed/img/icon48.png" sizes="48x48">
+ <link rel="icon" type="image/png" href="/mixed/img/icon64.png" sizes="64x64">
+ <link rel="icon" type="image/png" href="/mixed/img/icon128.png" sizes="128x128">
+ <link rel="stylesheet" type="text/css" href="/bg/css/settings2.css">
+</head>
+<body>
+
+<!-- Main content -->
+<div class="content-outer"><div class="content">
+<div class="content-center">
+
+ <span tabindex="-1" id="content-scroll-focus"></span>
+
+ <h1>Yomichan Info</h1>
+
+ <h2 id="general">General</h2>
+ <div class="settings-group">
+ <div class="settings-item"><div class="settings-item-inner"><div class="settings-item-left"><div class="settings-item-label">
+ <ul>
+ <li>Extension version: <span id="version"></span></li>
+ <li>Platform: <span id="platform"></span></li>
+ <li>Browser: <span id="browser"></span></li>
+ <li>User agent: <span id="user-agent"></span></li>
+ <li>AnkiConnect version: <span id="anki-connect-version-container"><span id="anki-connect-version">...</span><em class="light" id="anki-connect-version-unknown-message" hidden> (Anki not running or connected)</em></span></li>
+ <li>Installed dictionaries: <span id="installed-dictionaries">...</span><em id="installed-dictionaries-none" hidden>None installed</em></li>
+ <li><a id="settings-export-button">Export settings</a></li>
+ </ul>
+ </div></div></div></div>
+ </div>
+
+ <h2 id="links">Links</h2>
+ <div class="settings-group">
+ <div class="settings-item"><div class="settings-item-inner"><div class="settings-item-left"><div class="settings-item-label">
+ <ul>
+ <li>Information and downloadable dictionaries: <a href="https://foosoft.net/projects/yomichan/" rel="noreferrer noopener">Homepage</a></li>
+ <li>Source code, bug reporting, and feedback: <a href="https://github.com/FooSoft/yomichan" rel="noreferrer noopener">Github</a></li>
+ <li>Release notes: <a href="https://github.com/FooSoft/yomichan/releases" rel="noreferrer noopener" data-href-format="https://github.com/FooSoft/yomichan/releases/tag/{version}" id="release-notes-this-version-link">This version</a> | <a href="https://github.com/FooSoft/yomichan/releases" rel="noreferrer noopener">All versions</a></li>
+ <li>More extension information: <a href="/bg/permissions.html">Permissions</a> | <a href="/bg/legal.html">Licenses</a></li>
+ </ul>
+ </div></div></div></div>
+ </div>
+
+ <div class="footer-padding"></div>
+
+</div>
+</div></div>
+
+<!-- Scripts -->
+<script src="/mixed/js/core.js"></script>
+<script src="/mixed/js/yomichan.js"></script>
+<script src="/mixed/js/comm.js"></script>
+<script src="/mixed/js/api.js"></script>
+
+<script src="/mixed/js/html-template-collection.js"></script>
+<script src="/bg/js/settings/settings-controller.js"></script>
+<script src="/bg/js/settings/backup-controller.js"></script>
+
+<script src="/bg/js/info-main.js"></script>
+
+</body>
+</html>