Skip to content

Commit

Permalink
Fix result rows not colored anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
stolpeo committed May 5, 2021
1 parent a6c66d9 commit 31cbe7e
Show file tree
Hide file tree
Showing 25 changed files with 42 additions and 39 deletions.
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ End-User Summary
================

- Fixing undefined variable bug.
- Fixing result rows not colored anymore.
- Fixing double CSS import.

Full Change List
================

- Fixing undefined variable bug.
- Fixing result rows not colored anymore.
- Fixing double CSS import.

-------
v0.23.4
Expand Down
4 changes: 2 additions & 2 deletions cohorts/templates/cohorts/cohort_confirm_delete.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<li class="breadcrumb-item active">{{ object.name }}</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand All @@ -36,4 +36,4 @@ <h2 class="sodar-pr-content-title">
<button type="submit" class="btn btn-danger"><i class="fa fa-trash"></i> Confirm</button>
</form>
</div>
{% endblock %}
{% endblock projectroles_extend %}
2 changes: 1 addition & 1 deletion cohorts/templates/cohorts/cohort_create.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<li class="breadcrumb-item active">{{ object.name }}</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down
2 changes: 1 addition & 1 deletion cohorts/templates/cohorts/cohort_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<li class="breadcrumb-item active">Cohorts</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down
3 changes: 1 addition & 2 deletions cohorts/templates/cohorts/cohort_update.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<li class="breadcrumb-item active">{{ object.name }}</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down Expand Up @@ -69,7 +69,6 @@ <h5 class="mb-0">
</div>
{% endblock %}


{% block javascript %}
{{ block.super }}
<script>
Expand Down
4 changes: 2 additions & 2 deletions svs/templates/svs/filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
{% endif %}
{% endblock %}

{% block projectroles %}

{% block css %}
{{ block.super }}
<style type="text/css">
Expand Down Expand Up @@ -124,6 +122,8 @@
</style>
{% endblock %}

{% block projectroles_extend %}

<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down
2 changes: 1 addition & 1 deletion svs/templates/svs/import_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<li class="breadcrumb-item active">{{ object.bg_job.name }}</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down
2 changes: 1 addition & 1 deletion variants/templates/variants/background_job_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<li class="breadcrumb-item active">Jobs</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
{% has_perm 'bgjobs.view_data' request.user project as can_view_data %}

{% has_perm 'bgjobs.clear_own_jobs' request.user project as can_clear_own_jobs %}
Expand Down
2 changes: 1 addition & 1 deletion variants/templates/variants/cadd_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<li class="breadcrumb-item active">{{ object.bg_job.name }}</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down
2 changes: 1 addition & 1 deletion variants/templates/variants/case_delete_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% endif %}
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down
2 changes: 1 addition & 1 deletion variants/templates/variants/case_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<li class="breadcrumb-item active">{{ object.name }}</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
{% get_app_setting 'variants' 'disable_pedigree_sex_check' project=project as disable_pedigree_sex_check %}
{% get_app_setting 'userprofile' 'enable_project_uuid_copy' user=request.user as enable_uuid_copy %}

Expand Down
2 changes: 1 addition & 1 deletion variants/templates/variants/case_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<li class="breadcrumb-item active">Cases</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
{% get_app_setting 'variants' 'disable_pedigree_sex_check' project=project as disable_pedigree_sex_check %}
{% get_app_setting 'userprofile' 'enable_project_uuid_copy' user=request.user as enable_uuid_copy %}

Expand Down
4 changes: 2 additions & 2 deletions variants/templates/variants/case_update_terms.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<li class="breadcrumb-item active">Update</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
{% get_app_setting 'userprofile' 'enable_project_uuid_copy' user=request.user as enable_uuid_copy %}

<div class="row sodar-subtitle-container">
Expand Down Expand Up @@ -149,4 +149,4 @@ <h3>Update Terms for Case {{ object.name }}</h3>
</div>
</div>

