diff --git a/app/static/css/logo.css b/app/static/css/logo.css new file mode 100644 index 0000000..6aebfa4 --- /dev/null +++ b/app/static/css/logo.css @@ -0,0 +1,17 @@ +.cls-1 { + fill: transparent; +} + +svg { + height: inherit; +} + +a { + height: inherit; +} + +@media (max-width: 1000px) { + svg { + margin-top: .7em; + } +} diff --git a/app/static/css/main.css b/app/static/css/main.css index 937812a..0a1e9cd 100644 --- a/app/static/css/main.css +++ b/app/static/css/main.css @@ -9,6 +9,10 @@ body { padding-bottom: 10px; } +.logo-container { + max-height: 500px; +} + .search-container { background: transparent !important; width: 80%; diff --git a/app/static/js/controller.js b/app/static/js/controller.js index 8399220..9dc88a2 100644 --- a/app/static/js/controller.js +++ b/app/static/js/controller.js @@ -76,6 +76,9 @@ document.addEventListener("DOMContentLoaded", function() { setupSearchLayout(); setupConfigLayout(); + document.getElementById("config-load").addEventListener("click", loadConfig); + document.getElementById("config-save").addEventListener("click", saveConfig); + // Focusing on the search input field requires a delay for elements to finish // loading (seemingly only on FF) setTimeout(function() { document.getElementById("search-bar").focus(); }, 250); diff --git a/app/templates/index.html b/app/templates/index.html index 8deb0a7..c49943e 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -36,7 +36,9 @@
- {{ logo|safe }} +
+ {{ logo|safe }} +
@@ -133,9 +135,9 @@
-   +     - +
diff --git a/app/templates/logo.html b/app/templates/logo.html index 11c1d23..bbd99b6 100644 --- a/app/templates/logo.html +++ b/app/templates/logo.html @@ -1,18 +1,12 @@ - + + @@ -28,4 +22,4 @@ - \ No newline at end of file +