From 814d6d95ce45dbc17dfd69405a5619bd87618034 Mon Sep 17 00:00:00 2001 From: Nick Coutsos Date: Sat, 16 Oct 2021 14:30:08 -0400 Subject: Remove unused logout button and xterm stylesheet --- application/components/app.vue | 1 - application/github.js | 10 ---------- application/main.js | 1 - 3 files changed, 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" /> - \ 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' -- cgit v1.2.3