You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
<script>
|
|
$(document).ready(function() {
|
|
$.ajax({
|
|
url:'{{ web_admin_ajax_url }}?a=version',
|
|
success:function(version){
|
|
$(".admin-block-version").html(version);
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
|
|
<div id="settings">
|
|
<div class="row">
|
|
{% for block_item in blocks %}
|
|
<div id="tabs-{{ loop.index }}" class="span6">
|
|
<div class="well_border {{ block_item.class }}">
|
|
<h4>{{ block_item.icon }} {{ block_item.label }}</h4>
|
|
<div style="list-style-type:none">
|
|
{{ block_item.search_form }}
|
|
</div>
|
|
{% if block_item.items is not null %}
|
|
<ul>
|
|
{% for url in block_item.items %}
|
|
<li>
|
|
<a href="{{ url.url }}">
|
|
{{ url.label }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
{% if block_item.extra is not null %}
|
|
<div>
|
|
{{ block_item.extra }}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
|