Commit 6650f9cd authored by Vladislav Rykov's avatar Vladislav Rykov
Browse files

application appearance changed

parent a64b8045
...@@ -6,23 +6,44 @@ ...@@ -6,23 +6,44 @@
<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: {{ app[0] }} </p> <div class="panel panel-primary">
<p>Description : {{ app[3] }} </p> <div class="panel-heading">
<p>app-key: {{ app[1] }} </p> <h2><center> {{ app[0] }} </center></h2>
</div>
<div class="panel-body">
<table class="table table-hover">
<tbody>
<tr>
<th>Description</th>
<th> {{ app[3] }} </th>
</tr>
<tr>
<th>app-key</th>
<th> {{ app[1] }} </th>
</tr>
</tbody>
</table>
</div>
<p>Devices:</p>
{% if devs %} {% if devs %}
<ol> <h3><center>Devices:</center></h3>
<ol class="list-group">
{% for dev in devs %} {% for dev in devs %}
<li><a href="/dev?id={{ dev[1] }}"> {{ dev[0] }} </a></li> <a href="/dev?id={{ dev[1] }}"><li class="list-group-item"><strong> {{ dev[0] }} <strong></li></a>
{% endfor %} {% endfor %}
</ol> </ol>
{% else %} {% else %}
<p> No registed devices </p> <h3> No registed devices </h3>
{% endif %} {% endif %}
<br><br>
<center>
<a href="/add-dev"><button type="submit" class="btn btn-primary">Add Device</button></a> <a href="/add-dev"><button type="submit" class="btn btn-primary">Add Device</button></a>
<a href="/delete-app"><button type="submit" class="btn btn-danger" onclick="return conf();">Delete Application</button></a> <a href="/delete-app"><button type="submit" class="btn btn-danger" onclick="return conf();">Delete Application</button></a>
</center>
<br>
</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