usrp_rx_conf.html
29 lines
| 656 B
| text/html
|
HtmlDjangoLexer
|
r23 | {% extends "dev_conf.html" %} | |
{% load static %} | |||
r335 | {% load bootstrap4 %} | ||
|
r45 | {% load main_tags %} | |
|
r25 | ||
|
r328 | {% block content-detail %} | |
r346 | <h2>USRP Rx</h2> | ||
|
r328 | <table class="table table-bordered"> | |
<tr> | |||
<th>Status</th> | |||
<td class="text-{{dev_conf.device.status_color}}"><strong>{{dev_conf.device.get_status_display}}</strong></td> | |||
</tr> | |||
{% for key in dev_conf_keys %} | |||
<tr> | |||
<th>{% get_verbose_field_name dev_conf key %}</th> | |||
<td>{{dev_conf|attr:key}}</td> | |||
</tr> | |||
{% endfor %} | |||
</table> | |||
{% endblock %} | |||
|
r157 | {% block extra-js%} | |
<script type="text/javascript"> | |||
$("#bt_toggle").click(function() { | |||
$(".panel-collapse").collapse('toggle') | |||
}); | |||
</script> | |||
{% endblock %} |