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

config device view changed

parent 5364a515
...@@ -6,16 +6,19 @@ ...@@ -6,16 +6,19 @@
<div class="row"> <div class="row">
<div class="col-md-6 col-md-offset-3"> <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"> <form action="dev-conf" method="post">
<div class="form-group"> <div class="form-group">
<label>Config ID:</label><br> <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> </div>
<br>
<div class="form-group"> <div class="form-group">
<label>Argument:</label><br> <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> </div>
<br><br>
<div class="form-group"> <div class="form-group">
<button type="submit" class="btn btn-primary">Configure</button> <button type="submit" class="btn btn-primary">Configure</button>
</div> </div>
......
...@@ -31,7 +31,8 @@ ...@@ -31,7 +31,8 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<br><br>
<center> <center>
<a href="/dev-data"><button type="submit" class="btn btn-primary">Data</button></a> <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> <a href="/dev-conf"><button type="submit" class="btn btn-primary">Configure</button></a>
......
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
<div class="row"> <div class="row">
<div class="col-md-6 col-md-offset-3"> <div class="col-md-6 col-md-offset-3">
<h2> New application </h2> <h2> New Application </h2>
<br><br> <br><br>
<form action="app" method="post"> <form action="app" method="post">
<div class="form-group"> <div class="form-group">
<label>Name:</label><br> <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>
<div class="form-group"> <div class="form-group">
<label>Description:</label><br> <label>Description:</label><br>
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</div> </div>
<br> <br>
<div class="form-group"> <div class="form-group">
<button type="submit" class="btn btn-primary">Create</button> <button type="submit" class="btn btn-primary">Create Application</button>
</div> </div>
{% if feedback %} {% 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