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 @@
Input different possible tailoring variable values to see how the intervent The intervention probability will change (be personalized) as data accrues during the study but will never go below - {{settings.get("intervention_probability_lower_bound")|float*100}}% + {{settings.get("intervention_probability_lower_bound")|float}} or above - {{settings.get("intervention_probability_upper_bound")|float*100}}% + {{settings.get("intervention_probability_upper_bound")|float}} given the lower and upper bounds you set to the probability of sending Intervention Option A. diff --git a/apps/templates/design/covariates/covariate_main_effect.html b/apps/templates/design/covariates/covariate_main_effect.html index a8b1fef..5d7f87f 100644 --- a/apps/templates/design/covariates/covariate_main_effect.html +++ b/apps/templates/design/covariates/covariate_main_effect.html @@ -36,7 +36,7 @@

Model Settings / {{cov_name}} / Main Effect

@@ -47,7 +47,7 @@

Model Settings / {{cov_name}} / Main Effect


diff --git a/apps/templates/design/intervention/intervention_option.html b/apps/templates/design/intervention/intervention_option.html index 9152590..c423f9e 100644 --- a/apps/templates/design/intervention/intervention_option.html +++ b/apps/templates/design/intervention/intervention_option.html @@ -37,14 +37,15 @@

Intervention Settings / Intervention Options

Please read the explanation to make sure that you define them correctly.

+ Option A (tend to be more burdensome, e.g., Send an Activity Suggestion)
+ + Option B (tend to be less burdensome, e.g., Do Nothing) diff --git a/apps/templates/design/intervention/intervention_probability.html b/apps/templates/design/intervention/intervention_probability.html index 0e2e2a8..8398543 100644 --- a/apps/templates/design/intervention/intervention_probability.html +++ b/apps/templates/design/intervention/intervention_probability.html @@ -3,7 +3,18 @@ {% block title %} Intervention - Probability {% endblock %} -{% block stylesheets %}{% endblock stylesheets %} +{% block stylesheets %} + +{% endblock stylesheets %} {% block content %} diff --git a/apps/templates/design/projects/general_settings.html b/apps/templates/design/projects/general_settings.html index 0ed1043..aad406f 100644 --- a/apps/templates/design/projects/general_settings.html +++ b/apps/templates/design/projects/general_settings.html @@ -96,6 +96,7 @@

General Settings / General Info

+

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%; }