diff options
author | Nick Coutsos <[email protected]> | 2021-10-16 14:30:08 -0400 |
---|---|---|
committer | Nick Coutsos <[email protected]> | 2021-10-16 14:30:08 -0400 |
commit | 814d6d95ce45dbc17dfd69405a5619bd87618034 (patch) | |
tree | 42082583fe78ca7d7a445bb7b56087cbb332f1ce | |
parent | 5ac41b2ca7e0482c3f27c85b3de7ff3e814e8718 (diff) | |
download | keymap-editor-814d6d95ce45dbc17dfd69405a5619bd87618034.tar.gz keymap-editor-814d6d95ce45dbc17dfd69405a5619bd87618034.zip |
Remove unused logout button and xterm stylesheet
-rw-r--r-- | application/components/app.vue | 1 | ||||
-rw-r--r-- | application/github.js | 10 | ||||
-rw-r--r-- | application/main.js | 1 |
3 files changed, 0 insertions, 12 deletions
diff --git a/application/components/app.vue b/application/components/app.vue index 8322327..9661238 100644 --- a/application/components/app.vue +++ b/application/components/app.vue @@ -135,7 +135,6 @@ export default { @click="handleCommitChanges" title="Commit keymap changes to GitHub repository" /> - <button id="toggle" @click="terminalOpen = !terminalOpen">{{ !terminalOpen ? '⇡' : '⇣' }}</button> </div> </loader> </template>
\ No newline at end of file diff --git a/application/github.js b/application/github.js index cd59c4d..51dafea 100644 --- a/application/github.js +++ b/application/github.js @@ -35,16 +35,6 @@ export async function init () { installation = data.installation repositories = data.repositories - - const logout = document.createElement('button') - logout.setAttribute('style', 'display: inline-block; z-index: 100; position: absolute; right: 0px') - logout.textContent = 'Logout' - logout.addEventListener('click', () => { - localStorage.removeItem('auth_token') - location.reload() - }) - - document.body.appendChild(logout) } } diff --git a/application/main.js b/application/main.js index ed96422..ca64cf1 100644 --- a/application/main.js +++ b/application/main.js @@ -1,6 +1,5 @@ import './style.css' import '@fortawesome/fontawesome-free/css/all.css' -import 'xterm/css/xterm.css' import * as Vue from 'vue' import App from './components/app.vue' |