Added title feature from config
This commit is contained in:
parent
fe7897bd8b
commit
8d3a915f0a
|
|
@ -1,7 +1,7 @@
|
||||||
<div class="col-md-6 col-sm-6 col-xs-12">
|
<div class="col-md-6 col-sm-6 col-xs-12">
|
||||||
<div class="x_panel">
|
<div class="x_panel">
|
||||||
<div class="x_title">
|
<div class="x_title">
|
||||||
<h2>Camera System</h2>
|
<h2 id="s_title_{{ count }}">Camera System</h2>
|
||||||
<ul class="nav navbar-right panel_toolbox">
|
<ul class="nav navbar-right panel_toolbox">
|
||||||
<li><a class="close-link"><i class="fa fa-close"></i></a>
|
<li><a class="close-link"><i class="fa fa-close"></i></a>
|
||||||
</li>
|
</li>
|
||||||
|
|
@ -10,14 +10,16 @@
|
||||||
</div>
|
</div>
|
||||||
<div style=";overflow: hidden">
|
<div style=";overflow: hidden">
|
||||||
<br>
|
<br>
|
||||||
|
<script> console.log("{{ blockArray[count] }}");</script>
|
||||||
{% for k, v in blockArray[count]["camera"].iteritems() %}
|
{% for k, v in blockArray[count]["camera"].iteritems() %}
|
||||||
|
{% if v[1] %}
|
||||||
|
<script> $('#s_title_{{ count }}').html("{{ v[1] }}");</script>
|
||||||
|
{% endif %}
|
||||||
<form class="form-horizontal form-label-left" style="width: 80%; height: 80%; ">
|
<form class="form-horizontal form-label-left" style="width: 80%; height: 80%; ">
|
||||||
<div class="form-group" style="">
|
<div class="form-group" style="">
|
||||||
<label class=""> {{ k }}</label>
|
<label class=""> {{ k }}</label>
|
||||||
<br>
|
<br>
|
||||||
<img id="cam_{{ count }}" style="-webkit-user-select: none; width: 100%; height: 100%; " src="{{v[0]|replace('&', '&')}}" >
|
<img id="cam_{{ count }}" style="-webkit-user-select: none; width: 100%; height: 100%; " src="{{v[0]|replace('&', '&')}}" >
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue