automation: establish an automation framework
This commit is contained in:
parent
1b53bf451c
commit
8abe5d60fa
31 changed files with 586 additions and 274 deletions
16
app/portal/templates/automation.html.j2
Normal file
16
app/portal/templates/automation.html.j2
Normal file
|
@ -0,0 +1,16 @@
|
|||
{% extends "base.html.j2" %}
|
||||
{% from 'bootstrap5/form.html' import render_form %}
|
||||
{% from "tables.html.j2" import automation_logs_table %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="h2 mt-3">Automation Job</h1>
|
||||
<h2 class="h3">{{ automation.description }} ({{ automation.short_name }})</h2>
|
||||
|
||||
<div style="border: 1px solid #666;" class="p-3">
|
||||
{{ render_form(form) }}
|
||||
</div>
|
||||
|
||||
<h3>Logs</h3>
|
||||
{{ automation_logs_table(automation.logs) }}
|
||||
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue