diff --git a/vis_phewas/static/base.css b/vis_phewas/static/base.css index e450c80..c7b8a27 100644 --- a/vis_phewas/static/base.css +++ b/vis_phewas/static/base.css @@ -19,4 +19,15 @@ button{ text-shadow: 1px 0 3px black; color: white; !important; +} + +.btn-info.dataAction.btn { + background-color: #a043e1 !important; + border-color: #a043e1 !important; + border-radius: 20px !important; +} + +.btn-info.dataAction.btn:hover { + background-color: #7a2cbf !important; + border-color: #7a2cbf !important; } \ No newline at end of file diff --git a/vis_phewas/static/mainapp/css/index.css b/vis_phewas/static/mainapp/css/index.css index 8dceb47..bc6fbc6 100644 --- a/vis_phewas/static/mainapp/css/index.css +++ b/vis_phewas/static/mainapp/css/index.css @@ -36,7 +36,7 @@ html, body, .container-fluid { height: 100%; z-index: 1; /* Set a lower z-index to ensure it's below the options tab */ position: relative; /* Ensure it follows the stacking context */ - background-color: aliceblue; + background-color: #d4e9fb; } .right-column { @@ -351,14 +351,4 @@ input:checked + .slider:before { .toggle-button .down { transform: rotate(0deg); -} - -.btn-info{ - background-color: #a043e1 !important; - border-color: #a043e1 !important; -} - -.btn-info:hover{ - background-color: #7a2cbf !important; - border-color: #7a2cbf !important; } \ No newline at end of file diff --git a/vis_phewas/templates/mainapp/index.html b/vis_phewas/templates/mainapp/index.html index b682dd1..59bff7a 100644 --- a/vis_phewas/templates/mainapp/index.html +++ b/vis_phewas/templates/mainapp/index.html @@ -33,7 +33,7 @@ - diff --git a/vis_phewas/templates/mainapp/tools.html b/vis_phewas/templates/mainapp/tools.html index 1c23b44..1eab904 100644 --- a/vis_phewas/templates/mainapp/tools.html +++ b/vis_phewas/templates/mainapp/tools.html @@ -18,8 +18,8 @@

Resolution

Generate SOM for Disease Clustering

- - + +
diff --git a/vis_phewas/templates/som/som_view.html b/vis_phewas/templates/som/som_view.html index 3eba469..dca5243 100644 --- a/vis_phewas/templates/som/som_view.html +++ b/vis_phewas/templates/som/som_view.html @@ -36,7 +36,7 @@

Filter by Disease Category

{% for category in categories %} + {% if category in cleaned_filters %} checked {% endif %}> {% endfor %} @@ -53,11 +53,11 @@

Filter by Disease Category

- -
@@ -86,22 +86,6 @@

Filter by Disease Category

return encodeURIComponent(joinedFilters); } - // Function to load selected filters from localStorage on page load - function loadSelectedFilters() { - const selectedFilters = JSON.parse(localStorage.getItem('selectedFilters')); - if (selectedFilters) { - selectedFilters.forEach((filter) => { - const category = filter.replace('category_string:==:', ''); - const checkbox = document.getElementById(category); - if (checkbox) { - checkbox.checked = true; - } - }); - } - } - - // Call the function to load selected filters on page load - document.addEventListener('DOMContentLoaded', loadSelectedFilters); // Function to handle form submission function handleSubmit(event) {