##// END OF EJS Templates
Experiment detail view update
Experiment detail view update

File last commit:

r350:c2b9b4d3a22d
r365:24b24259841b
Show More
generator_conf.html
29 lines | 658 B | text/html | HtmlDjangoLexer
{% extends "dev_conf.html" %}
{% load static %}
{% load bootstrap4 %}
{% load main_tags %}
{% block content-detail %}
<h2>Generator</h2>
<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 %}
{% block extra-js%}
<script type="text/javascript">
$("#bt_toggle").click(function() {
$(".panel-collapse").collapse('toggle')
});
</script>
{% endblock %}