diff --git a/src/biomon/templates/biomon/patient_detail.html b/src/biomon/templates/biomon/patient_detail.html index adb0245..2b53dc4 100644 --- a/src/biomon/templates/biomon/patient_detail.html +++ b/src/biomon/templates/biomon/patient_detail.html @@ -23,6 +23,7 @@
  • {% trans "Profile" %}
  • {% trans "Alerts" %}
  • {% trans "Monitoring profile" %}
  • +
  • {% trans "Manual checking" %}
  • @@ -220,5 +221,65 @@
    +
    +
    +
    +
    {% csrf_token %} + {% trans "Temperature" %} + {{ forms.t_check.as_p }} + +
    +
    {% csrf_token %} + {% trans "Heartrate" %} + {{ forms.hr_check.as_p }} + +
    +
    +
    + {% if t_checks %} +
    + {% trans "Temperature" %} + + + + + + {% for check_m, check_a in t_checks %} + + + + + + + + + {% endfor %} +
    {% trans "Manual checks" %}{% trans "Automatic checks" %}
    {{ check_m.date|date:"d/m/Y" }}{{ check_m.time }}{{ check_m.value }} {% trans "°C" %}{% if check_a %}{{ check_a.0.date|date:"d/m/Y" }}{% endif %}{% if check_a %}{{ check_a.0.time }}{% endif %}{% if check_a %}{{ check_a.1 }} {% trans "°C" %}{% endif %}
    +
    + {% endif %} + {% if hr_checks %} +
    + {% trans "Heartrate" %} + + + + + + {% for check_m, check_a in hr_checks %} + + + + + + + + + {% endfor %} +
    {% trans "Manual checks" %}{% trans "Automatic checks" %}
    {{ check_m.date|date:"d/m/Y" }}{{ check_m.time }}{{ check_m.value }} {% trans "PPM" %}{% if check_a %}{{ check_a.0.date|date:"d/m/Y" }}{% endif %}{% if check_a %}{{ check_a.0.time }}{% endif %}{% if check_a %}{{ check_a.1 }} {% trans "PPM" %}{% endif %}
    +
    + {% endif %} +
    +
    +
    {% endblock %}