multisig rhai flow POC app
This commit is contained in:
28
flowbroker/templates/index.html
Normal file
28
flowbroker/templates/index.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Flowbroker - Flows</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Active Flows</h1>
|
||||
<a href="/flows/new">Create New Flow</a>
|
||||
<div id="flows-list">
|
||||
{% if flows %}
|
||||
<ul>
|
||||
{% for flow in flows %}
|
||||
<li>
|
||||
<strong>{{ flow.name }}</strong> (UUID: {{ flow.flow_uuid }}) - Status: {{ flow.status }}
|
||||
<br>
|
||||
Created: {{ flow.base_data.created_at | date(format="%Y-%m-%d %H:%M:%S") }} <!-- Assuming created_at is a Unix timestamp -->
|
||||
<p><a href="/flows/{{ flow.flow_uuid }}">View Details</a></p> <!-- Link uses flow_uuid -->
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>No active flows. <a href="/flows/new">Create one?</a></p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user