Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix result rows not colored anymore. #132

Merged
merged 1 commit into from
May 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
1 change: 0 additions & 1 deletion cohorts/templates/cohorts/cohort_update.html
Original file line number Diff line number Diff line change
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 %}

<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
8 changes: 4 additions & 4 deletions variants/templates/variants/case_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ <h2 class="sodar-pr-content-title">
</div>
</div>

{% endblock %}

{% block javascript %}
{{ block.super }}
<script type="text/javascript">
// Load data after the page has loaded
$(function() {
Expand All @@ -139,10 +143,6 @@ <h2 class="sodar-pr-content-title">
})
})
</script>
{% endblock %}

{% block javascript %}
{{ block.super }}
<script type="text/javascript" src="{% static 'js/qc_plots.js' %}"></script>
<script type="text/javascript" src="{% static 'js/helpers.js' %}"></script>
<script type="text/javascript" src="{% static 'js/variant_comments.js' %}"></script>
Expand Down
18 changes: 9 additions & 9 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 %}
{% 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