diff --git a/main/forms.py b/main/forms.py index e572518d..a2c7b0bf 100644 --- a/main/forms.py +++ b/main/forms.py @@ -98,7 +98,9 @@ def __init__(self, *args: Any, user: "UserType", **kwargs: Any) -> None: parent_heading = ( f'

{competency_domain}

' ) - parent_div = Div(HTML(parent_heading), css_class="mb-5") + parent_div = Div( + HTML(parent_heading), css_class="mb-5 competency-domain-container" + ) competency_elements = [] for competency, skills_list in competencies.items(): @@ -106,7 +108,7 @@ def __init__(self, *args: Any, user: "UserType", **kwargs: Any) -> None: competency_heading = f"

{competency}

" # Outer card div - competency_div = Div(css_class="mt-5 card rounded-1") + competency_div = Div(css_class="mt-5 card rounded-1 competency-card") # Card body div with heading and table card_body_div = Div(css_class="card-body") @@ -128,7 +130,7 @@ def __init__(self, *args: Any, user: "UserType", **kwargs: Any) -> None: """ for skill in skills_list: table_html += f""" - + {skill.name} {skill.description} {{{{ form.skill_{skill.id} }}}} diff --git a/main/templates/main/snippets/skill-search-filter.html b/main/templates/main/snippets/skill-search-filter.html new file mode 100644 index 00000000..0bb04cf5 --- /dev/null +++ b/main/templates/main/snippets/skill-search-filter.html @@ -0,0 +1,44 @@ + + diff --git a/main/templates/main/user_self_assess.html b/main/templates/main/user_self_assess.html index 3c24b8a1..88d7c7aa 100644 --- a/main/templates/main/user_self_assess.html +++ b/main/templates/main/user_self_assess.html @@ -56,6 +56,14 @@

Self Assessment Questionnaire

Please assess your skill level for each competency below. You can leave skills blank if they are not applicable to you.

+ +

+ + +

{% if messages %} {% for message in messages %}