+ add Web App (WIP)

This commit is contained in:
oleting
2021-01-13 22:30:45 +01:00
parent a47f2c06ac
commit cd128cbe5c
9 changed files with 210 additions and 7 deletions

29
Web/templates/upload.html Normal file
View File

@@ -0,0 +1,29 @@
{% extends 'layout.html' %}
{% block content %}
<div class="content-section">
{{ form.hidden_tag() }}
<div class="media">
<div class="media-body">
<p>Test Page</p>
</div>
</div>
<form method='Post' action='' enctype="multipart/form-data">
{{ form.hidden_tag() }}
<fieldset class="form-group">
<legend class="border-bottom mb-4">.java hochladen:</legend>
<div class="form-group">
{{ form.java.label() }}
{{ form.java(class="form-control-file") }}
{% if form.java.errors %}
{% for error in form.java.errors %}
<span class="text-danger">{{ error }}</span></br>
{% endfor %}
{% endif %}
</div>
<div class="form-group">
{{ form.submit(class="btn-outline-info") }}
</div>
</fieldset>
</form>
</div>
{% endblock content %}