+ web_app

This commit is contained in:
oleting
2021-01-14 14:01:02 +01:00
parent f0547890c1
commit b045869591
11 changed files with 21 additions and 20 deletions

View File

@@ -0,0 +1,33 @@
{% extends 'layout.html' %}
{% block content %}
<div class="content-section">
{{ form.hidden_tag() }}
<div class="media">
<div class="media-body">
<p>WARNING Because the Interpreter is still WIP, some Java language features are not supported. These include:
*foreach loops (will throw JavaSyntaxError)
*constructors (will be ignored)
*switch statements
Please remove these features from the source code as they will result in incorrect behaviour</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 Datei 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 %}