{% extends "layout.html" %} {% block title %}OptiWarm - Manage {{ location.name }}{% endblock %} {% block head %} {% endblock %} {% block content %}
{{ location.description if location.description else 'No description' }}
| Fuel Type | Unit | Price per Unit |
|---|---|---|
| {{ fuel.name }} | {{ fuel.unit_name }} | {% if fuel.price_per_unit is not none %} {{ "%.4f"|format(fuel.price_per_unit) }} EUR {% else %} N/A {% endif %} |
| Active | Boiler Name | Status |
|---|---|---|
| {{ boiler.name }} | {% if boiler.is_maitenance %} Maintenance {% elif boiler.is_active %} Active {% else %} Inactive {% endif %} |
| Zone Name | Place Type | Status | Warming Rule Type | Min Required Temp | Max Required Temp | Time Period |
|---|---|---|---|---|---|---|
| {{ zone_info.zone.name }} | {{ zone_info.place_type }} | {% if zone_info.zone.active %} Active {% else %} Inactive {% endif %} | {% if zone_info.has_rule and zone_info.rule_type %} {{ zone_info.rule_type }} {% else %} No active rule {% endif %} | {% if zone_info.min_temp is not none %} {{ "%.1f"|format(zone_info.min_temp) }}°C {% else %} - {% endif %} | {% if zone_info.max_temp is not none %} {{ "%.1f"|format(zone_info.max_temp) }}°C {% else %} - {% endif %} | {% if zone_info.time_range %} {{ zone_info.time_range }} {% else %} - {% endif %} |
| Fuel Type | Available Quantity |
|---|---|
| {{ fuel.fuel_name }} | {{ fuel.total_units }} {{ fuel.unit_name }} |
| Boiler Name | Operating Time | Total Cost |
|---|---|---|
| {{ bc.boiler.name }} {% if bc.is_active %} {% endif %} | {{ "%.2f"|format(bc.total_hours) }} h | €{{ "%.2f"|format(bc.total_cost) }} |
| TOTAL | {{ "%.2f"|format(total_hours_all) }} h | €{{ "%.2f"|format(total_cost_all) }} |
| Timestamp | Event Type | Boiler | Description |
|---|---|---|---|
| {{ event.timestamp.strftime('%Y-%m-%d %H:%M:%S') }} | {% if event.event_type == 'boiler_start' %} {{ event.event_type_display }} {% if event.is_ongoing %} Ongoing {% endif %} {% elif event.event_type == 'boiler_stop' %} {{ event.event_type_display }} {% elif event.event_type == 'maintenance_start' %} {{ event.event_type_display }} {% if event.is_ongoing %} Ongoing {% endif %} {% if not event.is_enabled %} Disabled {% endif %} {% elif event.event_type == 'maintenance_end' %} {{ event.event_type_display }} {% endif %} | {{ event.boiler_name }} | {{ event.description }} |