feature: web: save project

This commit is contained in:
Dobin
2024-03-07 18:50:24 +00:00
parent c80dadd4d9
commit 1fe18c4c64
3 changed files with 21 additions and 12 deletions
+8 -2
View File
@@ -12,14 +12,18 @@
<div class="container-fluid">
<div class="row">
<!-- a bootstrap dropdown to select one of the log files -->
<div class="col-md-3">
<form method="POST" enctype="multipart/form-data" action="/add_project">
<div class="row row-cols-lg-auto g-3">
<input type="text" name="project_name" class="hidden form-control" value="{{project_name}}"
placeholder="Projekt" aria-label="PROJECTNAME" aria-describedby="basic-addon1">
<select class="form-select" name="shellcode" aria-label="SHELLCODE">
{% for shellcode in shellcodes %}
@@ -80,6 +84,8 @@
{% endfor %}
</select>
<button class="btn btn-primary" type="submit" value="save">Save</button>
</div>
</form>