<tbody class="tbody-id">
{% for row in rows %}
{% set lindex = loop.index %}
<tr class="{{row.__auto_set}}">
{% for k,v in orders %}
<td {% if in_array(k, ['id', '_deal_name']) %} %}width="1"{% endif %} style="position:relative">
{% if k == 'num' %}
<span class="num">{{ ((page-1) * pagelimit) + lindex }}</span>
{% elseif k == 'id' %}
<a class="btn btn-primary" data-id="{{row.id}}" role="button" data-toggle="modal" href="#modal-example">узнать айди</a>
<div class="edit"><a href="{{url}}?edit={{row.id}}">{{row[k]}}</a></div>
{% endif %}
</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
<script>
$('.nav-pills a').each(function(){
let location = window.location.protocol + '//' + window.location.host + window.location.pathname;
let link = this.href;
if(link == location){
$(this).addClass('active');
}
});
</script>
<li class="active parent"><a href=""><i class="fa fa-suitcase"></i> <span>UI Elements</span></a>
<ul class="children">
<li><a href="alerts.html">Alerts & Notifications</a></li>
<li class="active"><a href="buttons.html">Buttons</a></li>
получить данные со страницы yandex.r*
Это делается через локальное хранилище?
видел способ как-то через message,
его нужно на клиенте получить в момент открытия окна и прописать