{% endblock projectroles %}
{% endblock projectroles_extend %}
2 changes: 1 addition & 1 deletion variants/templates/variants/distiller_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<li class="breadcrumb-item active">{{ object.bg_job.name }}</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down
2 changes: 1 addition & 1 deletion variants/templates/variants/export_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<li class="breadcrumb-item active">{{ object.bg_job.name }}</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<li class="breadcrumb-item active">{{ object.bg_job.name }}</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down
20 changes: 10 additions & 10 deletions variants/templates/variants/filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
{% else %}
<li class="breadcrumb-item active">Joint Filtration</li>
{% endif %}
{% endblock %}

{% block projectroles %}
{% get_app_setting 'userprofile' 'enable_project_uuid_copy' user=request.user as enable_uuid_copy %}
{% endblock navi_sub_project_extend %}

{% block css %}
{{ block.super }}
Expand Down Expand Up @@ -128,18 +125,21 @@
text-align: center;
}

.variant-row-positive { background-color: {% get_row_bgcolor "pathogenic" %}; }
.variant-row-uncertain { background-color: {% get_row_bgcolor "uncertain" %}; }
.variant-row-negative { background-color: {% get_row_bgcolor "benign" %}; }
.variant-row-wip { background-color: {% get_row_bgcolor "wip" %}; }
.variant-row-positive { background-color: {% get_row_bgcolor "pathogenic" %} !important; }
.variant-row-uncertain { background-color: {% get_row_bgcolor "uncertain" %} !important; }
.variant-row-negative { background-color: {% get_row_bgcolor "benign" %} !important; }
.variant-row-wip { background-color: {% get_row_bgcolor "wip" %} !important; }

.warning-conflict .hidden { display: none; }

.compact-form-groups .form-group {
margin-bottom: 0;
}
</style>
{% endblock %}
{% endblock css %}

{% block projectroles_extend %}
{% get_app_setting 'userprofile' 'enable_project_uuid_copy' user=request.user as enable_uuid_copy %}

<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
Expand Down Expand Up @@ -200,7 +200,7 @@ <h2 class="sodar-pr-content-title">
<div id="resultsTable" data-loaded="false">
</div>

{% endblock projectroles %}
{% endblock projectroles_extend %}

{% block javascript %}
{{ block.super }}
Expand Down
2 changes: 1 addition & 1 deletion variants/templates/variants/filter_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% endif %}
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down
2 changes: 1 addition & 1 deletion variants/templates/variants/import_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<li class="breadcrumb-item active">{{ object.bg_job.name }}</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down
2 changes: 1 addition & 1 deletion variants/templates/variants/maintenance_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Global Background Job: {{ object.bg_job.name }}
{% endblock title %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
<h2 class="sodar-pr-content-title">
Global Maintenance Job
Expand Down
4 changes: 2 additions & 2 deletions variants/templates/variants/project_stats_job_create.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<li class="breadcrumb-item active">Recreate Project-Wide Statistics</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}

<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
Expand Down Expand Up @@ -41,4 +41,4 @@ <h2 class="sodar-pr-content-title">
</form>
</div>

{% endblock projectroles %}
{% endblock projectroles_extend %}
2 changes: 1 addition & 1 deletion variants/templates/variants/project_stats_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<li class="breadcrumb-item active">{{ object.bg_job.name }}</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down
2 changes: 1 addition & 1 deletion variants/templates/variants/spanr_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<li class="breadcrumb-item active">{{ object.bg_job.name }}</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down
4 changes: 2 additions & 2 deletions variants/templates/variants/sync_job_create.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<li class="breadcrumb-item active">Synchronise with Upstream</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}

<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
Expand Down Expand Up @@ -41,4 +41,4 @@ <h2 class="sodar-pr-content-title">
</form>
</div>

{% endblock projectroles %}
{% endblock projectroles_extend %}
2 changes: 1 addition & 1 deletion variants/templates/variants/sync_job_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<li class="breadcrumb-item active">{{ object.bg_job.name }}</li>
{% endblock %}

{% block projectroles %}
{% block projectroles_extend %}
<div class="row sodar-pr-content-title pb-2">
{# Project menu dropdown, only visible if browser width < X and sidebar is hidden #}
{% include 'projectroles/_project_menu_btn.html' %}
Expand Down

0 comments on commit 31cbe7e

Please sign in to comment.