ioc-invicta/web/templates/data/add.html

21 lines
559 B
HTML
Raw Permalink Normal View History

2023-11-19 13:03:35 +01:00
{% for message in get_flashed_messages() %}
<div class="flash">{{ message }}</div>
<br>
{% endfor %}
<form method="POST">
<label for="device_id">deviceID:</label>
<br>
<input name="device_id" id="device_id" required>
<br><br>
<label for="sensor_type">sensor type:</label>
<br>
<input name="sensor_type" id="sensor_type" required>
<br><br>
<label for="data">data:</label>
<br>
<input type="number" name="data" id="data" required>
<br><br>
<button type="submit">add</button>
<a href="{{ url_for('data.view_all') }}">back</a>
</form>