portal: add alarms to origin view
This commit is contained in:
parent
36b20f392a
commit
a4144671a5
1 changed files with 8 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
{% extends "base.html.j2" %}
|
||||
{% from 'bootstrap5/form.html' import render_form %}
|
||||
{% from "tables.html.j2" import proxies_table %}
|
||||
{% from "tables.html.j2" import alarms_table, bridges_table, proxies_table %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="h2 mt-3">Origins</h1>
|
||||
|
@ -14,7 +14,14 @@
|
|||
{{ render_form(form) }}
|
||||
</div>
|
||||
|
||||
{% if origin.alarms %}
|
||||
<h3>Alarms</h3>
|
||||
{{ alarms_table(origin.alarms) }}
|
||||
{% endif %}
|
||||
|
||||
{% if origin.proxies %}
|
||||
<h3>Proxies</h3>
|
||||
{{ proxies_table(origin.proxies) }}
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue