This is ugly, though, because we are calling tutor via subprocess. Instead, we should be calling cli() in a separate thread.
12 lines
383 B
HTML
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>
|