Régis Behmo 35554c2cc2 Working PoC of calling tutor asynchronousl
This is ugly, though, because we are calling tutor via subprocess.
Instead, we should be calling cli() in a separate thread.
2024-11-27 11:24:51 +01:00

12 lines
383 B
HTML

<ul>
{% for plugin in installed_plugins %}
<li><a href="{{ url_for('plugin', name=plugin) }}">{{ plugin }}</a></li>
{% endfor %}
<form action="{{ url_for('tutor_cli') }}" method="POST">
<input type="hidden" name="args[]" value="local">
<input type="hidden" name="args[]" value="launch">
<button type="submit">Apply changes</button>
</form>
</ul>