diff --git a/apps/home/routes.py b/apps/home/routes.py index 2e498fe..e091654 100644 --- a/apps/home/routes.py +++ b/apps/home/routes.py @@ -418,6 +418,7 @@ def covariates_settings(setting_type, project_uuid, cov_id=None): covariates_types=covariates_types, cov_name=cov_name, settings=settings, project_uuid=project_uuid, cov_id=cov_id) elif setting_type == "covariate_main_effect": + cov_name = all_covariates.get(cov_id, {}).get("covariate_name") is_tailoring = project_details_obj.covariates.get(cov_id).get("tailoring_variable", "no") cov_name = all_covariates.get(cov_id, {}).get("covariate_name") return render_template("design/covariates/covariate_main_effect.html", segment="covariates", formula=formula, diff --git a/apps/templates/design/config_summary/summary.html b/apps/templates/design/config_summary/summary.html index a9ef03a..340af40 100644 --- a/apps/templates/design/config_summary/summary.html +++ b/apps/templates/design/config_summary/summary.html @@ -60,10 +60,9 @@ }); }); - var low_bound = document.getElementById('configuration_note_low_bound').value; - var high_bound = document.getElementById('configuration_note_high_bound').value; - document.getElementById('configuration_note_low_bound').innerHTML = round(low_bound, 2); - document.getElementById('configuration_note_high_bound').innerHTML = round(high_bound, 2); + + + @@ -140,9 +139,9 @@
Intervention components are the means of your intervention. For example, to help increase a person’s physical activity level, you may consider an activity suggestion message as an diff --git a/apps/templates/includes/sidebar_project.html b/apps/templates/includes/sidebar_project.html index de75a17..af1b4bc 100644 --- a/apps/templates/includes/sidebar_project.html +++ b/apps/templates/includes/sidebar_project.html @@ -96,18 +96,19 @@ box-sizing: content-box; flex: 0 1 auto; - width: 30px; - height: 3px; - margin-right: 3px; - margin-left: 3px; + width: 12px; + height: 12px; + margin-right: 12px; + margin-left: 12px; text-indent: -999px; cursor: pointer; background-color: #5e72e4; background-clip: padding-box; border-top: 10px solid transparent; border-bottom: 10px solid transparent; - opacity: .5; + opacity: .4; transition: opacity 0.6s ease; + border-radius: 50%; }