add rcr platform changes

This commit is contained in:
Ross
2024-05-18 17:31:33 +01:00
parent 741b8683c9
commit 62f7663461
12 changed files with 213 additions and 4 deletions
+3
View File
@@ -76,6 +76,9 @@
<body hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'>
<div class="main-nav-header">
<span id="" class="top-bar-link">
<a href="{% url 'rcr:radiology_results' %}">Results</a>
</span>
<span id="" class="top-bar-link">
<a href="{% url 'rcr:radiology_index_all_view' %}">All</a>
</span>
+6
View File
@@ -9,6 +9,12 @@
{{category}}
{% endfor %}
</p>
<p>Radiology Condition:
{% for condition in object.radiology_condition.all %}
{{condition}}
{% endfor %}
</p>
<p>Oncology Category: {{object.oncology_category}}</p>
<p>
+81
View File
@@ -0,0 +1,81 @@
{% extends 'rcr/base.html' %}
{% block content %}
<table>
<thead>
<tr>
<th>Name</th>
<th>ID</th>
<th>Outcome</th>
<th>Outcome (reason)</th>
<th>Outcome (free text)</th>
</tr>
</thead>
<tbody>
{% for item in items %}
<tr>
<td>{{item.name}}</td>
<td>{{item.rcr_platform_id}}</td>
<td>{{item.outcome}}</td>
<td>{{item.outcome_reason}}</td>
<td>{{item.outcome_free_text}}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}
{% block css %}
<style type="text/css">
.review::after {
content: '(R)';
color: orange;
}
.completed-radiology::after {
content: '✓';
color: green;
}
.completed-oncology::after {
content: '✓';
color: blue;
}
.completed-oncology.completed-radiology::after {
content: '✓';
color: purple;
}
.completed::after {
content: '✓';
color: green;
}
.Radiology::before {
content: "R";
}
.Radiology {
color: green;
}
.Oncology::before {
content: "O";
}
.Oncology {
color: blue;
}
.Cross-faculty::before {
content: "C";
}
.Cross-faculty {
color: purple;
}
td {
padding-right: 10px;
}
* {
box-sizing: unset;
}
</style>
{% endblock css %}