plotter app
This commit is contained in:
42
plotter-app/templates/form.html
Normal file
42
plotter-app/templates/form.html
Normal file
@@ -0,0 +1,42 @@
|
||||
{% extends "index.html" %}
|
||||
{% block content%}
|
||||
|
||||
|
||||
<div class="form-block">
|
||||
|
||||
|
||||
<form action="/text" method="post" enctype="multipart/form-data" >
|
||||
|
||||
<p>Text:</p>
|
||||
<p><textarea type="text" name="txt" placeholder="Enter your text here"></textarea> </p>
|
||||
|
||||
|
||||
<p><input type="submit" value="Submit"/></p>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
<form action="/svg_file" method="post" enctype="multipart/form-data" >
|
||||
|
||||
<label for="file">Upload SVG File:</label>
|
||||
<input type="file" id="file" name="file" accept="image/svg" required/>
|
||||
|
||||
<p><input type="submit" value="Submit"/></p>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
<form action="/gcode_file" method="post" enctype="multipart/form-data" >
|
||||
|
||||
<label for="file">Upload Gcode File:</label>
|
||||
<input type="file" id="file" name="file" accept="gcode" required/>
|
||||
|
||||
<p><input type="submit" value="Submit"/></p>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user