Commit 5364a515 authored by Vladislav Rykov's avatar Vladislav Rykov
Browse files

add new device view changed

parent 9fbc6a2b
......@@ -5,23 +5,26 @@
{% block content %}
<div class="row">
<div class="col-md-6 col-md-offset3">
<div class="col-md-6 col-md-offset-3">
<h2> Add New Device </h2>
<br><br>
<form action="dev" method="post">
<div class="form-group">
<label>Name:</label><br>
<input type="text" id="devname" name="devname"><br>
<input type="text" class="form-control" id="devname" name="devname" required><br>
</div>
<div class="form-group">
<label>Description:</label><br>
<textarea id="devdesc" name="devdesc" cols="40" rows="5"></textarea>
<textarea id="devdesc" class="form-control" name="devdesc" cols="40" rows="5"></textarea>
</div>
<br>
<div class="form-group">
<label>dev_id: {{ free_ids }}</label><br>
<input type="text" id="devid" name="devid"><br>
<input type="text" class="form-control" id="devid" name="devid" required><br>
</div>
<br>
<div class="form-group">
<button type="submit" class="btn btn-primary">Add</button>
<button type="submit" class="btn btn-primary">Add New Device</button>
</div>
{% if feedback %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment