feature: web: start

This commit is contained in:
Dobin
2024-03-07 19:13:25 +00:00
parent 1fe18c4c64
commit 573658e7a0
3 changed files with 32 additions and 14 deletions
+6 -3
View File
@@ -18,7 +18,6 @@
<div class="col-md-3">
<form method="POST" enctype="multipart/form-data" action="/add_project">
<div class="row row-cols-lg-auto g-3">
@@ -64,7 +63,7 @@
{% for name, value in decoderstyles %}
<option value="{{name}}"
{% if value in project.settings.decoder_style.value %} selected {% endif %}
>{{value}} // {{project.settings.decoder_style.value}}</option>
>{{value}}</option>
{% endfor %}
</select>
@@ -85,10 +84,14 @@
</select>
<button class="btn btn-primary" type="submit" value="save">Save</button>
</div>
</form>
<form method="POST" enctype="multipart/form-data" action="/start_project">
<input type="hidden" name="project_name" value="{{project_name}}">
<button class="btn btn-primary" type="submit" value="start">Start</button>
</form>
</div>
</div>
</div>