From bcc708ded955a4eca2838ce1f366e3c365fba681 Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Sun, 12 Jan 2020 15:29:31 +0200 Subject: [PATCH] track metadata editing --- public/index.css | 30 ++++++++++++++ public/index.html | 24 ++++++++++++ public/index.js | 67 ++++++++++++++++++++++++++++--- src/common/async.js | 89 +++++++++++++++++++++++++++++++++++++++++- src/common/download.js | 42 +------------------- src/dbpopulate.js | 4 +- src/download.js | 6 +-- src/server.js | 16 ++++++++ 8 files changed, 225 insertions(+), 53 deletions(-) diff --git a/public/index.css b/public/index.css index 3c4ba9f..f3960b8 100644 --- a/public/index.css +++ b/public/index.css @@ -362,6 +362,36 @@ canvas#visualizer { .sidebar a { color: #18b9c1; } +.modal { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: hsla(0, 0%, 1%, 0.5); +} +.modal-box { + max-width: 500px; + margin: auto; + margin-top: 10%; + background-color: #152b3a; +} +.modal-header { + padding: 10px; + font-size: 2em; + background-color: #1087bd; + border-bottom: 4px solid #1b6da5; +} +.modal-content { + padding: 10px; +} +.modal-content label { + display: block; + margin-top: 10px; +} +.modal-content input[type="text"] { + width: 100%; +} @media only screen and (max-width: 600px) { tr td:nth-child(1), th:nth-child(1) { display: none; diff --git a/public/index.html b/public/index.html index f1cffb4..f8573de 100644 --- a/public/index.html +++ b/public/index.html @@ -71,6 +71,7 @@