aboutsummaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 14:44:21 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 14:44:21 +0900
commit58123210ab4cdd4a1f2b4720a0abbd88908baa06 (patch)
treeb841120a6347313e34ba4a5ddbfd599e08aa6f16 /src/pages
parent541449b1fced9eea15f415b023206b10724f5315 (diff)
separate settings
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/settings.html18
-rw-r--r--src/pages/settings.js15
-rw-r--r--src/pages/settings.scss8
3 files changed, 0 insertions, 41 deletions
diff --git a/src/pages/settings.html b/src/pages/settings.html
deleted file mode 100644
index 99d6c6b..0000000
--- a/src/pages/settings.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset='utf-8'>
- </head>
- <body>
- <h1>Configure</h1>
-
- <h2>Home page</h2>
- <form id='vimvixen-settings-form' class='vimvixen-settings-form'>
- <label for='load-from-json'>Load from JSON:</label>
- <textarea name='plain-json' spellcheck='false'></textarea>
-
- <button type='submit'>Save</button>
- </form>
- <script src='settings.js'></script>
- </body>
-</html>
diff --git a/src/pages/settings.js b/src/pages/settings.js
deleted file mode 100644
index 6e25e6f..0000000
--- a/src/pages/settings.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import './settings.scss';
-import SettingComponent from 'components/setting';
-import settingReducer from 'reducers/setting';
-import { createStore } from 'store';
-
-const store = createStore(settingReducer);
-let settingComponent = null;
-
-store.subscribe(() => {
- settingComponent.update();
-});
-
-document.addEventListener('DOMContentLoaded', () => {
- settingComponent = new SettingComponent(document.body, store);
-});
diff --git a/src/pages/settings.scss b/src/pages/settings.scss
deleted file mode 100644
index 5707c8a..0000000
--- a/src/pages/settings.scss
+++ /dev/null
@@ -1,8 +0,0 @@
-.vimvixen-settings-form {
- textarea[name=plain-json] {
- font-family: monospace;
- width: 100%;
- min-height: 64ex;
- resize: vertical;
- }
-}