adds device generation and connection
- fingerprint generated first time device connects - saved to database and served to device - connection status set to true, once device requests first package - user can link device via online form
This commit is contained in:
@ -37,6 +37,9 @@
|
||||
<div style="width: 7rem; margin: 1rem">{{ form.deviceName.label }}</div>
|
||||
<div style="width: 12rem; margin: 1rem">{{ form.deviceName(size=24) }}</div>
|
||||
<div style="with: 7rem; margin: 1rem">{{ form.submit() }}</div>
|
||||
{% for error in form.deviceName.errors %}
|
||||
<span style="color: red;">[{{ error }}]</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
Reference in New Issue
Block a user