Commit dfecfeec authored by Vladislav Rykov's avatar Vladislav Rykov
Browse files

device view improved

parent 8f44b983
...@@ -6,15 +6,39 @@ ...@@ -6,15 +6,39 @@
<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>Name: {{ dev[0] }} </p> <div class="panel panel-success">
<p>dev_id: {{ dev[1] }} </p> <div class="panel-heading">
<p>app-key: {{ appkey }} </p> <center><h2> {{ dev[0] }} </h2></center>
<p>Description : {{ dev[2] }} </p> </div>
<p>Last time up : {{ ltup }} </p> <div class="panel-body">
<table class="table table-hover">
<tbody>
<tr>
<th> dev_id </th>
<th> {{ dev[1] }} </th>
</tr>
<tr>
<th> app-key </th>
<th> {{ appkey }} </th>
</tr>
<tr>
<th> Description </th>
<th> {{ dev[2] }} </th>
</tr>
<tr>
<th> Last time up </th>
<th><strong> {{ ltup }} </strong></th>
</tr>
</tbody>
</table>
<a href="/dev-data"><button type="submit" class="btn btn-primary">Data</button></a> <center>
<a href="/dev-conf"><button type="submit" class="btn btn-primary">Configure</button></a> <a href="/dev-data"><button type="submit" class="btn btn-primary">Data</button></a>
<a href="/delete-dev"><button type="submit" class="btn btn-danger" onclick="return conf();">Delete Device</button></a> <a href="/dev-conf"><button type="submit" class="btn btn-primary">Configure</button></a>
<a href="/delete-dev"><button type="submit" class="btn btn-danger" onclick="return conf();">Delete Device</button></a>
</center
</div>
</div>
</div> </div>
</div> </div>
......
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