From 83ab22868c1015960fc72c06b3efe75e1b942dcd Mon Sep 17 00:00:00 2001 From: David Martin Date: Sun, 25 Oct 2020 17:02:08 -0500 Subject: [PATCH] Added import/export as JSON --- public/css/style.scss | 24 ++++++ public/index.html | 155 ++++++++++++++++++++------------------ public/js/settings.js | 168 +++++++++++++++++++++++++++++++----------- 3 files changed, 234 insertions(+), 113 deletions(-) diff --git a/public/css/style.scss b/public/css/style.scss index 03d46ac85..74819b3d2 100644 --- a/public/css/style.scss +++ b/public/css/style.scss @@ -512,6 +512,30 @@ a:hover { } } +#settingsImportWrapper { + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.75); + position: fixed; + left: 0; + top: 0; + z-index: 1000; + display: grid; + justify-content: center; + align-items: center; + padding: 5rem 0; + + #settingsImport { + width: 50vw; + background: var(--bg-color); + border-radius: var(--roundness); + padding: 2rem; + display: grid; + gap: 1rem; + overflow-y: scroll; + } +} + #resultEditTagsPanelWrapper { width: 100%; height: 100%; diff --git a/public/index.html b/public/index.html index 683e881b2..ab34b60a5 100644 --- a/public/index.html +++ b/public/index.html @@ -34,11 +34,15 @@ - + - +
Signed in
+ + +