Added title feature from config

This commit is contained in:
Squandor 2017-01-02 10:46:46 +01:00
parent fe7897bd8b
commit 8d3a915f0a
1 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<div class="col-md-6 col-sm-6 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Camera System</h2>
<h2 id="s_title_{{ count }}">Camera System</h2>
<ul class="nav navbar-right panel_toolbox">
<li><a class="close-link"><i class="fa fa-close"></i></a>
</li>
@ -10,14 +10,16 @@
</div>
<div style=";overflow: hidden">
<br>
<script> console.log("{{ blockArray[count] }}");</script>
{% 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%; ">
<div class="form-group" style="">
<label class=""> {{ k }}</label>
<label class=""> {{ k }}</label>
<br>
<img id="cam_{{ count }}" style="-webkit-user-select: none; width: 100%; height: 100%; " src="{{v[0]|replace('&amp;', '&')}}" >
</div>
</form>
{% endfor %}