sidebar_devices.html
26 lines
| 708 B
| text/html
|
HtmlDjangoLexer
|
r172 | |||
|
r85 | {% if experiment %} | ||
r368 | <div class="panel panel-default"> | |||
<div class="panel-heading"> | ||||
<h4>Configurations</h4> | ||||
</div> | ||||
<div class="list-group"> | ||||
{% for item in side_configurations %} | ||||
<a href="{{item.get_absolute_url}}" class="list-group-item">{{item}}</a> | ||||
{% endfor %} | ||||
|
r17 | </div> | ||
r368 | </div> | |||
|
r17 | {% endif %} | ||
|
r172 | |||
|
r85 | {% if dev_conf %} | ||
|
r17 | <div class="panel panel-default"> | ||
<div class="panel-heading"> | ||||
<h4>Device Configurations</h4> | ||||
</div> | ||||
|
r172 | <div class="list-group"> | ||
|
r85 | {% for item in side_configurations %} | ||
|
r96 | <a href="{{item.get_absolute_url}}" class="list-group-item {%if item.id == dev_conf.id%}active{%endif%}">{{item}}</a> | ||
|
r17 | {% endfor %} | ||
</div> | ||||
</div> | ||||
{% endif %} | ||||