Working now
{% for job in running %}
{% call m.row(job.name, job.state,
[("step", job.current_step), ("progress", job.progress ~ "/" ~ job.total_steps),
("started", job.started)], "/activity", "row-" ~ job.id,
none, job.status) %}
{{ m.follow_button("Logs", job.name, job.log_url) }}
{% endcall %}
{% endfor %}
{% endif %}
Applications
{% if apps %}
{% for app in apps %}
{% call m.row(app.domain, app.state, app.meta, app.href, "row-" ~ app.id,
none, app.state_text) %}
{{ m.follow_button("Logs", app.domain, app.log_url) }}
{{ m.action_button("Restart", app.restart_endpoint) }}
{% endcall %}
{% endfor %}
{% else %}
{{ m.empty(
"No applications yet",
"Deploy one from a Git repository, an archive or a local directory.",
command="wasm create -d example.com -s https://github.com/you/app") }}
{% endif %}