diff --git a/pipeline/source_assets/scss/dark_screen.scss b/pipeline/source_assets/scss/dark_screen.scss index 7296ffcb..73f15b8e 100644 --- a/pipeline/source_assets/scss/dark_screen.scss +++ b/pipeline/source_assets/scss/dark_screen.scss @@ -28,6 +28,9 @@ color: $gray-100 !important; border-color: $darktheme; } + .btn-link { + color: white; + } .bs-popover-right > .arrow::after { border-right-color: $darktheme; } diff --git a/training/templates/item_list.html b/training/templates/item_list.html index 5886fdb4..3f459458 100644 --- a/training/templates/item_list.html +++ b/training/templates/item_list.html @@ -1,18 +1,24 @@ {% extends 'base_training.html' %} {% block content %} -
-{% for category in categories %} -
-
-

{{ category.name }}

-
- {% for item in category.items.all %} -
  • {{ item }}
  • - {% endfor %} -
    -
    +
    + {% for category in categories %} +
    +
    +
    -{% endfor %} +
    +
    +
    + {% for item in category.items.all %} +
  • {{ item }}
  • + {% endfor %} +
    +
    +
    +
    + {% endfor %}
    {% endblock %} diff --git a/training/templates/level_detail.html b/training/templates/level_detail.html index 1fcb670a..c8d55e13 100644 --- a/training/templates/level_detail.html +++ b/training/templates/level_detail.html @@ -57,32 +57,6 @@

    {{ object.description|markdown }}

    -
    -

    Users with this level

    -
    - - - - - - - - - - {% for user in users_with %} - {% user_level_if_present user object as level_qualification %} - - - - - - {% empty %} - Nobody here but us chickens... - {% endfor %} - -
    PersonConfirmed?
    {{user}}{% if level_qualification.confirmed_on %}

    Qualified on {{ level_qualification.confirmed_on }}

    {%else%}Unconfirmed{%endif%}
    View Profile
    -
    -

    Level Requirements

    @@ -119,6 +93,32 @@ +
    +

    Users with this level

    +
    +
    + + + + + + + + + {% for user in users_with %} + {% user_level_if_present user object as level_qualification %} + + + + + + {% empty %} + Nobody here but us chickens... + {% endfor %} + +
    PersonConfirmed?
    {{user}}{% if level_qualification.confirmed_on %}

    Qualified on {{ level_qualification.confirmed_on }}

    {%else%}Unconfirmed{%endif%}
    View Profile
    +
    +
    {% include 'partials/last_edited.html' with target="traininglevel_history" %} diff --git a/training/templates/level_list.html b/training/templates/level_list.html index 9bbb48a3..df7e44ce 100644 --- a/training/templates/level_list.html +++ b/training/templates/level_list.html @@ -54,24 +54,6 @@ ul.tree>li:first-child::before { ul.tree>li:first-child::after { border-radius:5px 0 0 0; } - -.tree li a { - border: 1px #ccc solid; - border-radius: 5px; - padding:2px 5px; -} - -.tree li a:hover, .tree li a:hover+ul li a, -.tree li a:focus, .tree li a:focus+ul li a { - background: #ccc; color: #000; border: 1px solid #000; -} - -.tree li a:hover+ul li::after, .tree li a:focus+ul li::after, -.tree li a:hover+ul li::before, .tree li a:focus+ul li::before -.tree li a:hover+ul::before, .tree li a:focus+ul::before -.tree li a:hover+ul ul::before, .tree li a:focus+ul ul::before{ - border-color: #000; /*connector color on hover*/ -} {% endblock %} @@ -89,9 +71,11 @@ ul.tree>li:first-child::after {
  • {{ta}}
    {{ta.description|markdown}}
      {% for level in tech %} -
    • {{level}}
      {{level.description|markdown}}
      +
    • {{level.description|markdown}}
        -
      • {{level|get_supervisor}}
      • + {% with level|get_supervisor as super %} +
      • {{super.description|markdown}}
      • + {% endwith %}
    • {% endfor %}