Commit 310b22f1 authored by Vladislav Rykov's avatar Vladislav Rykov
Browse files

config device view changed

parent 5364a515
......@@ -6,16 +6,19 @@
<div class="row">
<div class="col-md-6 col-md-offset-3">
<p> Device name : {{ devname }}
<h2> Configure Device: {{ devname }} </h2>
<br><br>
<form action="dev-conf" method="post">
<div class="form-group">
<label>Config ID:</label><br>
<input type="text" id="confid" name="confid"><br>
<input type="text" class="form-control" id="confid" name="confid" required></textarea>
</div>
<br>
<div class="form-group">
<label>Argument:</label><br>
<input type="text" id="arg" name="arg"><br>
<textarea type="text" class="form-control" id="arg" name="arg" rows="2" reqiured></textarea>
</div>
<br><br>
<div class="form-group">
<button type="submit" class="btn btn-primary">Configure</button>
</div>
......
......@@ -32,6 +32,7 @@
</tbody>
</table>
<br><br>
<center>
<a href="/dev-data"><button type="submit" class="btn btn-primary">Data</button></a>
<a href="/dev-conf"><button type="submit" class="btn btn-primary">Configure</button></a>
......
......@@ -6,12 +6,12 @@
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h2> New application </h2>
<h2> New Application </h2>
<br><br>
<form action="app" method="post">
<div class="form-group">
<label>Name:</label><br>
<input type="text" class="form-control" id="appname" name="appname"><br>
<input type="text" class="form-control" id="appname" name="appname" required><br>
</div>
<div class="form-group">
<label>Description:</label><br>
......@@ -19,7 +19,7 @@
</div>
<br>
<div class="form-group">
<button type="submit" class="btn btn-primary">Create</button>
<button type="submit" class="btn btn-primary">Create Application</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